[Issue 22846] New: [REG 2.066] SIGBUS, Bus error in _d_newarrayiT

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 4 14:42:03 UTC 2022


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

          Issue ID: 22846
           Summary: [REG 2.066] SIGBUS, Bus error in _d_newarrayiT
           Product: D
           Version: D2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

Introduced by https://github.com/dlang/druntime/pull/760

See:
https://github.com/dlang/druntime/blob/c2bea906ffa490236029888b138050d342339862/src/rt/lifetime.d#L842-L849

Example of where an 8-byte struct has a 4-byte alignment:
https://github.com/dlang/dmd/blob/925f5279db223d398f7b0a0b9725537dccc25bf4/test/runnable/sdtor.d#L179-L199

--


More information about the Digitalmars-d-bugs mailing list