[Issue 315] New: Exception handling is broken for delegates on Linux

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 28 20:14:17 PDT 2006


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

           Summary: Exception handling is broken for delegates on Linux
           Product: D
           Version: 0.165
          Platform: PC
               URL: http://www.digitalmars.com/pnews/read.php?server=news.di
                    gitalmars.com&group=digitalmars.D.bugs&artnum=7180
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: juanjo at comellas.com.ar


There is a code generation bug on Linux that was found by Mikola Lysenko that
has been present since DMD 0.150 . The link associated to this bug report has
an example that shows this problem and an explanation of the problem. The
following paragraph has been copied verbatim from the original report:

As of version 0.150, the offsets of the code within a delegate's function
handler are not correctly calculated.  All of them seem to be set relative to
the address of the first delegate declared within the scope.  This results in
the following code breaking. The Windows version does not have this problem.


-- 




More information about the Digitalmars-d-bugs mailing list