Bug 15628 – Exceptions in fibers never caught with /SAFESEH
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-01-30T08:57:14Z
Last change time
2018-01-05T13:27:11Z
Keywords
pull
Assigned to
No Owner
Creator
Rainer Schuetze
Comments
Comment #0 by r.sagitario — 2016-01-30T08:57:14Z
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.