Abort during execution of exe built with aCC compiler. (44 Views)
Reply
Occasional Contributor
Sathiyanarayanan M
Posts: 5
Registered: ‎05-30-2007
Message 1 of 4 (44 Views)

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
Please use plain text.
Occasional Contributor
Sathiyanarayanan M
Posts: 5
Registered: ‎05-30-2007
Message 2 of 4 (44 Views)

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,389
Registered: ‎03-06-2006
Message 3 of 4 (44 Views)

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,389
Registered: ‎03-06-2006
Message 4 of 4 (44 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation