[Issue 8222] New: Optlink crashes when debug info is enabled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 11 08:21:19 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8222

           Summary: Optlink crashes when debug info is enabled
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optlink
        AssignedTo: nobody at puremagic.com
        ReportedBy: renezwanenburg at gmail.com


--- Comment #0 from Rene Zwanenburg <renezwanenburg at gmail.com> 2012-06-11 08:23:27 PDT ---
I've been struggling with an Optlink crash for the last two weeks now. There's
no clear offending code, it just 'sometimes happens' when hitting the build
key. The crash is consistent, so when I try to recompile the exact same code
Optlink will crash every time. After making some minor changes the problem will
usually go away. However, at the moment I can't find a way to work around it.

The project is medium sized, 66 modules, and I have no idea how to isolate a
small piece of code to reproduce the error. Like I said above, the error comes
up when working on completely different parts of the code.

So far the crash only occurs when debug info has been generated, so the problem
appears to be related to the presence of debug info. There's no difference
between -g and -gc.

The error message I get is:

Unexpected OPTLINK Termination at EIP=00428DA3
EAX=00000240 EBX=00000541 ECX=0043F7B4 EDX=00000240 ESI=02B23DC0 EDI=0043FD44
EBP=0018FF04 ESP=0018FEF8 First=00402000

I'm not sure if the message is the same with different code. I tried to get it
to fail with modified code, but you know how it works: when you try to make
something fail...

I know it's not much to go on. If I should provide any additional information
please let me know.

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


More information about the Digitalmars-d-bugs mailing list