Operating System - HP-UX
1752565 Members
5218 Online
108788 Solutions
New Discussion юеВ

Getting Attempting to unwind past bad PC Error

 
Vincent Paul S
Occasional Contributor

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)
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

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.


Vincent Paul S
Occasional Contributor

Re: Getting Attempting to unwind past bad PC Error

Using -mt option in aCC compiler flags worked.