aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: aMuled crashes immediately. wxFatalSignalHandler  (Read 13082 times)

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #15 on: October 04, 2009, 10:41:57 AM »

I don't know where and how debbugging symbols should be, but they don't shows up.  :'(
Also debug mode is surely enabled in this last one and it was i the 2 first compilations, not in the third. ;)

Maybe something keeps turning it off when the application is in runtime and it is started from gdb.  ??? ??? ???

I think that with those logs we can not understand what's going on....
Do you need the compiled executables ?

My distro has been installed 2 days ago, so it is fresh and only the kernel is recompiled but it is working well for other applications. :-\

Do you suggest me to downgrade to 2.2.5? or downgrade some other packages?
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #16 on: October 04, 2009, 10:47:23 AM »

I've extracted the compiled package manualy and i have

Code: [Select]
bash-3.1# file /home/mulo/pippo/usr/bin/amuled
/home/mulo/pippo/usr/bin/amuled: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #17 on: October 04, 2009, 10:50:06 AM »

Immediately after the compilation, before creating the package and applying permissions, i have

Code: [Select]
bash-3.1# file ./aMule-2.2.6/src/amuled
./aMule-2.2.6/src/amuled: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

so NOT STRIPPED
« Last Edit: October 04, 2009, 10:52:15 AM by puppyy »
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #18 on: October 04, 2009, 10:56:49 AM »

Bingo!

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.31.1-athlon i686

[2] CamuleApp::OnFatalException() in amule.cpp:1287
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7d65566]
[4] ?? in [0xffffe400]
[5] unsigned int CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord>(unsigned int*, unsigned int, unsigned int, CryptoPP::DWord*) in :0
[6] DivideFourWordsByTwo<unsigned int, CryptoPP::DWord> in integer.cpp:401
[7] ~SecBlock in secblock.h:297
[8] CryptoPP::Integer::Divide(CryptoPP::Integer&, CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&) in integer.cpp:3748
[9] CryptoPP::Integer::Modulo(CryptoPP::Integer const&) const in integer.cpp:3801
[10] operator% in integer.h:403
[11] CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) in nbtheory.cpp:424
[12] CryptoPP::Integer::GenerateRandomNoThrow(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in integer.cpp:3346
[13] CryptoPP::Integer::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in :0
[14] CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in rsa.cpp:121
[15] ~AlgorithmParameters in algparam.h:334
[16] CClientCreditsList::CreateKeyPair() in ClientCreditsList.cpp:264
[17] CClientCreditsList::InitalizeCrypting() in ClientCreditsList.cpp:316
[18] CClientCreditsList in ClientCreditsList.cpp:54
[19] CamuleApp::OnInit() in amule.cpp:717
[20] CamuleDaemonApp::OnInit() in amuled.cpp:678
[21] wxAppConsole::CallOnInit() in app.h:76
[22] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7cfb980]
[23] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7cfbba7]
[24] main in amuled.cpp:171
[25] __libc_start_main in /lib/libc.so.6[0xb7a156a5]
[26] _start in start.S:122


--------------------------------------------------------------------------------
Aborted


Code: [Select]
Starting program: /usr/bin/amuled
[Thread debugging using libthread_db enabled]
amuled: OnInit - starting timer
[New Thread 0xb7bb86d0 (LWP 2188)]
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)


Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7bb86d0 (LWP 2188)]
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=warning: (Internal error: pc 0x83a0d90 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x0)
    at integer.cpp:197
197 integer.cpp: No such file or directory.
in integer.cpp
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
« Last Edit: October 04, 2009, 11:12:18 AM by puppyy »
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #19 on: October 04, 2009, 10:59:19 AM »

backtrace
Code: [Select]
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

#0  CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x0)
    at integer.cpp:197
#1  0x08398fb6 in CryptoPP::Divide (R=0x98f0eb8, Q=0x98f2cd0, T=0x98f2d20, A=0x98f2c80, NA=8, B=0x98f0fe8, NB=2)
    at integer.cpp:400
#2  0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, a=@0xbfbfe4d4, b=@0xbfbfe6c8)
    at integer.cpp:3741
#3  0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, dividend=@0xbfbfe4d4,
    divisor=@0xbfbfe6c8) at integer.cpp:3746
#4  0x0839d51f in CryptoPP::Integer::Modulo (this=0xbfbfe4d4, b=@0xbfbfe6c8) at integer.cpp:3800
#5  0x083b2d98 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe6dc, mod=@0xbfbfe6c8,
    pSelector=0xbfbfecc4) at integer.h:403
#6  0x083b2d19 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe960, mod=@0xbfbfe938,
    pSelector=0xbfbfecc4) at nbtheory.cpp:424
#7  0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbfbfefa4, i_rng=@0xbfbff00c, params=@0xbfbfee3c)
    at integer.cpp:3346
warning: (Internal error: pc 0x83c4c08 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

#8  0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4be0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

0xbfbfefa4, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbfbff00c, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbfbfee3c) at integer.h:250
#9  0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbfbfef28, rng=@0xbfbff00c, alg=@0xbfbfeeb8)
    at rsa.cpp:120
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbfbfef28, rng=@0xbfbff00c, keybits=384, e=@0xbfbff014)
    at rsa.cpp:145
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x98f0698) at ClientCreditsList.cpp:264
#12 0x080a5f9c in CClientCreditsList::InitalizeCrypting (this=0x98f0698) at ClientCreditsList.cpp:316
#13 0x080a8457 in CClientCreditsList (this=0x98f0698) at ClientCreditsList.cpp:54
#14 0x0806dd92 in CamuleApp::OnInit (this=0x9859e90) at amule.cpp:717
#15 0x08058298 in CamuleDaemonApp::OnInit (this=0x9859e90) at amuled.cpp:678
#16 0x0805a47c in wxAppConsole::CallOnInit (this=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x9859e90) at /usr/include/wx-2.8/wx/app.h:76
#17 0xb7eba980 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7ebaba7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0805a20d in main (argc=Cannot access memory at address 0x629e8e54
) at amuled.cpp:171
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

bt full
Code: [Select]
(gdb) bt full
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

#0  CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x0)
    at integer.cpp:197
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

Q = 1654558292
p = <value optimized out>
#1  0x08398fb6 in CryptoPP::Divide (R=0x98f0eb8, Q=0x98f2cd0, T=0x98f2d20, A=0x98f2c80, NA=8, B=0x98f0fe8, NB=2)
    at integer.cpp:400
i = 6
TB = (word * const) 0x98f2d40
TP = (word * const) 0x98f2d48
shiftWords = <value optimized out>
shiftBits = 30
#2  0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, a=@0xbfbfe4d4, b=@0xbfbfe6c8)
    at integer.cpp:3741
aSize = 6
bSize = 2
T = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 18,
  m_ptr = 0x98f2d20}
#3  0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, dividend=@0xbfbfe4d4,
    divisor=@0xbfbfe6c8) at integer.cpp:3746
No locals.
#4  0x0839d51f in CryptoPP::Integer::Modulo (this=0xbfbfe4d4, b=@0xbfbfe6c8) at integer.cpp:3800
remainder = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
    _vptr.ASN1Object = 0xbfbfe4c0}, reg = {
    m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 138007839,
    m_ptr = 0x210286}, sign = 115}
quotient = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
    _vptr.ASN1Object = 0x84896e0}, reg = {
    m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
    m_ptr = 0x98f2cd0}, sign = CryptoPP::Integer::POSITIVE}
#5  0x083b2d98 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe6dc, mod=@0xbfbfe6c8,
    pSelector=0xbfbfecc4) at integer.h:403
gcd = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
  reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
    m_ptr = 0x98f0f90}, sign = CryptoPP::Integer::POSITIVE}
primeTableSize = 3511
primeTable = (const word16 *) 0x98f10f0
sieve = {m_first = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
      _vptr.ASN1Object = 0xb7d1b140}, reg = {
      m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
---Type <return> to continue, or q <return> to quit---
      m_ptr = 0x38}, sign = 3083968500},
  m_last = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x0}, reg = {
      m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 3083972928,
      m_ptr = 0x3}, sign = 3083968500},
  m_step = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x10}, reg = {
      m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 3217024156,
      m_ptr = 0xb7c3088e}, sign = 3083972928}, m_delta = 160369624, m_next = 3083972928,
  m_sieve = {<std::_Bvector_base<std::allocator<bool> >> = {
      _M_impl = {<std::allocator<long unsigned int>> = {<__gnu_cxx::new_allocator<long unsigned int>> = {<No data fields>}, <No data fields>},
        _M_start = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0x18, _M_offset = 3083003812}, <No data fields>},
        _M_finish = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0x98f0be8, _M_offset = 3083968500}, <No data fields>},
        _M_end_of_storage = 0x4}}, <No data fields>}}
#6  0x083b2d19 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe960, mod=@0xbfbfe938,
    pSelector=0xbfbfecc4) at nbtheory.cpp:424
gcd = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
  reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
    m_ptr = 0x98f10e0}, sign = CryptoPP::Integer::POSITIVE}
primeTableSize = 3511
primeTable = (const word16 *) 0x98f10f0
sieve = {m_first = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
      _vptr.ASN1Object = 0xb7c2e7a4}, reg = {
      m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 1, m_ptr = 0x0},
    sign = 160370688}, m_last = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
      _vptr.ASN1Object = 0xbfbfe710}, reg = {
      m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 137501480,
      m_ptr = 0xb7cfef32}, sign = 3083864488},
  m_step = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0xb7cfd8d3},
    reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 1,
      m_ptr = 0xb7d1b170}, sign = 160370680}, m_delta = -1210994312, m_next = 3083003812,
  m_sieve = {<std::_Bvector_base<std::allocator<bool> >> = {
      _M_impl = {<std::allocator<long unsigned int>> = {<__gnu_cxx::new_allocator<long unsigned int>> = {<No data fields>}, <No data fields>},
        _M_start = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0xa, _M_offset = 8}, <No data fields>},
        _M_finish = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0xb7e04011, _M_offset = 160370816}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
        _M_end_of_storage = 0x1}}, <No data fields>}}
#7  0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbfbfefa4, i_rng=@0xbfbff00c, params=@0xbfbfee3c)
    at integer.cpp:3346
pSelector = (const class CryptoPP::PrimeSelector *) 0xbfbfecc4
i = 1
min = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
  reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
    m_ptr = 0x98f0e90}, sign = CryptoPP::Integer::POSITIVE}
max = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
  reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
    m_ptr = 0x98f0ee0}, sign = CryptoPP::Integer::POSITIVE}
equiv = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
    _vptr.ASN1Object = 0x84896e0}, reg = {
    m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
    m_ptr = 0x98f0b58}, sign = CryptoPP::Integer::POSITIVE}
mod = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
  reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
    m_ptr = 0x98f0f30}, sign = CryptoPP::Integer::POSITIVE}
rnType = <value optimized out>
seed = {m_deepCopy = false, m_data = 0x0, m_size = 0, m_block = {
    m_alloc = {<CryptoPP::AllocatorBase<unsigned char>> = {<No data fields>}, <No data fields>}, m_size = 0, m_ptr = 0x0}}
rng = (class CryptoPP::RandomNumberGenerator &) @0xbfbff00c: {<CryptoPP::Algorithm> = {<CryptoPP::Clonable> = {
      _vptr.Clonable = 0x840d848}, <No data fields>}, <No data fields>}
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

#8  0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

0xbfbfefa4, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbfbff00c, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbfbfee3c) at integer.h:250
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

No locals.
#9  0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbfbfef28, rng=@0xbfbff00c, alg=@0xbfbfeeb8)
    at rsa.cpp:120
modulusSize = 384
selector = {<CryptoPP::PrimeSelector> = {_vptr.PrimeSelector = 0x848e6b0},
  m_e = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
    reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
      m_ptr = 0x98f0b48}, sign = CryptoPP::Integer::POSITIVE}}
primeParam = {<CryptoPP::NameValuePairs> = {_vptr.NameValuePairs = 0x8462748}, m_next = {m_p = 0x98f0cd8},
  m_defaultThrowIfNotUsed = true}
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbfbfef28, rng=@0xbfbff00c, keybits=384, e=@0xbfbff014)
    at rsa.cpp:145
No locals.
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x98f0698) at ClientCreditsList.cpp:264
rng = {<CryptoPP::RandomNumberGenerator> = {<CryptoPP::Algorithm> = {<CryptoPP::Clonable> = {
---Type <return> to continue, or q <return> to quit---
        _vptr.Clonable = 0x840d848}, <No data fields>}, <No data fields>}, <CryptoPP::NotCopyable> = {<No data fields>},
  m_rng = {m_p = 0x98f0910}}
privkeysink = (class CryptoPP::Base64Encoder *) 0x98f080c
privkey = {<CryptoPP::RSAFunction> = {<CryptoPP::TrapdoorFunction> = {<CryptoPP::RandomizedTrapdoorFunction> = {<CryptoPP::TrapdoorFunctionBounds> = {
          _vptr.TrapdoorFunctionBounds = 0x848d90c}, <No data fields>}, <No data fields>}, <CryptoPP::X509PublicKey> = {<CryptoPP::ASN1CryptoMaterial<CryptoPP::PublicKey>> = {<CryptoPP::ASN1Object> = {
« Last Edit: October 04, 2009, 11:16:06 AM by puppyy »
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #20 on: October 04, 2009, 11:19:47 AM »


Now i have much more output to work on  ;)

thread apply all bt
Code: [Select]
Thread 1 (Thread 0xb7a9b6d0 (LWP 2234)):
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

#0  CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbf9d2bc0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x0)
    at integer.cpp:197
#1  0x08398fb6 in CryptoPP::Divide (R=0x97e2eb8, Q=0x97e4cd0, T=0x97e4d20, A=0x97e4c80, NA=8, B=0x97e2fe8, NB=2)
    at integer.cpp:400
#2  0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbf9d2da0, quotient=@0xbf9d2cc8, a=@0xbf9d2db4, b=@0xbf9d2fa8)
    at integer.cpp:3741
#3  0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbf9d2da0, quotient=@0xbf9d2cc8, dividend=@0xbf9d2db4,
    divisor=@0xbf9d2fa8) at integer.cpp:3746
#4  0x0839d51f in CryptoPP::Integer::Modulo (this=0xbf9d2db4, b=@0xbf9d2fa8) at integer.cpp:3800
#5  0x083b2d98 in CryptoPP::FirstPrime (p=@0xbf9d3884, max=@0xbf9d3164, equiv=@0xbf9d2fbc, mod=@0xbf9d2fa8,
    pSelector=0xbf9d35a4) at integer.h:403
#6  0x083b2d19 in CryptoPP::FirstPrime (p=@0xbf9d3884, max=@0xbf9d3164, equiv=@0xbf9d3240, mod=@0xbf9d3218,
    pSelector=0xbf9d35a4) at nbtheory.cpp:424
#7  0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbf9d3884, i_rng=@0xbf9d38ec, params=@0xbf9d371c)
    at integer.cpp:3346
warning: (Internal error: pc 0x83c4c08 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

#8  0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4be0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

0xbf9d3884, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbf9d38ec, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)

@0xbf9d371c) at integer.h:250
#9  0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbf9d3808, rng=@0xbf9d38ec, alg=@0xbf9d3798)
    at rsa.cpp:120
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbf9d3808, rng=@0xbf9d38ec, keybits=384, e=@0xbf9d38f4)
    at rsa.cpp:145
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x97e2698) at ClientCreditsList.cpp:264
#12 0x080a5f9c in CClientCreditsList::InitalizeCrypting (this=0x97e2698) at ClientCreditsList.cpp:316
#13 0x080a8457 in CClientCreditsList (this=0x97e2698) at ClientCreditsList.cpp:54
#14 0x0806dd92 in CamuleApp::OnInit (this=0x974be90) at amule.cpp:717
#15 0x08058298 in CamuleDaemonApp::OnInit (this=0x974be90) at amuled.cpp:678
#16 0x0805a47c in wxAppConsole::CallOnInit (this=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

0x974be90) at /usr/include/wx-2.8/wx/app.h:76
#17 0xb7d9d980 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7d9dba7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0805a20d in main (argc=Cannot access memory at address 0x77bf2e97
) at amuled.cpp:171
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #21 on: October 04, 2009, 11:53:56 AM »

Nice, finally you got it. I think you should recompile Crypto++ with -DCRYPTOPP_DISABLE_ASM added to CXXFLAGS in GNUmakefile. (And then rebuild aMule of course.)

EDIT: After Crypto++ compilation finished, run "cryptest.exe v" in the cryptopp source directory to see if it reports "All tests passed."
« Last Edit: October 04, 2009, 11:56:42 AM by GonoszTopi »
Logged
concordia cum veritate

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #22 on: October 04, 2009, 11:59:29 AM »

yes.
crypto++ as you said is the problem.
This evening i'll recompile all the stuff and add that option.

thank you very much!
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #23 on: October 06, 2009, 02:21:03 PM »

Thank you again GonoszTopi.

I've recompiled many times cryptopp adding to CXXFLAGS  -DCRYPTOPP_DISABLE_ASM
All the times the cryptest.exe output was
Code: [Select]
bash-3.1$ cryptest.exe

CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/usage.dat
However i've recompiled aMule not caring about the failed test and using the cryptopp new  compiled packages and all works perfectly!

Now i'm back to share with amule. :D
Logged

puppyy

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #24 on: October 06, 2009, 06:09:45 PM »


Ahhh good to know.

I've searched a lot in cryptopp documentation but nothing about changing dir before the test.

May i know what -DCRYPTOPP_DISABLE_ASM does?
Does it disable something not compatible with my cpu architecture/model?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuled crashes immediately. wxFatalSignalHandler
« Reply #25 on: October 06, 2009, 07:37:33 PM »

CryptoPP has some over-optimized machine code which can cause crashes or even worse behavior on some platforms.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 [2]