www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3870] New: Unexpected OPTLINK Termination at EIP=00403208

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3870

           Summary: Unexpected OPTLINK Termination at EIP=00403208
           Product: D
           Version: 1.056
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optlink
        AssignedTo: nobody puremagic.com
        ReportedBy: mpiepk gmail.com



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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 03 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3870




Created an attachment (id=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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 03 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3870




Possibly the same as bug 4009. See a compileable test case there. But the
register contents (including EIP) are different.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 26 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3870




I wonder if the fix for bug 4009 fixes this too
http://ftp.digitalmars.com/link.8.00.6.zip

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 01 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3870


Simen Kjaeraas <simen.kjaras gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kjaras gmail.com
         Resolution|                            |FIXED



PDT ---
Fixed with link 8.00.6

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 01 2010