- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gprof:Coredump with IA utility compiled with -G
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
Discussions
Discussions
Forums
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
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
тАО12-19-2004 07:45 PM
тАО12-19-2004 07:45 PM
gprof:Coredump with IA utility compiled with -G
# /abc
Memory fault(coredump)
# gdb /abc /core
HP gdb 5.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `abc'.
Program terminated with signal 11, Segmentation fault.
#0 0x40c4830040c4830 in
(gdb) where
warning: GDB cannot print complete stack trace since some shared libraries are missing. Set GDB_SHLIB_PATH and try again.
#0 0x40c4830040c4830 in
warning: Attempting to unwind past bad PC 0x40c4830040c4830
#1 0x60000000c04d7940:0 in lstat+0x60 () from /usr/lib/hpux32/libc.so.1
#2 0x60000000c03bdf70:0 in mktemp+0x420 () from /usr/lib/hpux32/libc.so.1
#3 0x60000000c04c92e0:0 in tmpnam+0x170 () from /usr/lib/hpux32/libc.so.1
#4 0x60000000c04d2ac0:0 in tmpfile+0x40 () from /usr/lib/hpux32/libc.so.1
#5 0x60000000c05395b0:0 in _exit_smonitor+0x410 ()
from /usr/lib/hpux32/libgprof.so
#6 0x60000000c0538120:0 in _gprof_hook+0x60 ()
from /usr/lib/hpux32/libgprof.so
#7 0x60000000c0055b10:0 in LE_user_hook_terminate+0xd0 ()
from /usr/lib/hpux32/dld.so
#8 0x60000000c002eea0:0 in TE_do_program_exit+0x40 ()
from /usr/lib/hpux32/dld.so
#9 0x4527f50:0 in __exit_handler+0x130 ()
I have added the path for all the shared libraries in GDB_SHLIB_PATH but gdb still cribs with the Warning "GDB cannot print complete stack trace since some shared libraries are missing"
following are the libraries to which this utility is linked.
shared library list:
libpthread.so.1
libprof.so <-----
libm.so.1
libc.so.1
I had compiled "abc" with a -G flag, So not sure if it getting linked with libprof.so is the correct behavior.
The same utility works fine and shows a good gprof outout when i compile it for PA.
Is there any known problem with GPROF libraries on IA which cause this coredump and has HP released a patch to take care of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2004 10:12 PM
тАО12-19-2004 10:12 PM
Re: gprof:Coredump with IA utility compiled with -G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2004 02:57 AM
тАО12-20-2004 02:57 AM
Re: gprof:Coredump with IA utility compiled with -G
Could it be so simple as a badly tuned kernel running out of stack space during the debug
Look at all kernel values referring to maxssiz and maxdsiz
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2004 10:18 PM
тАО12-20-2004 10:18 PM
Re: gprof:Coredump with IA utility compiled with -G
Could you provide the program code and the HPUX release where you are noticing the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2004 05:02 AM
тАО12-21-2004 05:02 AM
Re: gprof:Coredump with IA utility compiled with -G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2004 04:25 PM
тАО12-21-2004 04:25 PM
Re: gprof:Coredump with IA utility compiled with -G
BTW, the gdb output shows that libgprof.so is actually getting loaded and used during the runtime. Now this is confusing, as in something is going wrong really badly.
I would suggest to build both 32-bit and 64-bit binaries and then try. Do you see the coredump on both bits. This can provide good insight into problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 03:43 PM
тАО12-22-2004 03:43 PM
Re: gprof:Coredump with IA utility compiled with -G
The following are the libraries to which abc is linked.
libpthread.so.1
libm.so.1
libgprof.so
libc.so.1
Apologies once again...