aMule Forum

English => aMule crashes => Topic started by: raenio on February 22, 2017, 04:02:55 PM

Title: Amule crashes after downloading something
Post by: raenio on February 22, 2017, 04:02:55 PM
Hi guys, fresh amule install, under ubuntu 16_04.2 official repositories, SVN version. After a download finished I got a box with a crash so I remove the .aMule folder, download amule-dbg and started it again with gdb:

(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffea179700 (LWP 11208)]
[New Thread 0x7fffe9978700 (LWP 11209)]
[New Thread 0x7fffe9177700 (LWP 11210)]
 2017-02-22 10:33:32: Initialising aMule SVN compiled with wxGTK2 v3.0.2 and Boost 1.58
 2017-02-22 10:33:32: Checking if there is an instance already running...
 2017-02-22 10:33:32: No other instances are running.
十時33分32秒: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
 2017-02-22 10:33:33: ListenSocket: Ok.
[New Thread 0x7fffdbfff700 (LWP 11229)]
[Thread 0x7fffdbfff700 (LWP 11229) exited]
[New Thread 0x7fffdbfff700 (LWP 11230)]
[New Thread 0x7fffdb127700 (LWP 11231)]
[New Thread 0x7fffda926700 (LWP 11235)]
[New Thread 0x7fffda125700 (LWP 11236)]
[New Thread 0x7fffd9924700 (LWP 11237)]
[New Thread 0x7fffd9123700 (LWP 11238)]
[New Thread 0x7fffd8922700 (LWP 11239)]
[New Thread 0x7fffc3fff700 (LWP 11240)]
[Thread 0x7fffc3fff700 (LWP 11240) exited]
 2017-02-22 10:33:34: Loading temp files from /share2/Download/Temp.
 2017-02-22 10:33:34: All PartFiles Loaded.
[Thread 0x7fffdbfff700 (LWP 11230) exited]
[New Thread 0x7fffc3fff700 (LWP 11241)]
[New Thread 0x7fffdbfff700 (LWP 11243)]
 2017-02-22 10:33:42: Asio thread 1 started
 2017-02-22 10:33:42: Asio thread 2 started
 2017-02-22 10:33:42: Asio thread 3 started
 2017-02-22 10:33:42: Asio thread 4 started
[New Thread 0x7fffc36c5700 (LWP 11245)]
[Thread 0x7fffc36c5700 (LWP 11245) exited]
[Thread 0x7fffdb127700 (LWP 11231) exited]
[New Thread 0x7fffdb127700 (LWP 18782)]
[Thread 0x7fffdb127700 (LWP 18782) exited]
[New Thread 0x7fffdb127700 (LWP 18783)]
[Thread 0x7fffdb127700 (LWP 18783) exited]
Assertion failed: ../../src/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[0x7ffff5c8401a]
[4] CFile::doSeek(long) const in CFile.cpp:370 (discriminator 2)
[5] CFileDataIO::Seek(long, wxSeekMode) const in SafeFile.cpp:121
[6] CFileAutoClose::ReadAt(void*, unsigned long, unsigned long) in FileAutoClose.cpp:97
[7] CPartFile::ReadData(CFileArea&, unsigned long, unsigned int) in PartFile.cpp:3135
[8] CUpDownClient::CreateNextBlockPackage() in UploadClient.cpp:232
[9] CUpDownClient::SendBlockData() in UploadClient.cpp:608
[10] CUploadQueue::Process() in UploadQueue.cpp:236
[11] CamuleApp::OnCoreTimer(CTimerEvent&) in amule.cpp:1177
[12] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5c7d1fe]
[13] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e036e7]
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e037db]
[15] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e03b8b]
[16] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e03c13]
[17] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e03c75]
[18] wxEvtHandler::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5e046fa]
[19] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5c7f317]
[20] wxApp::DoIdle() in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7ffff6541ac2]
[21] ?? in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7ffff6541bb3]
[22] g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7ffff36d604a]
[23] ?? in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7ffff36d63f0]
[24] g_main_loop_run in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7ffff36d6712]
[25] gtk_main in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0[0x7ffff44436a7]
[26] wxGUIEventLoop::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7ffff6561ed5]
[27] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5cbf353]
[28] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5c84666]
[29] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff5d10f70]
[30] main in amule-gui.cpp:93
[31] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff4b85830]
[32] ?? in /usr/bin/amule[0x452c19]

../../src/CFile.cpp(370): assert "Assert failure" failed in doSeek(): ((IsOpened()))
[Thread 0x7fffdbfff700 (LWP 11243) exited]
 2017-02-22 15:48:47: Now, exiting main app...
 2017-02-22 15:48:47: aMule OnExit: Terminating core.

Thread 1 "amule" received signal SIGSEGV, Segmentation fault.
0x00000000005d6d95 in MuleNotify::UDPSocketSend (socket=0x16cb7a0)
    at ../../src/GuiEvents.cpp:792
792     ../../src/GuiEvents.cpp: No such file or directory.

Thank you!