Getting Attempting to unwind past bad PC Error (733 Views)
Reply
Occasional Contributor
Vincent Paul S
Posts: 5
Registered: ‎01-09-2009
Message 1 of 3 (733 Views)

Getting Attempting to unwind past bad PC Error

Hi,

I am getting "Attempting to unwind past bad PC" error in 64 bit Itanium processor HP-UX.

Below is the stack trace:

gdb httpgw core
HP gdb 5.7 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.7 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `httpgw'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
#0 0xc0000000000e6700 in ()
(gdb) bt
#0 0xc0000000000e6700 in ()
warning: Attempting to unwind past bad PC 0xc0000000000e6700
#1 0xc0000000000e66b0 in ()
(gdb)
Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 2 of 3 (733 Views)

Re: Getting Attempting to unwind past bad PC Error

This forum is for PA workstation hardware. I've asked the moderators to move this to HP-UX > languages.

Are you debugging this on the same system that produced the core file? What happens if you run the application in the debugger?

You should download a newer version of wdb to see if can give an idea what function or shlib is having the problem.
Can you try "info shared"? You may be in dld.so.


Occasional Contributor
Vincent Paul S
Posts: 5
Registered: ‎01-09-2009
Message 3 of 3 (733 Views)

Re: Getting Attempting to unwind past bad PC Error

Using -mt option in aCC compiler flags worked.
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.