www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14370] New: writeln() crashes on invalid dchar


          Issue ID: 14370
           Summary: writeln() crashes on invalid dchar
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: erikas.aubade gmail.com

The following code seems to cause, depending on system and implementation,
either a segfault, sigabrt, or "HLT instruction" exception.

import std.stdio;
import std.encoding;

void main() {

Mar 28 2015