www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15628] New: Exceptions in fibers never caught with /SAFESEH

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 puremagic.com
          Reporter: r.sagitario 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.

--
Jan 30