aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bactrace with rev. 10449  (Read 3628 times)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Bactrace with rev. 10449
« on: February 22, 2011, 07:36:01 PM »

 2011-02-20 07:57:55: amuleDlg.cpp(236):  - This is aMule SVN compiled with wxGTK2 v2.8.11 (Debugging) (Snapshot: rev. 10449) based on eMule.
 2011-02-20 07:57:55: amuleDlg.cpp(238):    Running on Linux 2.6.27.56-0.1-default x86_64
ASSERT INFO:
DownloadClient.cpp(218): assert "m_reqfile" failed in SendFileRequest(): Cannot request file when no reqfile is set

BACKTRACE:
[1] wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)
[2] CUpDownClient::SendFileRequest() /home/user/trunk5/src/DownloadClient.cpp:218
[3] CUpDownClient::ConnectionEstablished() /home/user/trunk5/src/BaseClient.cpp:1712
[4] CClientTCPSocket::ProcessPacket(unsigned char const*, unsigned int, unsigned char) /home/user/trunk5/src/ClientTCPSocket.cpp:425
[5] CClientTCPSocket::PacketReceived(CPacket*) /home/user/trunk5/src/ClientTCPSocket.cpp:2063
[6] CEMSocket::OnReceive(int) /home/user/trunk5/src/EMSocket.cpp:284
[7] CClientTCPSocket::OnReceive(int) /home/user/trunk5/src/ClientTCPSocket.cpp:1976
[8] CClientTCPSocketHandler::ClientTCPSocketHandler(wxSocketEvent&) /home/user/trunk5/src/ClientTCPSocket.cpp:101
[9] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[10] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxEvtHandler::ProcessPendingEvents()
[14] wxAppConsole::ProcessPendingEvents()
[15] wxAppBase::ProcessIdle()
[16] g_main_context_dispatch()
[17] g_main_loop_run()
[18] gtk_main()
[19] wxEventLoop::Run()
[20] wxAppBase::MainLoop()
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Bactrace with rev. 10449
« Reply #1 on: February 22, 2011, 08:03:14 PM »

Hi phoenix.

Any info on how to reproduce?

Any hope of getting a gdb bt?

Any particular commit (git bisect) to blame?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Bactrace with rev. 10449
« Reply #2 on: February 22, 2011, 08:13:04 PM »

Doesn't look related to anything changed recently.
So the client has a download state but no associated part file. Weird.
Could be worked around of course, but I don't like to put random workarounds all over the place.
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

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Bactrace with rev. 10449
« Reply #3 on: March 14, 2011, 01:23:11 AM »

Hi btkaos,

No more information, it happened only once, I was not interacting with aMule. Anyway, this is an assertion, we know exactly what triggered it. Maybe we don't know why this happened:
Code: [Select]
wxCHECK_RET(m_reqfile, wxT("Cannot request file when no reqfile is set"));
NULL pointer on m_reqfile.

Cheers!
Logged