EAX=000000B4 EBX=00000000 ECX=0000000B EDX=0043D794
ESI=00443CC4 EDI=02A80000 EBP=0012FF8C ESP=0012FE20
First=00402000
This only happens when compiling a very big project. I was unable to extract a reasonable testcase.
The error only happens when compiling in Debug mode (-debug -unittest -g), not in Release mode (-release -O).
Linking used to work under debug mode, but as the program was enlarged, this regression suddenly happened (without changing the flags).
Actually, it still works when I remove some lines which instantiate a lot of templates.
Comment #1 by mpiepk — 2010-03-03T07:35:53Z
Created attachment 581
Testcase for the described error
I tried creating a minimal "testcase" from the huge project and ended up with 2 object files that cause an OPTLINK crash when linked. However, the error is slightly different:
Unexpected OPTLINK Termination at EIP=00403210
EAX=0000000C EBX=00000000 ECX=00000004 EDX=0043D794
ESI=00443C1C EDI=01030000 EBP=0012FF8C ESP=0012FE24
First=00402000
Comment #2 by nfxjfg — 2010-03-26T04:39:30Z
Possibly the same as bug 4009. See a compileable test case there. But the register contents (including EIP) are different.