[Issue 6576] New: std.string.format for struct crash on Linux 64bit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 30 03:05:00 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6576

           Summary: std.string.format for struct crash on Linux 64bit
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: rk3dov at gmail.com


--- Comment #0 from rk3dov at gmail.com 2011-08-30 03:04:54 PDT ---
Attached example works on Mac OS 32bit and crashes on Linux 64bit:
---------------------------
% ./teststruct
a: I'm Foo
core.exception.AssertError at teststruct.d(9): null this
---------------------------

When changing
    int x;
    int[] a;
    int[] b;
to, e.g.
    int x;
    int[] a;
or
    int[] a;
    int[] b;
problem disappears.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list