Thread overview
[Issue 5767] New: Optlink crash
Mar 22, 2011
Andrej Mitrovic
Mar 23, 2011
changlon
Mar 23, 2011
Andrej Mitrovic
Mar 23, 2011
Andrej Mitrovic
March 22, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5767

           Summary: Optlink crash
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-03-22 15:08:43 PDT ---
Using: OPTLINK (R) for Win32  Release 8.00.11

No test case yet.
If I comment out just one call to writefln(), then the linker won't crash.
Otherwise it crashes with:

---------------------------
Unexpected OPTLINK Termination at EIP=00000000
---------------------------
EAX=00000001 EBX=00000034 ECX=00000000 EDX=0000003C ESI=00441BD0 EDI=02540008 EBP=0012FFF0 ESP=0012FF8C First=00402000
---------------------------

The project has about 20 files divided into libraries, about 6000 lines. So here's what I'll do: If I can successfully compile my project with GDC, then I won't bother even with Optlink. Otherwise I'll do what I can to make a simple test case.

Have I mentioned how much I hate Optlink?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5767


changlon <changlon@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |changlon@gmail.com


--- Comment #1 from changlon <changlon@gmail.com> 2011-03-22 18:04:38 PDT ---
There is a optlink 8.00.12, you may want try it .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5767



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-03-22 18:25:01 PDT ---
Nope, same results. On the other hand it looks like I'll be able to use GDC.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5767


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-03-22 22:18:36 PDT ---
Well I've refactored my packages and it now builds again. It took me a few hours.. Lesson of the day: Keep it simple stupid? :s

I'm closing this down since I can't reproduce anymore. Until next time, Optlink.

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