Computer is a determinist machine, everybody knows that. When you install Windows, it's a bit less, but it was a surprise to me that DJGPP makes the same! But what the hell is going on while my program crashes like this. Here's how it went (all crashes were right before mains return 0, except that first one):
compile: non-modified source
run: all ok
run: all ok
...
compile: modified source 1
run: all ok
run: all ok
...
run: computer crashed (after back to dos-shell)
compile: modified source 1
run: program crash
run: program crash
...
compile: modified source 2 (stripped some from 1)
run: program crash
run: program crash
...
compile: modified source 3 (-> stripped non-modified source)
run: all ok
compile: non-modified source:
run: all ok
compile: modified source 1
run: all ok
run: all ok
...
What I have:
G:\source>gxx --version
2.953
&
Allegro 3.12
I didn't post the source because it's a bit long and this problem isn't repeatable and it has happened before with some other code I've made. I always compile with -Wall and didn't have any warnings (well, unused `pal' in one point but that was first to go when the bug appeared but didn't make any difference).