title: What can cause Program Counter to have an invalid address?
body: <p>I am getting an exception "Invalid Program Counter Address" in Vxworks + PPC 603.</p>
  
  <p>Application is linking to multiple 'C' libraries. Am not able to place, what could cause this problem?</p>
  
  <p>Is there a possibility that incorrect compilation options could be causing this?</p>
  
  <p>Any directions or pointers will be helpful.</p>
  
  <p>Thanks</p>
  
  <p>UPDATE: </p>
  
  <p>I am having a structure whose members are function pointers. The structure itself is static and it's address is passed around and through the structure different functions are being invoked. </p>
  
  <p>During one of the test rounds, I found that in the function pointer, the function address value is reduced by 1. If the function address is 0x009a3730, the PC is having 0x00913729.</p>
  
  <p>Also, if I change the compiler options, the place of crash or the number of runs after which the crash happens changes.</p>