aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Startup crash w/ amule-cvs-20050330  (Read 2165 times)

monkeyboy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Startup crash w/ amule-cvs-20050330
« on: March 30, 2005, 06:19:46 PM »

I think I've seen this reported elsewhere, but I'm not positive it's the same crash and I haven't seen any response to those, so here it is.  This is with a fresh build of wxWidgets 2.5 from CVS, but it was happening also with my old build of 2.5 that used to work with aMule.  I think this problem was introduced late last week in aMule.

Here are two different traces, one from when there was something in incoming and one from when there isn't.  (Identifying data XXXX'd out.)

Code: [Select]
[Thread debugging using libthread_db enabled]
[New Thread -1213624192 (LWP 28579)]
Initialising aMule
Checking if there is an instance already running...
[New Thread -1213625424 (LWP 28583)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213625424 (LWP 28583)]
0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5
(gdb) bt
#0  0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5
#1  0xb7f94cc5 in wxEvtHandler::AddPendingEvent ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
#2  0xb7f9681a in wxPostEvent () from /home/monkeyboy/lib/libwx_base-2.5.so.5
#3  0x0815ef28 in CLogger::AddLogLine (critical=false, str=Cannot access memory at address 0x1
) at Logger.cpp:143
#4  0x08057916 in CAddFileThread::Entry (this=0x847dbf8)
    at AddFileThread.cpp:270
#5  0xb7f911ab in wxThreadInternal::PthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
#6  0xb7f9107f in wxPthreadStart ()
#7  0xb7fd6b63 in start_thread () from /lib/tls/libpthread.so.0
#8  0xb7b72c4a in clone () from /lib/tls/libc.so.6

(gdb) bt full
#0  0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#1  0xb7f94cc5 in wxEvtHandler::AddPendingEvent ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#2  0xb7f9681a in wxPostEvent () from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#3  0x0815ef28 in CLogger::AddLogLine (critical=false, str=Cannot access memory at address 0x1
) at Logger.cpp:143
        event = {<> = {}, ID = ADDLOGLINE,
  byte_value = 0 '\0', short_value = 0, long_value = 0, longlong_value = 0,
  string_value = { = {static npos = 4294967295,
      m_pchData = 0x84809bc "Hasher: Starting to create MD4 and AICH hash for file: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}, }, ptr_value = 0x0, ptr_aux_value = 0x0}
#4  0x08057916 in CAddFileThread::Entry (this=0x847dbf8)
    at AddFileThread.cpp:270
        file = {_vptr.CFile = 0x81bd128, m_fd = 9, m_error = false,
  fFilePath = { = {static npos = 4294967295,
      m_pchData = 0x847f95c "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}, }}
        knownfile = (class CKnownFile *) 0x847f9e8
        filename = { = {static npos = 4294967295,
    m_pchData = 0x847f95c "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}, }
        needsAICH = true
        error = false
        current = {m_path = { = {static npos = 4294967295,
      m_pchData = 0x845dea4 "/home/monkeyboy/crypt/aMule/incoming/"}, }, m_name = { = {static npos = 4294967295,
      m_pchData = 0x848090c "XXXXXXXXXXXXXXXXXXXXXXXX"}, }, m_owner = 0x0}
        evt = {<> = {}, m_ptr = 0xb7fd8a60,
  m_value = -1213625768, m_commandInt = -1208416193}
#5  0xb7f911ab in wxThreadInternal::PthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#6  0xb7f9107f in wxPthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#7  0xb7fd6b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb7b72c4a in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)

Code: [Select]
Starting program: /home/monkeyboy/bin/amuled
[Thread debugging using libthread_db enabled]
[New Thread -1213624192 (LWP 28609)]
Initialising aMule
Checking if there is an instance already running...
Empty dir /home/monkeyboy/crypt/aMule/incoming/ shared
[New Thread -1213625424 (LWP 28613)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213625424 (LWP 28613)]
0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5

(gdb) bt
#0  0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5
#1  0xb7f94cc5 in wxEvtHandler::AddPendingEvent ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
#2  0xb7f9681a in wxPostEvent () from /home/monkeyboy/lib/libwx_base-2.5.so.5
#3  0x0815ef28 in CLogger::AddLogLine (critical=false, str=Cannot access memory at address 0x1
) at Logger.cpp:143
#4  0x08054f8a in CAICHSyncThread::Entry (this=0x847f8d0)
    at AICHSyncThread.cpp:145
#5  0xb7f911ab in wxThreadInternal::PthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
#6  0xb7f9107f in wxPthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
#7  0xb7fd6b63 in start_thread () from /lib/tls/libpthread.so.0
#8  0xb7b72c4a in clone () from /lib/tls/libc.so.6

(gdb) bt full
#0  0xb7f92dac in wxMutex::Lock () from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#1  0xb7f94cc5 in wxEvtHandler::AddPendingEvent ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#2  0xb7f9681a in wxPostEvent () from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#3  0x0815ef28 in CLogger::AddLogLine (critical=false, str=Cannot access memory at address 0x1
) at Logger.cpp:143
        event = {<> = {}, ID = ADDLOGLINE,
  byte_value = 0 '\0', short_value = 0, long_value = 0, longlong_value = 0,
  string_value = { = {static npos = 4294967295,
      m_pchData = 0x8480044 "AICH Thread: Syncronization thread started."}, }, ptr_value = 0x0, ptr_aux_value = 0x0}
#4  0x08054f8a in CAICHSyncThread::Entry (this=0x847f8d0)
    at AICHSyncThread.cpp:145
        hashlist = { >> = {, true>> = {
      _M_node = 0x8480044}, }, }
        fullpath = { = {static npos = 4294967295,
    m_pchData = 0xb7a98a48 "X\212ýý?\býýD"}, }
        file = { = {_vptr.CFile = 0x847fe00, m_fd = -1208173408,
    m_error = 196, fFilePath = { = {static npos = 4294967295,
        m_pchData = 0xb7fd87e4 "\201ý\234c"}, }}, = {_vptr.CFileDataIO = 0xb7e96a01}, }
        queue = { >> = {, true>> = {
      _M_node = 0xb7a989f8}, }, }
#5  0xb7f911ab in wxThreadInternal::PthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#6  0xb7f9107f in wxPthreadStart ()
   from /home/monkeyboy/lib/libwx_base-2.5.so.5
No symbol table info available.
#7  0xb7fd6b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb7b72c4a in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: Startup crash w/ amule-cvs-20050330
« Reply #1 on: March 30, 2005, 10:36:35 PM »

Same prob here. Never touch a running system :(
;)

cu
Mr Faber
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Startup crash w/ amule-cvs-20050330
« Reply #2 on: March 31, 2005, 02:18:09 AM »

I think I know what the problem is, but I'll have to ask lfroen as I think he fixed the issue for amuled, though it should have been fixed for both amule/amuled.
Logged

monkeyboy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Startup crash w/ amule-cvs-20050330
« Reply #3 on: April 01, 2005, 07:36:45 PM »

Woohoo!  Fixed!  I'm back in business.

 :D

Monkeyboy
Logged