← Back to index
|
Original Bugzilla link
Bug 22846 – [REG 2.066] SIGBUS, Bus error in _d_newarrayiT
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2022-03-04T14:42:03Z
Last change time
2022-03-04T21:46:00Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw
See also
https://issues.dlang.org/show_bug.cgi?id=22844
Comments
Comment #0
by ibuclaw — 2022-03-04T14:42:03Z
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
Comment #1
by dlang-bot — 2022-03-04T17:03:58Z
@ibuclaw created dlang/druntime pull request #3775 "fix Issue 22846 - [REG 2.066] SIGBUS, Bus error in _d_newarrayiT" fixing this issue: - fix Issue 22846 - [REG 2.066] SIGBUS, Bus error in _d_newarrayiT
https://github.com/dlang/druntime/pull/3775
Comment #2
by dlang-bot — 2022-03-04T21:46:00Z
dlang/druntime pull request #3775 "fix Issue 22846 - [REG 2.066] SIGBUS, Bus error in _d_newarrayiT" was merged into master: - 088ed57f960cf9a71413d43d04ec36c662b3bdc5 by Iain Buclaw: fix Issue 22846 - [REG 2.066] SIGBUS, Bus error in _d_newarrayiT
https://github.com/dlang/druntime/pull/3775