Compiler stops with Internal error 200309041
Original Reporter info from Mantis: chebmaster
-
Reporter name:
Original Reporter info from Mantis: chebmaster
- Reporter name:
Description:
3.0.0rc1 stops randomly on a complex source code where 2.6.4 compiles without problems. 3.1.1 from Sep 08, 2015 behaves the same stopping in the same place.
Steps to reproduce:
Unpack the included zip with partial sources of Cheb's Game Engine.
Run modules/_test019/src/build_win32.bat
(The fpc path is set in the bat file, assumed to be c:\FPC\3.0.0rc1\bin\i386-win32\ )
It should end in
D:\chentrah\modules\chentrah\src\mo_cps_scenario.inc(270,3) Fatal: Internal error 200309041
Note: the bug is not affected by options for optimization, inline nor smartlinking.
Additional information:
I got similar internal errors during compiling another part of my game engine (a separate EXE). It turned out the compiler was trying to report syntax errors but failing.
Confirmed by compiling using 2.6.4, rooting out all syntax errors then trying to compile several times using 3.0.0.rc1.
Also, a following behavior found: the compiler would compile some units then crash. When run again, it would compile more units, using previously created PPUs, then crash in another place. Finally, this process succeeded producing a working game executable.
Mantis conversion info:
- Mantis ID: 28639
- OS: Windows
- OS Build: 7
- Build: 3.0.0rc1 and 3.1.1
- Platform: Win32
- Version: 3.0.0
- Fixed in version: 3.1.1
- Fixed in revision: 31608 (#fbda104d)