- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C++ Coredump while exiting from the program
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
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
тАО11-02-2004 05:02 PM
тАО11-02-2004 05:02 PM
C++ Coredump while exiting from the program
We have the -mt option during compilation and linking, but still we are facing this problem.
The following is gdb trace.
HP gdb 3.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.2 (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 `zrnevhmx'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
#0 0xc004d958 in pthread_mutex_destroy+0x18 () from /usr/lib/libpthread.1
(gdb) where
#0 0xc004d958 in pthread_mutex_destroy+0x18 () from /usr/lib/libpthread.1
#1 0xc1f1cb28 in __thread_mutex_free+0x40 () from /opt/.../pf3party/irp/lib/libc.2
#2 0xc22bb62c in _HPMutexWrapper::~_HPMutexWrapper+0x34 () from /opt/.../pf3party/irp/lib/libstd_v2.2
#3 0xc22b6f24 in __rw::__null_string_ref_rep
#4 0xc14b55cc in __shlTerm+0x290 () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#5 0xc14b56a4 in __shlInit+0x44 () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#6 0xc21bae38 in _shlInit+0x20 () from /opt/.../pf3party/irp/lib/libstd_v2.2
#7 0xc14b5020 in __shlinit+0xac () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#8 0xc14b5324 in __callInitFuncFromHandle+0xf0 () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#9 0xc14b7288 in _niam_body+0xc0 () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#10 0xc14b735c in _niam+0x1c () from /opt/.../pf3party/irp/lib/libCsup_v2.2
#11 0xc1e84574 in exit+0x74 () from /opt/.../pf3party/irp/lib/libc.2
OS details:
B.11.11 U 9000/785 2009568404 unlimited-user license
aCC version: HP aC++ B3910B A.03.52
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 07:54 PM
тАО11-03-2004 07:54 PM
Re: C++ Coredump while exiting from the program
please make sure you built ALL the object files with -AA -mt, and that you linked the executable with -AA -mt.
Can you run chatr on your executable and post the output?
Regards
Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 08:09 PM
тАО11-03-2004 08:09 PM
Re: C++ Coredump while exiting from the program
sigsegv is normally a sign of stack overflow or corruption
Did this ever work
Has the kernel been changed or patches added since it ran well
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 04:31 PM
тАО11-04-2004 04:31 PM
Re: C++ Coredump while exiting from the program
We have upgraded our compiler from aCC 3.31 to 3.52. This is the first time we are running after upgrading our compiler.
We have compiled and linked all the libraries and source with -AA and -mt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 05:13 PM
тАО11-04-2004 05:13 PM
Re: C++ Coredump while exiting from the program
see the following link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=482108
regds,
- Tags:
- broken URL link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 09:07 PM
тАО11-04-2004 09:07 PM
Re: C++ Coredump while exiting from the program
can you please attach the result of:
chatr
odump -comp
Thanks
Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 09:11 PM
тАО11-04-2004 09:11 PM
Re: C++ Coredump while exiting from the program
swlist | grep -i ac++
Regards
Cyrille
PS: are you compiling / running on the same host?