[openssl-users] Unhandled exception at 0x005904dc (libeay32.dll) (Windows x86)
Scott Ware
wsware at gmail.com
Mon Aug 22 18:09:16 UTC 2016
We use libeay32.dll and ssleay32.dll from
https://slproweb.com/products/Win32OpenSSL.html in our applications and we
recently moved from version 1.0.2a to 1.0.2g and now on a few machines
running a AMD Geode processor we are getting "Unhandled exception at
0x005904dc (libeay32.dll) in Test.exe: 0xC000001D: Illegal Instruction". We
ended up building OpennSSL so we could debug into it and found it is
failing on "movsd xmm0,mmword" (see below) which the AMD Geode does not
seem to support. I have tried "SET OPENSSL_ia32cap=~0x1000000", "SET
OPENSSL_ia32cap=~0x2000000", and "SET OPENSSL_ia32cap=~0x7000000"; and
nothing seems to change. I may not be using OPENSSL_ia32cap correctly. This
happens when calling SSL_CTX_new which then calls RAND_add.
Any ideas on the best thing to do? We don't want to have to manage
different compiled versions of libeay32.dll and ssleay32.dll if we can help
it.
Thanks,
Scott Ware
====================
Unhandled exception at 0x005904dc (libeay32.dll) in Test.exe: 0xC000001D:
Illegal Instruction.
====================
if (netstatget(NULL, L"LanmanWorkstation", 0, 0, &outbuf) == 0)
{
005904B6 lea edx,[outbuf]
005904BC push edx
005904BD push 0
005904BF push 0
005904C1 push offset string L"LanmanWorkstation" (629C8Ch)
005904C6 push 0
005904C8 call dword ptr [netstatget]
005904CE test eax,eax
005904D0 jne RAND_poll+16Ah (59050Ah)
RAND_add(outbuf, sizeof(STAT_WORKSTATION_0), 45);
005904D2 mov eax,8
005904D7 call _chkstk (611F20h)
=>005904DC movsd xmm0,mmword ptr [__real at 4046800000000000 (629E90h)]
005904E4 movsd mmword ptr [esp],xmm0
005904E9 push 0D8h
005904EE mov eax,dword ptr [outbuf]
005904F4 push eax
005904F5 call RAND_add (58FF10h)
005904FA add esp,10h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160822/bd4ad1ed/attachment-0001.html>
More information about the openssl-users
mailing list