Thread overview
[Issue 2688] New: struct assignment crashes on darwin ppc64
Feb 25, 2009
d-bugmail
Aug 05, 2010
Iain Buclaw
Jul 06, 2012
Iain Buclaw
February 25, 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@users.sf.net
        ReportedBy: afb@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


-- 

August 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2688


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@ubuntu.com
         AssignedTo|dvdfrdmn@users.sf.net       |ibuclaw@ubuntu.com


--- Comment #1 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-05 14:14:22 PDT ---
End mass reassign of all gdc bugs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 06, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=2688


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


--- Comment #2 from Iain Buclaw <ibuclaw@ubuntu.com> 2012-07-06 05:25:23 PDT ---
I think Struct assignments now generate an implicit memcpy in GDC now.  So I don't think this issue would happen given that you are still able to build for PPC64.  I'll have a check on this though.

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