473,396 Members | 1,774 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,396 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 16922
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.