[Issue 19263] New: Segfault trying to print out a default-initialized SysTime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 11:22:49 UTC 2018


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

          Issue ID: 19263
           Summary: Segfault trying to print out a default-initialized
                    SysTime
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

-----
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.

--


More information about the Digitalmars-d-bugs mailing list