[Issue 2688] New: struct assignment crashes on darwin ppc64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 24 23:13:23 PST 2009


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

           Summary: struct assignment crashes on darwin ppc64
           Product: DGCC aka GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: afb at algonet.se


A simple struct assignment dereferences null:

tango/net/cluster/tina/QueueFile.d:120: internal compiler error: Bus error

        struct Header                           // 16 bytes
        {
                uint    size,                   // size of the current chunk
                        prior;                  // size of the prior chunk
                ushort  check;                  // simpe header checksum
                ubyte   pad;                    // how much padding applied?
                byte[5] unused;                 // future use
        }

http://dsource.org/projects/tango/ticket/1494


-- 



More information about the D.gnu mailing list