Bug Report: Illegal Instruction
Alexandre Oliva
aoliva@cygnus.com
Tue May 23 18:15:00 GMT 2000
On May 23, 2000, Bill <billl@unm.edu> wrote:
> On 23 May 2000, Alexandre Oliva wrote:
>> I am receiving an "illegal instruction" error during run time. The
>> error occurs in a switch statement that involves formatted output to
>> cout.
> Could it be a buffer overflow problem?
> I do not consider myself a buffer-knowledgable person, but I don't
> think its a buffer overflow problem.
Run it within a debugger and see how it crashes. If it's a totally
strange address, odds are that you've inadvertently overwritten part
of the stack by overrunning a fixed-size buffer.
--
Alexandre Oliva Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me
More information about the Gcc-bugs
mailing list