Bug 3870 – Unexpected OPTLINK Termination at EIP=00403208

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
tools
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2010-03-03T06:43:00Z
Last change time
2017-01-10T01:40:20Z
Keywords
Optlink
Assigned to
nobody
Creator
mpiepk

Attachments

IDFilenameSummaryContent-TypeSize
581testcase.zipTestcase for the described errorapplication/zip424560

Comments

Comment #0 by mpiepk — 2010-03-03T06:43:32Z
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.
Comment #3 by nfxjfg — 2010-09-01T02:13:59Z
I wonder if the fix for bug 4009 fixes this too http://ftp.digitalmars.com/link.8.00.6.zip
Comment #4 by simen.kjaras — 2010-09-01T06:21:46Z
Fixed with link 8.00.6