aMule Forum
English => Backtraces => Topic started by: errorek on October 17, 2004, 01:42:33 AM
-
I had problems with 1.2 so i was told to change to 2.0 i did and ....still pproblems
It crashes during working :/:
OOPS! - Seems like aMule crashed.
Version is: aMule 2.0.0rc6 using wxGTK2 v2.5.1
--== BACKTRACE FOLLOWS: ==--
- amule(_ZN9CamuleApp16OnFatalExceptionEv+0x41) [0x824af01]
[1] /usr/local/lib/libwx_base-2.5.so.1(wxFatalSignalHandler+0x1e)
[0x4057150e]
[2] [0xffffe420]
[3] amule(_ZN8CryptoPP11P4Optimized9Multiply4EPjPKjS3_+0x2d) [0x8269bcb]
[4] amule(_ZN8CryptoPP20RecursiveMultiplyTopEPjS0_PKjS2_S2_j+0x3de) [0x826af18]
[5] amule(_ZN8CryptoPP25RecursiveInverseModPower2EPjS0_PKjj+0x97) [0x826b29d]
[6] amule(_ZN8CryptoPP25RecursiveInverseModPower2EPjS0_PKjj+0x36) [0x826b23c]
[7] amule(_ZN8CryptoPP24MontgomeryRepresentationC1ERKNS_7IntegerE+0x17e) [0x8278b7a]
[8] amule(_ZNK8CryptoPP17ModularArithmetic24SimultaneousExponentiateEPNS_7IntegerERKS1_PS3_j+0x45) [0x8277d8d]
[9] amule(_ZNK8CryptoPP12AbstractRingINS_7IntegerEE12ExponentiateERKS1_S4_+0x3c) [0x828fdde]
[10] amule(_ZNK8CryptoPP21InvertibleRSAFunction16CalculateInverseERNS_21RandomNumberGeneratorERKNS_7IntegerE+0x1f1) [0x8286ecd]
[11] amule(_ZNK8CryptoPP23TrapdoorFunctionInverse26CalculateRandomizedInverseERNS_21RandomNumberGeneratorERKNS_7IntegerE+0x29) [0x80fe7a7]
[12] amule(_ZNK8CryptoPP13TF_SignerBase14SignAndRestartERNS_21RandomNumberGeneratorERNS_21PK_MessageAccumulatorEPhb+0x20e)[0x827e002]
[13] amule(_ZNK8CryptoPP9PK_Signer11SignMessageERNS_21RandomNumberGeneratorEPKhjPh+0x59) [0x825f33d]
[14] amule(_ZN18CClientCreditsList15CreateSignatureEP14CClientCreditsPhhjhPv+0x13c) [0x80f7148]
[15] amule(_ZN13CUpDownClient19SendSignaturePacketEv+0xd0) [0x80e3ef4]
[16] amule(_ZN13CUpDownClient22ProcessPublicKeyPacketEPKhj+0x1e9) [0x80e448f]
[17] amule(_ZN16CClientReqSocket16ProcessExtPacketEPKcjh+0x11cc) [0x80cfac2]
[18] amule(_ZN16CClientReqSocket14PacketReceivedEP6Packet+0x104) [0x80d1684]
[19] amule(_ZN9CEMSocket9OnReceiveEi+0x143) [0x80d49a1]
[20] amule(_ZN23CClientReqSocketHandler22ClientReqSocketHandlerER13wxSocketEvent+0x93) [0x80d1987]
[21] /usr/local/lib/libwx_base-2.5.so.1(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x2e) [0x404fbd6a]
Please help
-
hum. could you plz recompile amule using --disable-optimize --enable-debug and run it in gdb ?
more info about here -> http://www.amule.org/amule/thread.php?threadid=298&sid=
cheers
delta
-
Please tell us your CXXFLags you used to compile aMule with.
-
when i run gdb amule then
ha SIGPIPE nostop noprint pass
and run
it statrs amule but it is frozeen so that i cannot do nothing.
CXXFLAGS=" -Os -march=pentium4 -pipe -s -DNDEBUG -DG_DISABLE_ASSERT -fomit-frame-pointer"
Thanks in advance for help
-
But when i run it fresh (after removing all config file i HOME_DIR (.aMule(dir) .eMule).
Segmention fault is
so..
bt:
(gdb) bt
#0 0x08269a78 in CryptoPP::PentiumOptimized::Multiply8Bottom(unsigned*, unsigned const*, unsigned const*) ()
#1 0x08269bcb in CryptoPP::P4Optimized::Multiply4(unsigned*, unsigned const*, unsigned const*) ()
#2 0x0826af18 in CryptoPP::RecursiveMultiplyTop(unsigned*, unsigned*, unsigned const*, unsigned const*, unsigned const*, unsigned) ()
#3 0x0826b29d in CryptoPP::RecursiveInverseModPower2(unsigned*,unsigned*, unsigned const*, unsigned) ()
#4 0x08278b7a in CryptoPP::MontgomeryRepresentation::MontgomeryRepresentation(CryptoPP::Integer const&) ()
#5 0x08277d8d in CryptoPP::ModularArithmetic::SimultaneousExponentiate(CryptoPP::Integer*, CryptoPP::Integer const&, CryptoPP::Integer const*, unsigned) const ()
#6 0x0828fdde in CryptoPP::AbstractRing::Exponentiate(CryptoPP::Integer const&, CryptoPP::Integer const&) const ()
#7 0x08273f27 in CryptoPP::a_exp_b_mod_c(CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&) ()
#8 0x0825fce7 in CryptoPP::IsStrongProbablePrime(CryptoPP::Integer const&, CryptoPP::Integer const&) ()
#9 0x08264321 in CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) ()
#10 0x08264071 in CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) ()
#11 0x082703bb in CryptoPP::Integer::GenerateRandomNoThrow(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) ()
#12 0x08284094 in CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) ()
#13 0x082853e8 in CryptoPP::InvertibleRSAFunction::Initialize(CryptoPP::RandomNumberGenerator&, unsigned, CryptoPP::Integer const&) ()
#14 0x080f53ba in CClientCreditsList::CreateKeyPair() ()
#15 0x080f6297 in CClientCreditsList::InitalizeCrypting() ()
#16 0x080f2eb0 in CClientCreditsList::CClientCreditsList(CPreferences*) ()
#17 0x08246c41 in CamuleApp::OnInit() ()
#18 0x0824e063 in wxAppConsole::CallOnInit() ()
#19 0x4052da27 in wxEntry(int&, char**) ()
from /usr/local/lib/libwx_base-2.5.so.1
#20 0x0824512d in main ()
bt full:
#0 0x08269a78 in CryptoPP::PentiumOptimized::Multiply8Bottom(unsigned*, unsigned const*, unsigned const*) ()
No symbol table info available.
#1 0x08269bcb in CryptoPP::P4Optimized::Multiply4(unsigned*, unsigned const*, unsigned const*) ()
No symbol table info available.
#2 0x0826af18 in CryptoPP::RecursiveMultiplyTop(unsigned*, unsigned*, unsigned const*, unsigned const*, unsigned const*, unsigned) ()
No symbol table info available.
#3 0x0826b29d in CryptoPP::RecursiveInverseModPower2(unsigned*,unsigned*, unsigned const*, unsigned) ()
No symbol table info available.
#4 0x08278b7a in CryptoPP::MontgomeryRepresentation::MontgomeryRepresentation(CryptoPP::Integer const&) ()
No symbol table info available.
#5 0x08277d8d in CryptoPP::ModularArithmetic::SimultaneousExponentiate(CryptoPP::Integer*, CryptoPP::Integer const&, CryptoPP::Integer const*, unsigned) const ()
No symbol table info available.
#6 0x0828fdde in CryptoPP::AbstractRing::Exponentiate(CryptoPP::Integer const&, CryptoPP::Integer const&) const ()
No symbol table info available.
#7 0x08273f27 in CryptoPP::a_exp_b_mod_c(CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&) ()
No symbol table info available.
#8 0x0825fce7 in CryptoPP::IsStrongProbablePrime(CryptoPP::Integer const&, CryptoPP::Integer const&) ()
No symbol table info available.
#9 0x08264321 in CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) ()
No symbol table info available.
#10 0x08264071 in CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) ()
No symbol table info available.
#11 0x082703bb in CryptoPP::Integer::GenerateRandomNoThrow(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) ()
No symbol table info available.
#12 0x08284094 in CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) ()
No symbol table info available.
#13 0x082853e8 in CryptoPP::InvertibleRSAFunction::Initialize(CryptoPP::RandomNumberGenerator&, unsigned, CryptoPP::Integer const&) ()
No symbol table info available.
#14 0x080f53ba in CClientCreditsList::CreateKeyPair() ()
No symbol table info available.
#15 0x080f6297 in CClientCreditsList::InitalizeCrypting() ()
No symbol table info available.
#16 0x080f2eb0 in CClientCreditsList::CClientCreditsList(CPreferences*) ()
No symbol table info available.
#17 0x08246c41 in CamuleApp::OnInit() ()
No symbol table info available.
#18 0x0824e063 in wxAppConsole::CallOnInit() ()
No symbol table info available.
#19 0x4052da27 in wxEntry(int&, char**) ()
from /usr/local/lib/libwx_base-2.5.so.1
No symbol table info available.
#20 0x0824512d in main ()
No symbol table info available.
-
Ok, it seems that we cant have p4 optimization enabled in Crypto++ afterall, it's too frail.
I'll fix this in CVS so it'll be fixed in rc7, till then you can do this to get it working locally:
In the file CryptoPP.cpp, search for these two lines:
if (IsP4())
if (HasSSE2())
replace both with the following:
if (false)
-
I cannot run it even after it.
-
Pardon?