https://bugs.winehq.org/show_bug.cgi?id=44699
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com --- I tried using the prebuilt binary from upstream: https://releases.llvm.org/6.0.0/LLVM-6.0.0-win64.exe
(In reply to Martell from comment #4)
Created attachment 60716 [details] CryptAcquireContextW PROV_RSA_FULL CRYPT_VERIFYCONTEXT TEST
#include <stdio.h> #include <windows.h> #include <wincrypt.h> // -ladvapi32 int main(int argc, char* argv[]) { HCRYPTPROV provider; if (!CryptAcquireContextW(&provider, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { printf("failed world\n"); return -1; } printf("successful world\n"); return 0; } compiled with `x86_64-w64-mingw32-clang test-crypto.c -o test-crypto-c-x86_64.exe -ladvapi32`
I apparently missed the binary.
Yes, this is fixed:
austin@debian:~/Downloads$ /opt/oldwow64/wine-5.6/bin/wine test-crypto-c-x86_64.exe 000b:err:seh:setup_exception stack overflow 1856 bytes in thread 000b eip 000000007bcafe18 esp 0000000000130ed0 stack 0x130000-0x132000-0x230000 000f:err:seh:setup_exception stack overflow 1856 bytes in thread 000f eip 000000007bcafe18 esp 0000000000130ed0 stack 0x130000-0x132000-0x230000 failed world
austin@debian:~/Downloads$ /opt/oldwow64/wine-6.0/bin/wine test-crypto-c-x86_64.exe successful world
I'll leave it to someone else to bisect the actual fix, if they have time/interest.