Operating System - Linux
1752782 Members
6142 Online
108789 Solutions
New Discussion юеВ

Abort during execution of exe built with aCC compiler.

 
Sathiyanarayanan M
Occasional Contributor

Abort during execution of exe built with aCC compiler.

/opt/OB/shlib:/opt/OB/lib:/opt/java/lib/PA_RISC/green_threads:
/usr/Systems/CMC_1/SMF/tools/user/data:/opt/OB/shlib:/opt/OB/lib:
/opt/java/lib/PA_RISC/green_threads:/usr/Systems/CMC_1/SMF/tools/user/data:
/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib:/var/opt/netscape/server7/lib:
/var/opt/netscape/server7/shared/lib:/var/opt/netscape/server7/bin/slapd/lib:
/var/opt/netscape/server7/bin/slapd/server:/opt/gtk2.6/lib:
/usr/Systems/CMC_1/share/shlib:/usr/Systems/CMC_1/FWK/comet/shlib:
/usr/Systems/CMC_1/FWK/nsp/shlib:/usr/Systems/CMC_1/FWK/nav/shlib:
/usr/Systems/CMC_1/FWK/epim/shlib:/usr/Systems/CMC_1/SEC/secapi:
/usr/Systems/CMC_1/AMV/tva/shlib:/opt/oracle/lib:/opt/TAO/lib:
/opt/ilog/views50/lib/hp32_11_3.05/shared:/opt/ilog/views50/views31/lib/hp32_11_3.05/shared:
/opt/net-snmp/lib:/lib:/opt/oracle8.1.7/lib:/opt/TAO1.3.1.5/lib
Abort
3 REPLIES 3
Sathiyanarayanan M
Occasional Contributor

Re: Abort during execution of exe built with aCC compiler.

Hello,

I am extremely new to this environment.I am porting the code from HPUX 10.20 to HPUX 11.11 and compiler CC to aCC(3.37).I get this error when I start the server through start script.

Can anybody tell me how to proceed further.When I debug the code the abort appears before main. I couldn't print even the cout statement after main.

Expecting quicker solution....

Regards, Sathiya.
Dennis Handly
Acclaimed Contributor

Re: Abort during execution of exe built with aCC compiler.

I have no idea what those lib paths above mean?

If your application aborts, you'll need to get gdb to debug it so you can get a stack trace. If you can compile with -g, you'll get even more info.
Dennis Handly
Acclaimed Contributor

Re: Abort during execution of exe built with aCC compiler.

>When I debug the code the abort appears before main.

If you are linking against libpthread, you need to compile EVERYTHING with -mt.

Otherwise, you'll need to use the debugger. If you use "catch load", you can set breakpoints before hitting main.

But getting a stack trace on the abort would help narrow it down.