SIGILL:- Illegal Instruction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murali026
    New Member
    • Jan 2008
    • 3

    SIGILL:- Illegal Instruction

    Hi All,
    Here I have an Application which will be running on Power PC Processor.
    After some time i have receiving the following error.

    Program received a SIGILL, Illegal Instruction.
    I am debugging the application remotely from a Linux Machine(RHEL-4).
    Could you please help in proceeding further to analyse this problem.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Well the SIGILL indicates that the processor has been asked to execute an instruction word that does not actually correspond to a valid instruction. There can be many causes of this here are a few
    • Corruption of program memory
    • Failure to actually program the program memory
    • Corruption of the program pointer (which can happen through corruption of the stack pointer to corruption of the stack)


    Unfortunately these are not easy bugs to find, examination of the stack (if possible) after the signal has happened might help, but you will need to understand how your processor forms it stack frames. Examining the processor registers after the signal may also help as you can be able to spot corruption of 1 or more of them.

    Comment

    • murali026
      New Member
      • Jan 2008
      • 3

      #3
      Hi
      Thanks. I will go through the same.

      Comment

      Working...