Crash Report - Short Version
On WinXP eduke32.exe crashes immediately after using a security monitor when
compiled with gcc 4.4.0-TDM-1-mingw32.
gcc 4.3.3-tdm-1-mingw32 is OK. Could someone please confirm/contradict this?
Crash Report - Long Version
Despite my lack of debugging knowledge I have tried to isolate it:
duke3d.cfg/eduke32.cfg settings do not affect this problem.
It occurs on both of my PCs : Pentium/Matrox, Athlon/NVIDIA.
It occurs with the latest source code (svn1461) as well as with the
oldest I managed to build (svn0016 from 2006).
After some makefile twiddling I found out that it does not happen when
setting OPTLEVEL from 2 to 0. OPTLEVEL?=1 lets the crash reappear.
After some object file juggling it seems to be related to engine.o.
To get a crash-free executable I compiled normally with gcc-4.4.0, then
replaced engine.o with a previously built version (OPTLEVEL?=0) and
re-linked the exe. Seems like a compiler bug to me.
I hope this information is helpful in some way.
![](https://forums.duke4.net/public/style_images/cgs/_custom/switch.png)