HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- program error with SIGSEGV
Operating System - HP-UX
1830212
Members
1435
Online
109999
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
05-26-2005 05:27 AM
05-26-2005 05:27 AM
program error with SIGSEGV
I have a developer who's program keeps failing. Any ideas
root@dudley:/home/abmint/vdac/bin> file core
core: ELF-64 core file - PA-RISC 2.0 from 'abmrun' - received SIGSEGV
root@dudley:/home/abmint/vdac/bin> what core
core:
$ PATCH/11.00:PHCO_28425 Mar 4 2003 17:53:13 $
HP-UX libm shared pa20_rtm64 C Math Library 20000331 (200955) UX11.01
$ PATCH/11.0:PHNE_27795 Sep 30 2002 08:28:17 $
Pthread Interfaces
libpthread HP-UX (Release B.11.00): Thu Jun 7 11:32:39 PDT 2001
libcl.sl version B.11.01.18 - Jan 3 2003
92453-07 linker command s800.sgs dld PA64 B.11.36 PBO 030403
root@dudley:/home/abmint/vdac/bin> file core
core: ELF-64 core file - PA-RISC 2.0 from 'abmrun' - received SIGSEGV
root@dudley:/home/abmint/vdac/bin> what core
core:
$ PATCH/11.00:PHCO_28425 Mar 4 2003 17:53:13 $
HP-UX libm shared pa20_rtm64 C Math Library 20000331 (200955) UX11.01
$ PATCH/11.0:PHNE_27795 Sep 30 2002 08:28:17 $
Pthread Interfaces
libpthread HP-UX (Release B.11.00): Thu Jun 7 11:32:39 PDT 2001
libcl.sl version B.11.01.18 - Jan 3 2003
92453-07 linker command s800.sgs dld PA64 B.11.36 PBO 030403
That which does not kill me, makes me stronger
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 05:35 AM
05-26-2005 05:35 AM
Re: program error with SIGSEGV
The "file" command for this is essentially useless. You need to have him compile with "-g" and then execute the program and allow it to crash. You then use a debugger (gdb) to do a stack trace and you should be able to spot the problem and unless the error occurs in a library for which you don't have the soure, the debugger will tell you the exact line in the source code. Even if in a library, the debugger will should you the chain of functions that led to the library function call. This is really Debugging C/C++ 101 stuff.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 08:03 AM
05-26-2005 08:03 AM
Re: program error with SIGSEGV
If he has a version compiled with debug options, he can at least get a stack by doing:
echo \$r | adb abmrun core
This will at least get him the basics of where he was.
echo \$r | adb abmrun core
This will at least get him the basics of where he was.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
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