[Issue 15628] New: Exceptions in fibers never caught with /SAFESEH

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 30 00:57:14 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15628

          Issue ID: 15628
           Summary: Exceptions in fibers never caught with /SAFESEH
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: r.sagitario at gmx.de

When a Win32 program is linked with /SAFESEH (not supported by DMD, but with
LDC), a unittest in core.thread fails, i.e. the one with throwAndYield(). 

The exception is never caught because the OS considers the exception chain
invalid.

--


More information about the Digitalmars-d-bugs mailing list