aMule Bug Tracker - aMule
View Issue Details
0001205aMuleExternal Connpublic2007-11-21 00:082008-01-06 17:59
hybrid 
Xaignar 
normalcrashalways
resolvedfixed 
 
 
Ubuntu 7.10
0001205: aMule core dump after a few minutes for every CVS release since 2.1.3
Hi,
Each time I'm running aMule, it is leaving for no reasons and no error message after few minutes, sometimes 5-10mn, sometimes more but whatever, it's short.
I tried running aMuled to see if it was related to the gui but I had the same trouble but with this error message this time :
============================================================

amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /downloads/Temp.
Loading PartFile 36 of 36
All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /downloads/Temp/029.part.met to shares
Adding file /downloads/Temp/032.part.met to shares
Adding file /downloads/Temp/033.part.met to shares
Adding file /downloads/Temp/035.part.met to shares
Adding file /downloads/Temp/036.part.met to shares
Adding file /downloads/Temp/038.part.met to shares
Adding file /downloads/Temp/039.part.met to shares
Adding file /downloads/Temp/040.part.met to shares
Adding file /downloads/Temp/041.part.met to shares
Adding file /downloads/Temp/042.part.met to shares
Adding file /downloads/Temp/043.part.met to shares
Adding file /downloads/Temp/046.part.met to shares
Adding file /downloads/Temp/047.part.met to shares
Adding file /downloads/Temp/048.part.met to shares
Adding file /downloads/Temp/002.part.met to shares
Adding file /downloads/Temp/004.part.met to shares
Adding file /downloads/Temp/005.part.met to shares
Adding file /downloads/Temp/006.part.met to shares
Adding file /downloads/Temp/008.part.met to shares
Adding file /downloads/Temp/009.part.met to shares
Adding file /downloads/Temp/010.part.met to shares
Adding file /downloads/Temp/012.part.met to shares
Adding file /downloads/Temp/013.part.met to shares
Adding file /downloads/Temp/014.part.met to shares
Adding file /downloads/Temp/016.part.met to shares
Adding file /downloads/Temp/017.part.met to shares
Adding file /downloads/Temp/018.part.met to shares
Adding file /downloads/Temp/019.part.met to shares
Adding file /downloads/Temp/021.part.met to shares
Adding file /downloads/Temp/024.part.met to shares
Adding file /downloads/Temp/025.part.met to shares
Adding file /downloads/Temp/028.part.met to shares
Now, exiting main app...
aMule OnExit: Terminating core.
Saving PartFile 36 of 36
All PartFiles Saved.
aMule shutdown completed.
        aMule Version: aMuled CVS using wxGTK2 v2.8.4 (Snapshot: Mon Nov 19 07:01:57 CET 2007)

Terminated after throwing an instance of 'CSeekFailureException'
        what(): SafeIO::IOFailure::SeekFailure: Seeking failed: Argument invalide
        backtrace:
[2] CamuleApp::OnUnhandledException() in amule.cpp:2137
[3] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7dd629d]
[4] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7dd6307]
[5] main in amuled.cpp:101
[6] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7ae2050]
[7] wxIPV4address::IsLocalHost() const in amuled[0x8058d01]

Abandon (core dumped)
============================================================

I have this problem with every CVS release I'm building.
I never had this problem with release 2.1.3.
I'm runnig aMule on Ubuntu 7.10 but I had exactly the same problem on 7.04.
Everything works perfect but just a few minutes later -> crash !
As I said, I never had any trouble for stability concerns with release 2.1.3 installed through official Ubuntu repository.
No tags attached.
related to 0000878resolved Xaignar Amule crash CSeekFailureException over FAT32 networkdrive 
Issue History
2007-11-21 00:08hybridNew Issue
2007-11-21 00:08hybridOperating System => Ubuntu 7.10
2007-11-29 18:50hybridNote Added: 0002469
2007-12-26 02:04XaignarRelationship addedrelated to 0000878
2007-12-26 03:51XaignarStatusnew => assigned
2007-12-26 03:51XaignarAssigned To => Xaignar
2007-12-27 00:53XaignarNote Added: 0002478
2007-12-28 15:26hybridNote Added: 0002481
2008-01-06 17:22XaignarNote Added: 0002493
2008-01-06 17:59XaignarStatusassigned => resolved
2008-01-06 17:59XaignarResolutionopen => fixed

Notes
(0002469)
hybrid   
2007-11-29 18:50   
I recompiled without optimizations so I now have more informations but still no clue on how to fix it :

Terminated after throwing an instance of 'CSeekFailureException'
        what(): SafeIO::IOFailure::SeekFailure: Seeking failed: Argument invalide
        backtrace:
[2] ?? in /usr/lib/libstdc++.so.6 [0xb747af65]
[3] ?? in /usr/lib/libstdc++.so.6 [0xb747afa2]
[4] ?? in /usr/lib/libstdc++.so.6 [0xb747b0ca]
[5] CFile::doSeek(long long) const in CFile.cpp:335
[6] CFileDataIO::Seek(long long, wxSeekMode) const in SafeFile.cpp:118
[7] CPartFile::HashSinglePart(unsigned short) in PartFile.cpp:2389
[8] CPartFile::FlushBuffer(bool, bool, bool) in PartFile.cpp:3162
[9] CPartFile::Process(unsigned int, unsigned char) in PartFile.cpp:1451
[10] CDownloadQueue::Process() in DownloadQueue.cpp:373
[11] CamuleApp::OnCoreTimer(CTimerEvent&) in amule.cpp:1449
[12] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb7516ee5]
[13] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf0af]
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf1fd]
[15] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf366]
[16] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf890]
[17] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb751789f]
[18] wxAppBase::OnIdle(wxIdleEvent&) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7844e22]
[19] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb7516ee5]
[20] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf0af]
[21] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf1fd]
[22] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb75bf366]
[23] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb78450ee]
[24] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb778903f]
[25] ?? in /usr/lib/libglib-2.0.so.0 [0xb6f23551]
[26] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6f2511c]
[27] ?? in /usr/lib/libglib-2.0.so.0 [0xb6f2855f]
[28] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb6f28909]
[29] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb6cba9e4]
[30] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb77a37cc]
[31] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb784500e]
[32] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7844601]
[33] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb755325a]
[34] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7553307]
[35] main in amule-gui.cpp:95
[36] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb725e050]
[37] wxAppBase::MainLoop() in :0

Abandon (core dumped)


I also tried to compile aMule with code profiling enabled ... with this, aMule doesn't crash anymore but after a few moments, aMule behave strangely ... transfers aren't accurate, some file appears downloading but they're not ... well, nothing is working as expected and I have to quit.

Very annoying
(0002478)
Xaignar   
2007-12-27 00:53   
This bug should now be fixed in current SVN (rev. 7848). Thanks
for reporting the problem, and please let us know if you still
experience problems of this sort.

In any case, I'd know on what kind of file-system you are storing
your part-files on, since I'm curious if the cause is the same as
in bug 0000878 listed above.

Cheers,
 Xaignar
(0002481)
hybrid   
2007-12-28 15:26   
Hi !

Thanks for the fix, it's working now !
My part-files are stored on a FAT32 filesystem (this is a shared disk between my Windoz and my Linux installation)

See ya !
(0002493)
Xaignar   
2008-01-06 17:22   
Glad to hear it.

Cheers.