Bug 19263 – Segfault trying to print out a default-initialized SysTime
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2018-09-25T11:22:49Z
Last change time
2018-11-28T12:00:37Z
Assigned to
No Owner
Creator
Andrej Mitrovic
Comments
Comment #0 by andrej.mitrovich — 2018-09-25T11:22:49Z
-----
import std.datetime;
import std.stdio;
void main ( )
{
SysTime systime;
writeln(systime);
}
-----
The above segfaults at runtime.
Using DMD v2.081.1 on Linux x64.