[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 17 05:27:26 PDT 2014


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

John Colvin <john.loughran.colvin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody at puremagic.com        |bugzilla at digitalmars.com
            Summary|Segmentation fault in       |Static arrays of 128bit
                   |main()                      |types segfault on
                   |                            |initialization. Incorrect
                   |                            |calling of memset128ii.
           Severity|critical                    |regression

--- Comment #14 from John Colvin <john.loughran.colvin at gmail.com> ---
I just ran in to this again with something equivalent to Ali's case above.

My previous attempts to fix this never got anywhere. I could get it working but
then other things broke, rinse and repeat... Does anyone have any clue how to
do this?

It's a pretty glaring hole to segfault any time someone declares a static array
of 128 bit types (excluding cdouble, which has it's own memset overload).

I'm marking this a regression as, whatever the reason, it worked with 2.065.0

Walter I've assigning you because it seems likely that
https://github.com/D-Programming-Language/dmd/commit/6c2a2878200e0df1c73db976a747abf61b6a5e1a)
and
(https://github.com/D-Programming-Language/druntime/commit/a405a02394e2c26c6a66c3fc5ef3777bb86cd973
caused it, but I'm not certain.

--


More information about the Digitalmars-d-bugs mailing list