HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- core file is not being generated
Operating System - HP-UX
1832978
Members
2774
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-30-2007 06:39 AM
01-30-2007 06:39 AM
core file is not being generated
I have an executable running under HP-UX11 that is terminating abnormally but is not generating a core file to allow me to debug it. Other applications do create a core file. All of them were compiled using the aCC compiler but this is the only multi-threaded application. Any suggestions?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 06:50 AM
01-30-2007 06:50 AM
Re: core file is not being generated
Not all program terminations result in a core file being generated. It also depends upon the signal handler that is in effect for a given signal for the process at the time. The very first thing to check is if you have write permissions in the CWD of the process. Bear in mind, it is possible for the application to do a chdir() so the directory that you started the process in might not be the CWD. One approach would be to use tusc to attach to the process. That should get you in the neighborhood of the problem though admittedly not as well as a stack trace would.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 07:16 AM
01-30-2007 07:16 AM
Re: core file is not being generated
Thanks for your reply.
The application does have write permission in the CWD. I have used gdb to attach to the process and dump a core. Unfortunately, this problem only occurs after running for several hours under high load and it is intermittent. Application tracing does not show anything unusual but then it suddenly stops and the process exits.
My signal handlers print the signal before exiting but I'm not getting any of that output. Under Solaris, the signal handlers do show the signals and generate a core. I'm thinking that I'm missing some OS patch or compile time option but I've been unable to find anything.
I forgot about tusc and will try it. The output file will be huge but it is something.
The application does have write permission in the CWD. I have used gdb to attach to the process and dump a core. Unfortunately, this problem only occurs after running for several hours under high load and it is intermittent. Application tracing does not show anything unusual but then it suddenly stops and the process exits.
My signal handlers print the signal before exiting but I'm not getting any of that output. Under Solaris, the signal handlers do show the signals and generate a core. I'm thinking that I'm missing some OS patch or compile time option but I've been unable to find anything.
I forgot about tusc and will try it. The output file will be huge but it is something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 03:30 PM
01-30-2007 03:30 PM
Re: core file is not being generated
>Application tracing does not show anything unusual but then it suddenly stops and the process exits.
In a debugger you can put breakpoints at exit, _exit and abort, etc., so you can catch those.
In a debugger you can put breakpoints at exit, _exit and abort, etc., so you can catch those.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP