aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Assert failure IsOpened()  (Read 1093 times)

avware

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Assert failure IsOpened()
« on: March 20, 2016, 08:25:47 PM »

Hi,
I found a bug that appears randomly when a download ends. I'm using latest git on x86_64 Debian testing platform:

commit 4053dd2e9a934fd9da1105b9cb42e2cf374cc1ef
Author: upstream svn <svn@amule.org>
Date:   Wed Mar 9 07:01:35 2016 +0000

This is my compile options (keep in mind that some libs have different versions then standard debian testing):
./autogen.sh
...
./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --with-boost
...
                             wxWidgets             3.0.2 (base,shared)
                             boost                 1.58
                             crypto++              5.6.3 (in /usr)
                             libupnp               1.6.19+git20160116
                             libintl               system
                             zlib                  1.2.8

Follow the stacktrace:
Code: [Select]
2016-03-20 18:12:35: UploadQueue.cpp(614): Suspending upload of file: 32577DC2C933CC3F8288F5A83486FB80
Assertion failed: CFile.cpp:doSeek:370: Assertion 'Assert failure' failed. ((IsOpened()))
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd1750f33ba]
[4] CFile::doSeek(long) const in CFile.cpp:370
[5] CFileDataIO::Seek(long, wxSeekMode) const in SafeFile.cpp:120
[6] CFileAutoClose::ReadAt(void*, unsigned long, unsigned long) in FileAutoClose.cpp:96
[7] CFileArea::ReadAt(CFileAutoClose&, unsigned long, unsigned long) in FileArea.cpp:245
[8] CPartFile::ReadData(CFileArea&, unsigned long, unsigned int) in PartFile.cpp:3135
[9] CUpDownClient::CreateNextBlockPackage() in UploadClient.cpp:232
[10] CUpDownClient::SendBlockData() in UploadClient.cpp:607
[11] CUploadQueue::Process() in UploadQueue.cpp:266
[12] CamuleApp::OnCoreTimer(CTimerEvent&) in amule.cpp:1181
[13] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd1750ec59e]
[14] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175272a77]
[15] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175272b6b]
[16] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175272f1b]
[17] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175272fa3]
[18] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175273005]
[19] wxEvtHandler::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175273a8a]
[20] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd1750ee6b7]
[21] wxEventLoopManual::ProcessEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd17512e88c]
[22] wxEventLoopManual::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd17512e968]
[23] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd17512e6e3]
[24] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd1750f3a06]
[25] CamuleDaemonApp::OnRun() in amuled.cpp:643
[26] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fd175180300]
[27] main in amuled.cpp:125
[28] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7fd17446d610]
[29] _start in :0

 2016-03-20 18:12:37: RoutingZone.cpp(336): Wrote 200 Kad contacts
 2016-03-20 18:12:41: amule.cpp(230): Now, exiting main app...
 2016-03-20 18:12:43: amule.cpp(260): aMule OnExit: Terminating core.
!2016-03-20 18:12:43: LibSocketAsio.cpp(292): Asio Sockets: Destroy() already dying socket 0x0000000001c827d0 0x0000000002a246f0 ...
...
 2016-03-20 18:12:43: DownloadQueue.cpp(103): Saving PartFile 1 of 19
...
 2016-03-20 18:12:45: DownloadQueue.cpp(106): All PartFiles Saved.
 2016-03-20 18:12:45: amule.cpp(333): aMule shutdown completed.

Thanks
Logged