Mail Archives: djgpp/1999/04/08/11:40:49
El día Thu, 08 Apr 1999 08:17:37 -0400, Fang <fang0654 AT mypad DOT com>
escribió:
>Hey, I'm running djgpp under win98 and I had the weirdest thing
>happen.. I wrote a little program, compiled it, ran it, and it worked
>fine. Then I made a small change, and it compiled fine. I ran it and
>my machine rebooted. So I boot back up, and change back what I
>changed. Now the program keeps crashing. It gives a "This program has
>executed an illegal operation" or somethnig like that. It gives the
>error right away, so I assume the program isn't getting very deep in the
>code :) I played around with the code for a while, but no matter what I
>do it crashes. I tried multiple reboots, cold boots, etc... any ideas?
>Any help is greatly appreciated :) Thanks
Please isolate the small possible fragment of code which we can use to
reproduce that behaviour, then post it in the newsgroup. You'll sure
get a lot of help, but it's kind of difficult with the limitied
information you give in your message.
However, the fact that your program ran fine the first time *doesn't
mean it's correct*. A buggy program can crash randomly with no aparent
reason (though there must be one, of course), and work the rest of the
time. Maybe you're using non-allocated memory, overwriting your own
code with data, or something like that.
Salu2: GUILLE
----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)
- Raw text -