- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SIGSEGV corefile
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
02-14-2007 01:43 AM
02-14-2007 01:43 AM
SIGSEGV corefile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 01:55 AM
02-14-2007 01:55 AM
Re: SIGSEGV corefile
and welcome to the forums !
What is your ulimit -c, as to disable core:
ulimit -Sc 0
On Core files:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=728058
On SIGSEGV debugging:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=703638
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 03:08 AM
02-14-2007 03:08 AM
Re: SIGSEGV corefile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:30 PM
02-14-2007 08:30 PM
Re: SIGSEGV corefile
If you can run it in gdb, it will stop on the signal. That may be easier to debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 05:18 AM
02-15-2007 05:18 AM
Re: SIGSEGV corefile
ulimit -c is 4194303. That should be plenty.
We do have signal handlers, to ensure DB transactions are rolled back, etc. But on the system we're migrating from (not HPUX) they still produce a core. This is not so with HPUX?
I did try my own signal handler, which called alarm(), but no core was produced.
I also tried running it in gdb. It stopped on the signal, but with the call stack replaced by one since the signal was received (about three system/runtime type functions named something like __sig_sys()).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 06:17 AM
02-15-2007 06:17 AM
Re: SIGSEGV corefile
No, that's why they are called handlers. What do you do at the end of it? Do you exit or abort? Do you call longjmp? Or do you return?
The latter is most likely to get you into an infinite loop if you have rearmed the handler. If not, you should get a core file.
>It stopped on the signal, but with the call stack replaced by one since the signal was received (about three system/runtime type functions named something like __sig_sys())
Please provide the exact output. This should allow you to use the frame command to inspect the frame where you are getting the signal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2007 07:19 AM
02-19-2007 07:19 AM
Re: SIGSEGV corefile
The system We're migrating from produces a core despite our signal handlers, and we have to call ulimit in /etc/profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2007 07:20 AM
02-19-2007 07:20 AM