- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP-UX11.11: coredump when using lib pthread
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
тАО06-05-2006 03:51 AM
тАО06-05-2006 03:51 AM
HP-UX11.11: coredump when using lib pthread
i'm using a program compiled wit aCC A.03.65 with the option -AA, but when it is linked with library pthread (/usr/lib/libpthread.1), the execution aborts with coredump.
The core analysis:
#0 0xc003de84 in pthread_mutex_lock+0x68 () from /usr/lib/libpthread.1
#1 0xc021c438 in __thread_mutex_lock+0x70 () from /usr/lib/libc.2
#2 0xc2f394c4 in _HPMutexWrapper::lock+0x30 () from /usr/lib/libstd_v2.2
#3 0xc2f04b5c in std::locale::_C_install_facet+0x244 () from /usr/lib/libstd_v2.2
#4 0xc2f047b8 in std::locale::_C_make_facet+0x528 () from /usr/lib/libstd_v2.2
#5 0x99048 in std::basic_filebuf
at /opt/aCC/include_std/fstream.cc:339
#6 0x998b0 in std::basic_filebuf
My question is, it's possible to C++ v2 iostream use (libs CSup_v2 and std_v2) and libpthread.1?
Thanks,
Jos├й Ribeiro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 05:03 AM
тАО06-05-2006 05:03 AM
Re: HP-UX11.11: coredump when using lib pthread
├в ┬в PHNE_29887 s/b PHNE_33159 s/b PHNE_33628 (28/10/2005)
s700_800 11.11 cumulative ARPA Transport patch (resolve alguns hangs provocados por problemas nos sockets)
├в ┬в PHCO_29960 s/b PHCO_30544
Pthread enhancements and fixes
# swlist -l fileset | grep thread
Hope it helps, AR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 07:25 AM
тАО06-05-2006 07:25 AM
Re: HP-UX11.11: coredump when using lib pthread
Only if you consistently compile with -mt.
- Tags:
- -mt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 08:44 PM
тАО06-05-2006 08:44 PM
Re: HP-UX11.11: coredump when using lib pthread
But Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 08:47 PM
тАО06-05-2006 08:47 PM
Re: HP-UX11.11: coredump when using lib pthread
PHNE_29887
PHCO_29960
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:07 AM
тАО06-06-2006 12:07 AM
Re: HP-UX11.11: coredump when using lib pthread
PHNE_29887 --> PHNE_33628
PHCO_29960 --> PHCO_30544
AR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 03:03 PM
тАО06-06-2006 03:03 PM
Re: HP-UX11.11: coredump when using lib pthread
My comment wasn't about the version of libpthead but the fact that to use libpthread with aC++ requires compiling with -mt:
http://www.docs.hp.com/en/7762/5991-4874/threads.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 10:18 PM
тАО06-06-2006 10:18 PM
Re: HP-UX11.11: coredump when using lib pthread
Recompiling all the code with the -mt option resolved the coredump.
Thanks for the help, it solved my problem.