Hi,

I have been using the library on x86_64 without problems when compiled with 
VS2010. 

However, I ran into a severe problem compiling configuration Release on x64 
with VS2012:
- the dlltest application segfaults immediately upon startup with the 
following stack trace:

>    
cryptopp.dll!CryptoPP::SignerFilter::SignerFilter(CryptoPP::RandomNumberGenerator
 
& rng, const CryptoPP::PK_Signer & signer, CryptoPP::BufferedTransformation 
* attachment, bool putMessage) Line 390    C++
     cryptopp.dll!CryptoPP::SignaturePairwiseConsistencyTest(const 
CryptoPP::PK_Signer & signer, const CryptoPP::PK_Verifier & verifier) Line 
216    C++
     
cryptopp.dll!CryptoPP::SignaturePairwiseConsistencyTest<CryptoPP::ECDSA<CryptoPP::EC2N,CryptoPP::SHA1>
 
>(const char * key, CryptoPP::ECDSA<CryptoPP::EC2N,CryptoPP::SHA1> * dummy) 
Line 237    C++
     cryptopp.dll!CryptoPP::DoPowerUpSelfTest(const char * moduleFilename, 
const unsigned char * expectedModuleMac) Line 549    C++
     cryptopp.dll!DllMain(void * hModule, unsigned long ul_reason_for_call, 
void * lpReserved) Line 596    C++
     cryptopp.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long 
dwReason, void * lpreserved) Line 362    C
     ntdll.dll!000000007712b0d8()    Unknown

This does not happen for config Release Win32, but I need to use the 
library in a VS2012 64-bit application.

Does anybody know how to fix this problem?

Regards,
Ron

PS.: There is a configuration error that should be fixed, as the custom 
build step is wrong. 
The command line points to cryptest.exe in the Win32 folder but should 
really say x64 or ${Platform}.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to