Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Attempting to unwind past bad PC Error

Highlighted
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
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.