[Issue 16545] New: Runtime crash when trying to append big int value to string

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 26 11:36:54 PDT 2016


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

          Issue ID: 16545
           Summary: Runtime crash when trying to append big int value to
                    string
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: skocznymr at gmail.com

Found on DMD32 D Compiler v2.070.2. According to IRC, reproduces on git HEAD
too.

The following code:

void main()
{
    string s;
    uint x = 123424121;
    s ~= x;
}


crashes at runtime with error:

object.Error@(0): assert(0) or HLT instruction

--


More information about the Digitalmars-d-bugs mailing list