- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Running Application in Background under Korn Shell...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 10:42 AM
09-26-2001 10:42 AM
Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
I'm not looking for a solution (I realize that's impossible given the relative lack of details,) rather for someone to point me in the right direction. Are there any major differences with background apps that I don't relize? Perhaps something to do with stack size or thread stack size for background apps?
Thanks in advance,
-Josh-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 10:54 AM
09-26-2001 10:54 AM
Re: Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
This is not a solution but may give you a direction. How about running the program with tusc/trace both in background and foreground to compare the outputs?.
Usually the background jobs suspend if they expect any inputs. But you can find it out with tusc outputs.
-Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:21 AM
09-26-2001 11:21 AM
Re: Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:37 AM
09-26-2001 11:37 AM
Re: Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
Thanks for the answers so far. To clarify and elaborate:
This is an application, not a shell script. HOWEVER, I can reproduce the crash by launching the application from a Korn shell script. i.e.
#!/bin/ksh
app_name.sh
will crash.. while
#!/bin/sh
app_name.sh
runs as expected.
I've tried to run the application through tusc both in the foreground and background, but the results were inconclusive. In fact, when I run the application with tusc in the background, it works.
Is there a major difference in shell behavior and environment between foreground and background apps that I'm forgetting here?
Thanks again for the help!
-Josh-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:46 AM
09-26-2001 11:46 AM
Re: Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
Can you post the tusc output when you run the application in background?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 12:09 AM
09-27-2001 12:09 AM
Re: Running Application in Background under Korn Shell results in CoreDump (SIGBUS)
May be you can fiddle a bit with the job-control settings (see "Jobs" in ksh(1)), I/O redirection ("/dev/null 2>&1"), nohup(1), etc..