[Issue 14692] SIGSEGV during SHA.put

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 7 05:45:11 PDT 2015


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

--- Comment #6 from Rory <rjmcguire at gmail.com> ---
More brain dump stuff, because I've run out of time looking at this for now:

>From what I can tell it appears that transform() is invalid in DMD and LDC.
I do not have this problem in GDC which has an outdated frontend.

This is the code at #2  0x0000000000713072 in std.digest.sha.SHA!(512,
160).SHA.finish() (this=0x7fffffffd160, __HID34=0x7fffffffd1d0) at
/usr/include/dmd/phobos/std/digest/sha.d:768

     transform (&state, &buffer);

Seems it calls into no where.

transform is supposed to be setup in line 235:
        alias transform = transformSHA2!ulong;

--


More information about the Digitalmars-d-bugs mailing list