aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN 9649: Crash.  (Read 2759 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
SVN 9649: Crash.
« on: June 06, 2009, 09:51:08 PM »

Amule was just chugging along and crashed. Several instances of this now.


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled SVN using wxGTK2 v2.8.9 (Debugging) (Snapshot: rev. 9649)
Running on: Linux 2.6.28-12-generic i686

[2] CamuleApp::OnFatalException() in amule.cpp:1302
[3] wxFatalSignalHandler in /usr/lib/libwx_baseud-2.8.so.0[0xb79a54e6]
[4] ?? in [0xb7fbb400]
[5] CPartFile::ClientStateChanged(int, int) in PartFile.cpp:3462
[6] CUpDownClient::SetDownloadState(unsigned char) in DownloadClient.cpp:527
[7] CUpDownClient::Disconnected(wxString const&, bool) in BaseClient.cpp:1260
[8] CClientList::ProcessDirectCallbackList() in ClientList.cpp:1123
[9] CClientList::Process() in ClientList.cpp:757
[10] CamuleApp::OnCoreTimer(CTimerEvent&) in amule.cpp:1476
[11] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseud-2.8.so.0[0xb78e1b91]
[12] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseud-2.8.so.0[0xb79a00aa]
[13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseud-2.8.so.0[0xb79a1834]
[14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseud-2.8.so.0[0xb79a1986]
[15] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseud-2.8.so.0[0xb79a1661]
[16] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseud-2.8.so.0[0xb78e1fd1]
[17] CamuleDaemonApp::OnRun() in amuled.cpp:662
[18] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseud-2.8.so.0[0xb7929c9a]
[19] wxEntry(int&, char**) in /usr/lib/libwx_baseud-2.8.so.0[0xb7929d57]
[20] main in amuled.cpp:170
[21] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7627775]
[22] _start in start.S:122


--------------------------------------------------------------------------------
Aborted
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN 9649: Crash.
« Reply #1 on: June 06, 2009, 11:07:54 PM »

Hmm - [5] accesses a member variable of the m_reqfile, but [6] just verified that the m_reqfile is not NULL.

Can you create a full backtrace ?
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

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: SVN 9649: Crash.
« Reply #2 on: June 07, 2009, 03:31:47 PM »

I'll see what I can do, this is Festor's Jaunty build.

Meantime another crash has manifested:

[Debug] Generating a stack trace... please wait../../src/ClientList.cpp(1119): assert "curClient->GetDirectCallbackTimeout() != 0" failed in ProcessDirectCallbackList().

Call stack:
[00] 0xb79a327d
[01] CamuleApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)   /build/buildd/amule-2.3.0~svnr9649/obj-i486-linux-gnu/src/../../src/amule.cpp:1385
[02] wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)
[03] CClientList::ProcessDirectCallbackList()   /build/buildd/amule-2.3.0~svnr9649/obj-i486-linux-gnu/src/../../src/ClientList.cpp:1122
[04] CClientList::Process()                     /build/buildd/amule-2.3.0~svnr9649/obj-i486-linux-gnu/src/../../src/ClientList.cpp:757
[05] CamuleApp::OnCoreTimer(CTimerEvent&)       /build/buildd/amule-2.3.0~svnr9649/obj-i486-linux-gnu/src/../../src/amule.cpp:1476
[06] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
[07] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[08] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[09] wxEvtHandler::ProcessEvent(wxEvent&)   
[10] wxEvtHandler::ProcessPendingEvents()   
[11] wxAppConsole::ProcessPendingEvents()   
[12] CamuleDaemonApp::OnRun()                   /build/buildd/amule-2.3.0~svnr9649/obj-i486-linux-gnu/src/../../src/amuled.cpp:662

Trace/breakpoint trap

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN 9649: Crash.
« Reply #3 on: June 07, 2009, 05:22:38 PM »

Another thing looking pretty much impossible.  :(
Code: [Select]
m_dwDirectCallbackTimeout = ::GetTickCount() + SEC2MS(45);
theApp->clientlist->AddDirectCallbackClient(this);
Unless it's a case of memory corruption which is pretty much impossible to track down.
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

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: SVN 9649: Crash.
« Reply #4 on: June 08, 2009, 11:43:23 PM »

If I do 3 impossible things before breakfast can I go to Milliways?  :P

Logged