470,864 Members | 1,863 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,864 developers. It's quick & easy.

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.
Mar 19 '08 #1
2 15987
9,065 Expert Mod 8TB
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.
Mar 19 '08 #2
Thanks. I will go through the same.
Mar 19 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Ravi Tallury | last post: by
reply views Thread by Axel Juhl | last post: by
8 posts views Thread by Cyber | last post: by
1 post views Thread by E.T. Grey | last post: by
7 posts views Thread by fox | last post: by
reply views Thread by Mathias Waack | last post: by
87 posts views Thread by H. | last post: by
13 posts views Thread by Speed | last post: by
29 posts views Thread by Leet Jon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.