- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Application crash in exit ()
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
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
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-24-2008 09:08 AM
06-24-2008 09:08 AM
Re: Application crash in exit ()
This lumps all of the patches into a bundle so we can't see the aC++ runtime patches.
You would probably need to use:
swlist -l patch "PHSS_*" | grep aC
>I will ask the customer to upgrade but to be honest I'm a bit pessimistic.
Well, it does work on your system. :-)
Other than the patch level, what is different on the customer's system? The same application but different data?
Is there a trivial way to get into your application and then exit, so you can see if that path fails?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 01:50 AM
08-12-2011 01:50 AM
Re: Application crash in exit ()
Hi, all:
I meeting the same problem on our system, it coredump on last line of our program "return 0",
$ gdb -c core
Core was generated by `SimpappClient'.
(gdb) where
#0 0xc0000000003f3938 in __cxxTerm_body+0x18 () from /usr/lib/pa20_64/libCsup.2
#1 0xc0000000003f39c8 in __cxxTerm+0x20 () from /usr/lib/pa20_64/libCsup.2
#2 0xc0000000001c3428 in exit+0x80 () from /usr/lib/pa20_64/libc.2
#3 0xc00000000000a084 in UT_exit+0x64 () from /usr/lib/pa20_64/dld.sl
#4 0xc00000000000a0a4 in exit+0x14 () from /usr/lib/pa20_64/dld.sl
#5 0xc00000000000a168 in $START$+0xb0 () from /usr/lib/pa20_64/dld.sl
Error accessing memory address 0x0: Invalid argument.
Does the problem is solved? If it does, how did you guys slove it? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 01:51 AM
08-12-2011 01:51 AM
Re: Application crash in exit ()
Here is my version of acc
$ /usr/sbin/swlist -l patch "PHSS_*" | grep aC
# PHSS_30414 1.0 aC++ Runtime (IA: A.05.56, PA: A.03.50)
# PHSS_32511 1.0 HP aC++ Compiler (A.03.63)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 02:02 AM
08-12-2011 02:02 AM
Re: Application crash in exit ()
>#0 0xc0000000003f3938 in __cxxTerm_body+0x18 /usr/lib/pa20_64/libCsup.2
This could occur if you call atexit(3) and you have unloaded the shlib that contains the function.
>PHSS_32511 HP aC++ Compiler (A.03.63)
This is 6+ years old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2011 07:41 PM
08-14-2011 07:41 PM
Re: Application crash in exit ()
Did you mean that, I have unloaded the shlib that contains function __cxxTerm_body, then I call atexit(3) , so it cordump?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2011 06:39 AM - edited 08-15-2011 10:25 AM
08-15-2011 06:39 AM - edited 08-15-2011 10:25 AM
Re: Application crash in exit ()
>I have unloaded the shlib that contains function __cxxTerm_body
No, you have unloaded the atexit registered function that __cxxTerm_body was going to call.
Basically shouldn't be using atexit(3) in C++, especially if you have shlibs.
- « Previous
-
- 1
- 2
- Next »