aMule Forum
English => Backtraces => Topic started by: phoenix on April 30, 2004, 01:50:30 PM
-
This backtrace of amule is from the cvs in berlios. I was downloading some files, nothing special.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084448640 (LWP 6657)]
0x08177713 in CUpDownClient::IsPartAvailable(unsigned short) (this=0xa8ce400, iPart=1)
at updownclient.h:267
267 inline bool IsPartAvailable(uint16 iPart) {return ( (iPart >= m_nPartCount) || (!m_abyPartStatus) )? 0:m_abyPartStatus[iPart];}
(gdb) bt
#0 0x08177713 in CUpDownClient::IsPartAvailable(unsigned short) (this=0xa8ce400, iPart=1)
at updownclient.h:267
#1 0x082269a7 in CPartFile::UpdateAvailablePartsCount() (this=0xa70a008) at PartFile.cpp:3155
#2 0x081873da in CDownloadQueue::RemoveSource(CUpDownClient*, bool, bool) (this=0xa6a07b8,
toremove=0xa8d4ab8, updatewindow=true, bDoStatsUpdate=true) at DownloadQueue.cpp:600
#3 0x0816c330 in CClientList::RemoveClient(CUpDownClient*) (this=0xa549d80, toremove=0xa8d4ab8)
at ClientList.cpp:125
#4 0x0814cb73 in ~CUpDownClient (this=0xa8d4ab8) at BaseClient.cpp:238
#5 0x0815003a in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1109
#6 0x081500ea in CUpDownClient::TryToConnect(bool) (this=0xa8d4ab8, bIgnoreMaxCon=false)
at BaseClient.cpp:1133
#7 0x0814ff31 in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1074
#8 0x081500ea in CUpDownClient::TryToConnect(bool) (this=0xa8d4ab8, bIgnoreMaxCon=false)
at BaseClient.cpp:1133
#9 0x0814ff31 in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1074
#10 0x0813c5a0 in CClientReqSocket::Disconnect() (this=0xa777b20) at ListenSocket.cpp:117
#11 0x08141528 in CClientReqSocket::OnError(int) (this=0xa777b20, nErrorCode=107)
at ListenSocket.cpp:989
#12 0x0828dfbb in CamuleDlg::socketHandler(wxSocketEvent&) (this=0xa4231d0, event=@0xa8d7c78)
at amuleDlg.cpp:416
#13 0x037f7ef7 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
from /usr/lib/libwx_gtk-2.4.so.0
#14 0x037f7d13 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
#15 0x037f7c56 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x037b9e81 in wxAppBase::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x0375a244 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x007d04ef in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#19 0x007cf35b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#20 0x007cf846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#21 0x007cfaf4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#22 0x003d66af in gtk_main () from /usr/lib/libgtk-1.2.so.0
#23 0x0375ad39 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#24 0x037b9d07 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#25 0x0375b49b in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#26 0x08286f32 in main (argc=1, argv=0xbfe37c24) at amule.cpp:115
(gdb) bt full
#0 0x08177713 in CUpDownClient::IsPartAvailable(unsigned short) (this=0xa8ce400, iPart=1)
at updownclient.h:267
No locals.
#1 0x082269a7 in CPartFile::UpdateAvailablePartsCount() (this=0xa70a008) at PartFile.cpp:3155
pos = 0x0
sl = 69
ixPart = 1
availablecounter = 1 '\001'
breakflag = false
iPartCount = 86
#2 0x081873da in CDownloadQueue::RemoveSource(CUpDownClient*, bool, bool) (this=0xa6a07b8,
toremove=0xa8d4ab8, updatewindow=true, bDoStatsUpdate=true) at DownloadQueue.cpp:600
cur_file = (class CPartFile *) 0xa70a008
i = 14
size = 23
removed = false
pos3 = 0x0
pos4 = 0x64
#3 0x0816c330 in CClientList::RemoveClient(CUpDownClient*) (this=0xa549d80, toremove=0xa8d4ab8)
at ClientList.cpp:125
pos = 0xa8d4d18
#4 0x0814cb73 in ~CUpDownClient (this=0xa8d4ab8) at BaseClient.cpp:238
No locals.
#5 0x0815003a in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1109
bDelete = true
#6 0x081500ea in CUpDownClient::TryToConnect(bool) (this=0xa8d4ab8, bIgnoreMaxCon=false)
at BaseClient.cpp:1133
No locals.
#7 0x0814ff31 in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1074
bDelete = true
#8 0x081500ea in CUpDownClient::TryToConnect(bool) (this=0xa8d4ab8, bIgnoreMaxCon=false)
at BaseClient.cpp:1133
No locals.
#9 0x0814ff31 in CUpDownClient::Disconnected() (this=0xa8d4ab8) at BaseClient.cpp:1074
bDelete = true
#10 0x0813c5a0 in CClientReqSocket::Disconnect() (this=0xa777b20) at ListenSocket.cpp:117
No locals.
#11 0x08141528 in CClientReqSocket::OnError(int) (this=0xa777b20, nErrorCode=107)
at ListenSocket.cpp:989
No locals.
#12 0x0828dfbb in CamuleDlg::socketHandler(wxSocketEvent&) (this=0xa4231d0, event=@0xa8d7c78)
at amuleDlg.cpp:416
soc = (class CClientReqSocket *) 0xa777b20
current_socket = (struct wxSocketBase *) 0xa777b20
#13 0x037f7ef7 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#14 0x037f7d13 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#15 0x037f7c56 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#16 0x037b9e81 in wxAppBase::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#17 0x0375a244 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#18 0x007d04ef in g_timeout_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#19 0x007cf35b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#20 0x007cf846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#21 0x007cfaf4 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#22 0x003d66af in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#23 0x0375ad39 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#24 0x037b9d07 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#25 0x0375b49b in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#26 0x08286f32 in main (argc=1, argv=0xbfe37c24) at amule.cpp:115
No locals.
(gdb)
Regards!
-
hey
as far as I know berlios is a little bit outdated,
RC3 is a more recend version then berlios, try that one ;)
stefanero
-
Ok, I'll try that. Do you know where is the CVS?
Regards,
Marcelo.
-
Since currently aMule uses non-public eMule code, there's no CVS. When 2.0.0 final release comes out and all necessary pieces of eMule non-public code are integrated (and eMule has relases them), public CVS will be up again. At the moment, it's private.
BTW, also, add to all that stuff I said before, when the CVS mantainer has time to update it and configure it ;-)
Greetings
-
Didn't know about that. Anyway, I have two machines running amule, one is a pentium II 233 overclocked to 300, and it's pretty stable there. The other is an Athlon 2.6, and amule does not seem to run more than 30 minutes. I have already had a crash with rc3, so I'm running it on gdb right now, so, i think we'll soon have something to play with :-)
Hope CVS comes back soon!
Regards,
Marcelo.