- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Core dump/abort error when built with -AA option
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
тАО01-05-2005 09:57 PM
тАО01-05-2005 09:57 PM
Core dump/abort error when built with -AA option
I am trying to compile & link my code on hpux. It compiles & links without errors, but when I try to run the exe thus created, I encounter the following errors:
"ABORT instruction (core dumped)"
The stack trace being:
Program received signal SIGABRT, Aborted.
0x6ffae8a0 in kill+0x10 () from /usr/lib/libc.2
(gdb) where
#0 0x6ffae8a0 in kill+0x10 () from /usr/lib/libc.2
#1 0x6ff4b7bc in raise+0x24 () from /usr/lib/libc.2
#2 0x6ff8be5c in abort_C+0x16c () from /usr/lib/libc.2
#3 0x6ff8beb4 in abort+0x1c () from /usr/lib/libc.2
#4 0x6fd6b488 in std::terminate+0x38 () from /usr/lib//libCsup_v2.2
#5 0x6fd6bfa8 in RethrowException+0x88 () from /usr/lib//libCsup_v2.2
#6 0x6fd6c2f0 in __rethrow+0x134 () from /usr/lib//libCsup_v2.2
#7 0x26544 in devtech_private::
ion_cpp+0x60 ()
#8 0x6fd6f1a8 in __mainHelper+0x40 () from /usr/lib//libCsup_v2.2
#9 0x6fd6f4dc in _main+0xec () from /usr/lib//libCsup_v2.2
================
Compiling options:
C_MACRO = -D UNIX_ENV
OPTIMIZATION_CFLAGS = -O
OTHER_CFLAGS = -g -AA
==========
Linking options:
$(LINK) -AA -o $(TARGET_DIR)/$(TARGET) \
$(PROJECT_OBJECTS) \
-L $(PRJROOT)/external/zstring/binaries/hpux-gcc
32-release \
-lzstring \
-L $(PRJROOT)/external/cppunit/binaries/hpux \
-lcppunit \
-lcppunitconsole \
-ldebugconsole \
-lc
======================
LINK & CC being = /opt/aCC/bin/aCC
Looking at the above output, could you suggest some measures to get rid of it. Do I need to include some standard C++ libraries or the like (may be a path to libc.2 and so on).
Would be grateful if you could have a look. I have been struggling against this since quite long and my deadline is quite close.
Attached is the makefile used to link & compile the code & thereby create the executable.
Regards,
Namrata
- Tags:
- -mt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 10:33 PM
тАО01-05-2005 10:33 PM
Re: Core dump/abort error when built with -AA option
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=225571
seems to be adding the -mt option. Would that help in your case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 11:01 PM
тАО01-05-2005 11:01 PM
Re: Core dump/abort error when built with -AA option
Thanks for the prompt reply.
I did try the -mt compiler option in my make file, but that too does not seem too have an impact.
The "ABORT instruction (core dumped)" still persists.
Thanks & Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 11:26 PM
тАО01-05-2005 11:26 PM
Re: Core dump/abort error when built with -AA option
Are you using Orbix2000?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 12:16 AM
тАО01-06-2005 12:16 AM
Re: Core dump/abort error when built with -AA option
you should not link -AA-linked binaries with -AP-linked binaries.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 03:00 PM
тАО01-06-2005 03:00 PM
Re: Core dump/abort error when built with -AA option
The aCC version is : aC++ A.03.10 (Hp-UX 11.00)
Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:58 PM
тАО01-06-2005 08:58 PM
Re: Core dump/abort error when built with -AA option
# chatr your_exe