- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- program crash when call to shutdown, here we have ...
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
04-16-2009 11:27 AM - last edited on 10-08-2012 11:35 PM by Maiko-I
04-16-2009 11:27 AM - last edited on 10-08-2012 11:35 PM by Maiko-I
program crash when call to shutdown, here we have implimented our own exit()
$ pstack core
core: sys_mgr
-------------------------------- lwpid : 642042 -------------------------------
0: 60000000c166aad0 : _Z14_Unwind_Phase2P15_Unwind_ContextP17_Unwind_Exceptioni() + 0x1c0 (/usr/lib/hpux32/libunwind.so.1)
1: 60000000c167cb80 : _Unwind_Resume() + 0x100 (/usr/lib/hpux32/libunwind.so.1)
2: 0000000004113fd0 : HesUtMscSetSigHandler() + 0x670 (sys_mgr)
3: 0000000004128920 : exit() + 0x160 (sys_mgr)
4: 00000000040a3a70 : main() + 0x50 (sys_mgr)
5: 60000000c0030390 : main_opd_entry() + 0x50 (/usr/lib/hpux32/dld.so)
Environment details:
---------------------
$ uname -a
HP-UX alftlq01 B.11.31 U ia64 3394709571 unlimited-user license
2. Output of "what /usr/lib/hpux64/dld.so"
$ what /usr/lib/hpux64/dld.so
/usr/lib/hpux64/dld.so:
92453-07 linker dld HP Itanium(R) B.12.52
REL Wed Dec 3 11:26:14 2008 PST
3. Any linker patch installed, output of "swlist |grep -i linker"
$ /usr/sbin/swlist | grep -i linker
PHSS_39094 1.0 linker + fdp cumulative patch
4. What are the libraries used , Output of "ldd -v "
$ ldd -v sys_mgr
find library=libpthread.so.1; required by sys_mgr
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
find library=libcl.so.1; required by sys_mgr
libcl.so.1 => /usr/lib/hpux32/libcl.so.1
find library=libstd_v2.so.1; required by sys_mgr
libstd_v2.so.1 => /usr/lib/hpux32/libstd_v2.so.1
find library=libCsup.so.1; required by sys_mgr
libCsup.so.1 => /usr/lib/hpux32/libCsup.so.1
find library=libm.so.1; required by sys_mgr
libm.so.1 => /usr/lib/hpux32/libm.so.1
find library=libunwind.so.1; required by sys_mgr
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
find library=libc.so.1; required by sys_mgr
libc.so.1 => /usr/lib/hpux32/libc.so.1
find library=libdl.so.1; required by sys_mgr
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
find library=libIO77.so.1; required by /usr/lib/hpux32/libcl.so.1
libIO77.so.1 => /usr/lib/hpux32/libIO77.so.1
find library=libuca.so.1; required by /usr/lib/hpux32/libunwind.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
Thanks
Saurabh
P.S This thread has been moved from HP-UX > General to HP-UX > Languages and Scripts - HP Forums Moderator
- Tags:
- pstack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2009 11:41 PM
04-16-2009 11:41 PM
Re: program crash when call to shutdown, here we have implimented our own exit()
Why are you using pstack(1) instead of gdb? You'll need to use that anyway. From pstack I can't tell where you are aborting and which signal.
>here we have implemented our own exit()
Why? (You could just have an atexit handler.) How are you going to exit?
Are you doing a throw somewhere after you call HesUtMscSetSigHandler?
In gdb you can do "catch throw" and "catch catch" to see where these are being done.