Hi, I've just compiled cyprtopp-5.6.0 on OpenSolaris and got following crash while running "cryptest.exe v":
program terminated by signal SEGV (no mapping at the fault address) Current function is CryptoPP::CountWords 10 while (N && X[N-1]==0) (dbx) where =>[1] CryptoPP::CountWords(X = 0x6e6f6974, N = 1668183366U), line 10 in "words.h" [2] CryptoPP::Integer::WordCount(this = 0x9bbb8e0), line 3052 in "integer.cpp" [3] CryptoPP::Integer::Integer(this = 0x8044c9c, t = CLASS), line 2774 in "integer.cpp" [4] CryptoPP::RSAFunction::PreimageBound(this = 0x9bbb8d4), line 38 in "rsa.h" [5] CryptoPP::NameValuePairs::GetValue<CryptoPP::RSAFunction>(this = 0x8044c9c, name = 0x9bbb8d4 "ThisObject:CryptoPP::RSAFunction", value = CLASS), line 264 in "cryptlib.h" [6] CryptoPP::NameValuePairs::GetThisObject<CryptoPP::RSAFunction>(this = 0x8044c9c, object = CLASS), line 250 in "cryptlib.h" [7] CryptoPP::AssignFromHelperClass<CryptoPP::RSAFunction,CryptoPP::RSAFunction>::AssignFromHelperClass(this = 0x80445e8, pObject = 0x8044c54, source = CLASS), line 187 in "algparam.h" [8] CryptoPP::AssignFromHelper<CryptoPP::RSAFunction>(pObject = 0x8044c54, source = CLASS), line 237 in "algparam.h" [9] CryptoPP::RSAFunction::AssignFrom(this = 0x8044c54, source = CLASS), line 88 in "rsa.cpp" [10] CryptoPP::PK_FinalTemplate<CryptoPP::TF_VerifierImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15,CryptoPP::Weak1::MD2,CryptoPP::RSA,int>,CryptoPP::RSA,CryptoPP::PKCS1v15_SignatureMessageEncodingMethod,CryptoPP::Weak1::MD2> > >::PK_FinalTemplate(this = 0x8044c48, algorithm = CLASS), line 1500 in "pubkey.h" [11] ValidateRSA(), line 273 in "validat2.cpp" [12] ValidateAll(thorough = false), line 105 in "validat1.cpp" [13] Validate(alg = 0, thorough = false, seedInput = (nil)), line 775 in "test.cpp" [14] main(argc = 2, argv = 0x804775c), line 309 in "test.cpp" Has anybody seen this crash before? I build cyprocpp with "gmake CXX=CC CXXFLAGS=-g", CC is sunstudio12.1 BTW: I had to remove the keyword static for some methods in ecrypto.cpp, for sunstudio 12.1 to build and link correctly: ConvertInteger, CheckMOVCondition, GetRecommendedParameters - Thomas -- 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.
