Good day,
I'm compiling some C++ examples using "Cryptopp 8.2.0" and "Mingw-w64" on Windows 7 (x64) and all crash when executing. The examples are "Crypto++ GCM Test" (from Cryptopp site) and others that I have found here on Stack. All compile OK. The strange thing is that I tested this same setup 2 weeks ago (before a full OS reinstall) and I didn't experience crashes.
Cryptopp 8.2.0 Downloaded this build and used "libcryptopp.a" https://packages.msys2.org/package/mingw-w64-x86_64-crypto++
Mingw-w64 gcc-10.2.0-mingw-w64-8.0.0-r1
Windows 7 Crash Log Problem Event Name: APPCRASH Application Name: a.exe Application Version: 0.0.0.0 Application Timestamp: 5f77518e Fault Module Name: StackHash_dbce Fault Module Version: 6.1.7601.24384 Fault Module Timestamp: 5c6e245d Exception Code: c0000374 Exception Offset: 00000000000bf302 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033 Additional Information 1: dbce Additional Information 2: dbce16d62f50f2b2931f8e5692998f10 Additional Information 3: 8f4d Additional Information 4: 8f4dc2cb1c713a0218de25ff7b749f7d
Also tested with gcc-10.1 (previous version but same crashes). I appreciate the help. Thanks
Edit
- This example cryptopp.com/wiki/GCM_Mode#AEAD (Only crashes no output)
- This example Example of AES using Crypto++ (Shows output but then crashes)
- Compiling OK like this: g++ Driver.cpp -lcryptopp
- Tested the same setup Mingw64+Cryptopp on Win 8 and had the same crash.