473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 16916
Banfa
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
Hi
Thanks. I will go through the same.
Mar 19 '08 #3

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

Similar topics

0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
0
by: Axel Juhl | last post by:
Have any one success getting mysql to run on a VIA C3 platform? I get a SIGILL although I have tried compiling the version for both i586 and i486. Axel
8
by: Cyber | last post by:
Hello ! I want to catch any event on a PC by the interrupts (C++ under Linux). My first step is to catch everything from the keyboard. I have: ...
1
by: E.T. Grey | last post by:
Hi, I am trying to handle signals (SIGTERM, SIGILL and SIGABRT) in my C++ code. I have member functions defined as follows: /* Hack to allow signal handling */ void...
1
by: anismo | last post by:
Hi, I have an application that uses a couple of shared libraries and this application forks to become a daemon. But when the parent after the fork calls exit(0), I am getting a coredump . Upon...
7
by: fox | last post by:
Maybe this is not the best group to ask this question, but I don't know a better one. I'm looking for a *portable* program in C (I mean source code) to detect whether unaligned word access is:...
0
by: Mathias Waack | last post by:
Hi all, I've embedded python into an older application and created some extensions to interact with the old data structures. Everythings works like a charm - beside a simple "import random"....
87
by: H. | last post by:
I am a student taking a machine structures class in a university, which includes learning C. I am looking for a good freeware or shareware compiler which can be used in a "C only" mode. C++ isn't...
13
by: Speed | last post by:
Hi, I was wondering if there is any way to catch exceptions without knowing in advance what errors may occur. What I mean to say is that is it possible to use try {} on a bunch of lines and...
29
by: Leet Jon | last post by:
Hi what's the reason for having the default disposition for SIGSEGV, SIGFPE, SIGBUS etc to be terminating the program, when these signals can just be ignored by the program? Many programs crash...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.