July 21, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- | ||||
July 21, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #23 from github-bugzilla@puremagic.com --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/eaef472a9e4ded15360a8a8de9c36b8b3cd07059 fix Issue 9449 - Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii -- | ||||
July 21, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #24 from github-bugzilla@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ff80144f49f7ca8dd376a8ce671c1600d033506a Merge pull request #901 from WalterBright/fix9449 [critical] partial Issue 9449 - Static arrays of 128bit types segfault on initializa... -- | ||||
July 21, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #25 from github-bugzilla@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7a12ad9615931b5247c7c1d5fa29d969cc6aa1cc Merge pull request #3784 from WalterBright/fix9449 [critical] fix Issue 9449 - Static arrays of 128bit types segfault on initializatio... -- | ||||
August 22, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #26 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ff80144f49f7ca8dd376a8ce671c1600d033506a Merge pull request #901 from WalterBright/fix9449 -- | ||||
August 22, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #27 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7a12ad9615931b5247c7c1d5fa29d969cc6aa1cc Merge pull request #3784 from WalterBright/fix9449 -- | ||||
August 31, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 dbr <dbugreporter@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dbugreporter@gmail.com --- Comment #28 from dbr <dbugreporter@gmail.com> --- This still segfaults with dmd 2.066 (64-bit linux): void main() { float[4][2] m = [[2.0, 1, 3, 4], [2.0, 1, 3, 4]]; } Dump of assembler code for function _Dmain: 0x000000000041a160 <+0>: push rbp 0x000000000041a161 <+1>: mov rbp,rsp 0x000000000041a164 <+4>: sub rsp,0x40 0x000000000041a168 <+8>: lea rax,[rbp-0x30] 0x000000000041a16c <+12>: movabs rsi,0x2 0x000000000041a176 <+22>: movss xmm0,DWORD PTR [rip+0x183e2] # 0x432560 0x000000000041a17e <+30>: movss DWORD PTR [rbp-0x10],xmm0 0x000000000041a183 <+35>: mov ecx,0x3f800000 0x000000000041a188 <+40>: mov DWORD PTR [rbp-0x40],ecx 0x000000000041a18b <+43>: movss xmm1,DWORD PTR [rbp-0x40] 0x000000000041a190 <+48>: movss DWORD PTR [rbp-0xc],xmm1 0x000000000041a195 <+53>: movss xmm2,DWORD PTR [rip+0x183c7] # 0x432564 0x000000000041a19d <+61>: movss DWORD PTR [rbp-0x8],xmm2 0x000000000041a1a2 <+66>: movss xmm3,DWORD PTR [rip+0x183be] # 0x432568 0x000000000041a1aa <+74>: movss DWORD PTR [rbp-0x4],xmm3 0x000000000041a1af <+79>: lea rdi,[rbp-0x10] 0x000000000041a1b3 <+83>: push QWORD PTR [rdi+0x8] 0x000000000041a1b6 <+86>: push QWORD PTR [rdi] 0x000000000041a1b8 <+88>: mov rdi,rax 0x000000000041a1bb <+91>: call 0x41ad5c <_memset128ii> 0x000000000041a1c0 <+96>: add rsp,0x10 0x000000000041a1c4 <+100>: xor eax,eax 0x000000000041a1c6 <+102>: leave 0x000000000041a1c7 <+103>: ret -- | ||||
September 15, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 dbr <dbugreporter@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #29 from dbr <dbugreporter@gmail.com> --- Reopened for this: void main() { float[4][2] m = [[2.0, 1, 3, 4], [2.0, 1, 3, 4]]; // segfault } -- | ||||
October 07, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #30 from Walter Bright <bugzilla@digitalmars.com> --- https://github.com/D-Programming-Language/dmd/pull/4049 -- | ||||
October 07, 2014 [Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii. | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #31 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/30b689c4ddeefe73bff05caba181447329621d57 add test case for Issue 9449 https://github.com/D-Programming-Language/dmd/commit/e308d06df5cb6447728f3a3e05259fc835acf677 Merge pull request #4049 from WalterBright/fix9449 add test case for Issue 9449 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply