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


--- Comment #0 from mpiepk gmail.com 2010-03-03 06:43:32 PST ---
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



--- Comment #1 from mpiepk gmail.com 2010-03-03 07:35:53 PST ---
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



--- Comment #2 from nfxjfg gmail.com 2010-03-26 04:39:30 PDT ---
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



--- Comment #3 from nfxjfg gmail.com 2010-09-01 02:13:59 PDT ---
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


--- Comment #4 from Simen Kjaeraas <simen.kjaras gmail.com> 2010-09-01 06:21:46
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