amule-project / amule

'All-platform' P2P client based on eMule
996 stars 218 forks source link

CFile.cpp:366 assertion failed #291

Closed eyalroz closed 3 years ago

eyalroz commented 3 years ago

amule 2.3.3 was running in the background for a long time, when suddenly...

ASSERT INFO:

../../src/CFile.cpp(366): assert "Assert failure" failed in doSeek(): ((IsOpened()))

BACKTRACE:

[1] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[3] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::ProcessEventLocally(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxEvtHandler::ProcessPendingEvents()
[8] wxAppConsoleBase::ProcessPendingEvents()
[9] wxApp::DoIdle()
[10] g_main_context_dispatch
[11] g_main_loop_run
[12] gtk_main
[13] wxGUIEventLoop::DoRun()
[14] wxEventLoopBase::Run()
[15] wxAppConsoleBase::MainLoop()
[16] wxEntry(int&, wchar_t**)
[17] __libc_start_main

I'm using Devuan GNU/Linux 4.0 Chimaera on an x86_64 CPU.

sc0w commented 3 years ago

duplicate of https://github.com/amule-project/amule/issues/29

I am testing a fix, it seems to work, I will open new PR soon