- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Core Dump with multi-threaded application...
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
тАО02-14-2007 04:57 PM
тАО02-14-2007 04:57 PM
Re: Core Dump with multi-threaded application...
Thanks for clarifying that :)
>>You can use chatr(1) to see what the paths are. If you embed a path, it can point to somewhere different. And you can also use SHLIB_PATH to change it.
I have both embedded path and SHLIB_PATH eanbled, the embeded path is ../lib:. and SHLIB_PATH is also ../lib, and I can see from the ldd output that the exe is pointing to correct lib files on the test machine.
Just one point I want to highlight, I get core dump even when I use cout , so I dont think this is just about static varibles initialization.
>>I sent him a pointer to this thread.
Thank you so much for that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 10:20 AM
тАО02-15-2007 10:20 AM
Re: Core Dump with multi-threaded application...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 08:20 PM
тАО02-18-2007 08:20 PM
Re: Core Dump with multi-threaded application...
I did that, again I copied the libstdc++.sl.6 and libgcc_s.sl files from the build machine to test machine but it didnt helped.
>> you are using GCC 3.4.2. The latest release of GCC is 4.1.1 (with 4.1.2 out soon)
We cant use the latest gcc as we have dependancy on other component which are built with gcc 3.4.2.
>>One last suggestion would be to make sure you have the latest HP linker patch on your system
Could you please suggest the neccessary patch.
Here is the dump of swlist output.
# Contacting target "kelp"...
#
# Target: kelp:/
#
#
# Bundle(s):
#
BUNDLE B.11.11 Patch Bundle
BUNDLE11i B.11.11.0102.2 Required Patch Bundle for HP-UX 11i, February 2001
Base-VXVM B.03.20.1 Base VERITAS Volume Manager 3.2 for HP-UX
CDE-ChineseS B.11.11 Simplified Chinese CDE Environment
CDE-ChineseT B.11.11 Traditional Chinese CDE Environment
CDE-English B.11.11 English CDE Environment
CDE-French B.11.11 French CDE Environment
CDE-German B.11.11 German CDE Environment
CDE-Italian B.11.11 Italian CDE Environment
CDE-Japanese B.11.11 Japanese CDE Environment
CDE-Korean B.11.11 Korean CDE Environment
CDE-Spanish B.11.11 Spanish CDE Environment
CDE-Swedish B.11.11 Swedish CDE Environment
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
GigEther-00 B.11.11.14 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
GigEther-01 B.11.11.04 PCI GigEther;Supptd HW=A6794A/A6825A/A6847A
HPUX11i-MTOE B.11.11.0206 HP-UX Minimal Technical OE Component
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0206 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0206.5 Hardware Enablement Patches for HP-UX 11i, June 2002
OnlineDiag B.11.11.07.11 HPUX 11.11 Support Tools Bundle, Jun 2002
RAID-00 B.11.11.01 PCI RAID; Supptd HW=A5856A
perl B.5.6.1.C Perl Programming Language
#
# Product(s) not contained in a Bundle:
#
DebugPrg B.11.11.14 Debugging Support Tools
PHNE_30695 1.0 telnet kernel, telnetd(1M), telnet(1) patch
WDB B.11.11.14 HP Wildebeest (HP WDB) Debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 07:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2007 04:02 PM
тАО02-21-2007 04:02 PM
Re: Core Dump with multi-threaded application...
Dennis, Steve, Peter,
Thanks for your assistance!!!!
Steve ,
what made you to think that this issue will need the linker patch? I am just wondering the solution seems so simple but it took very long to figure it out.
Thanks again for your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2007 04:18 PM
тАО02-21-2007 04:18 PM
Re: Core Dump with multi-threaded application...
Static construction with g++ depends on linker features. Static construction with aC++ PA32 predates these features, so it doesn't matter. And I usually assume people have something recent.
And Steve works with g++ and probably remembers when they were introduced.
Lack of .init support would cause those globals to still be zero. If I had your executable in my hands, I would have eventually figured it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2007 04:32 PM
тАО02-21-2007 04:32 PM
Re: Core Dump with multi-threaded application...
>> I would have eventually figured it out.
If possible, would you please explain , how?
That will help me/other people who face the issue to check the issue on our own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2007 05:42 PM - edited тАО10-04-2013 08:36 PM
тАО02-21-2007 05:42 PM - edited тАО10-04-2013 08:36 PM
Re: Core Dump with multi-threaded application...
>If possible, would you please explain, how?
>That will help me/other people who face the issue to check the issue on our own.
I'll try. :-)
Your executable may just work on my system because I have that ld/dld patch. That would be a clue. (Did you try moving the executable and have it work on one machine and fail on another?)
Your executable probably has the .init data in $SHORTDATA$INIT$ subspace and .fini in $SHORTDATA$FINI$ because your g++ is new enough.
You can see these with /usr/ccs/bin/odump -sub. You can see the init/fini counts with odump -sldlheaderext
So if you see the subspaces but no counts, it says you have an old linker. If you see the counts but they don't work, it means you have copied from a good system and trying to run on a system with an old dld.
- « Previous
- Next »