how to debug "bad pc value" error in linux - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

how to debug "bad pc value" error in linux

Hi All,

I am receiving a bad pc value error when running a program. The PC value at which the error occurred can not be known from the symbol table, i guess it is the virtual memory address that is being shown in the error. The OS is linux, and the program is written in C.
There is not backtrace available in the oops error message displayed, and the system just hangs.

Can anyone help me in debugging this problem. Any way to get atleast a bit more information to debug, or a method to debug such errors will be very helpful.

Sign In or Register to comment.