Quote:
Originally Posted by Shum
I have a program that is crashing with the message "Illegal Instruction". I suspect its because the program is compiled for a slightly different processor than the one its running on.
|
I am nearly certain that is not the case.
I think your program simply has a bug in it.
Most likely, the bounds of a local array were exceeded, corrupting the return address on the stack. When the function containing that bug returns, the CPU starts executing instructions somewhere in memory that isn't an instruction.
You should start by using GDB to find out where the program is crashing.
Quote:
Originally Posted by spankbot
You may simply need to install 32bit compatibility packages.
|
Not correct. If the problem were lack of some 32bit package, the symptom would be very different.