Illegal Instruction (SIGILL)

Write here if you have problems with your C source code

Moderator: Board moderators

Post Reply
Devin
New poster
Posts: 2
Joined: Sun May 13, 2007 3:27 am

Illegal Instruction (SIGILL)

Post by Devin » Tue May 22, 2007 11:03 am

The code I submitted for problem 200 resulted in a runtime error, apparently due to an illegal instruction. I've never received SIGILL from the judge before and can't find anything about it in any other threads here. Has anyone had experience with this or have any suggestions for avoiding this problem?

I can post the offending code if someone would like to see it.

mmonish
Experienced poster
Posts: 109
Joined: Sun Mar 11, 2007 2:55 pm
Location: SUST

Post by mmonish » Wed May 23, 2007 5:16 am

Though i never received such an error.I am interested to see ur code.

u can send ur code or send it to me.

Devin
New poster
Posts: 2
Joined: Sun May 13, 2007 3:27 am

Post by Devin » Wed May 23, 2007 7:51 am

I just resubmitted the same code and it got accepted. Must've been a problem server-side.

LithiumDex
New poster
Posts: 44
Joined: Tue Jun 06, 2006 6:44 pm
Location: Nova Scotia, Canada
Contact:

Post by LithiumDex » Thu Jun 28, 2007 4:28 am

SIGILL can be caused by an array out of bounds, i.e. memory containing code is overwritten with garbage and then executed.
- Chris Adams

Post Reply

Return to “C”