Bug 18547 – Win32: throwing exception in fiber crashes application
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2018-03-02T15:53:15Z
Last change time
2018-03-11T11:00:48Z
Keywords
pull
Assigned to
No Owner
Creator
Rainer Schuetze
Comments
Comment #0 by r.sagitario — 2018-03-02T15:53:15Z
test15779.d crashes for Win32 (and Win32/COFF) if compiled without -gx (or with -O):
import core.thread;
int main()
{
try
{
bar();
}
catch (Exception e)
{
}
return 0;
}
void bar()
{
new Fiber({ throw new Exception("fly"); }).call();
}
The auto-tester currently disables it for Win64, though.