aMule Forum
English => Backtraces => Topic started by: SwarmMember on August 26, 2007, 07:34:48 AM
-
bash-3.1$ gdb ./aMule-2.1.3/src/amule
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: ./aMule-2.1.3/src/amule
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 12450)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread 32769 (LWP 12453)]
[New Thread 16386 (LWP 12454)]
HTTP download thread started
[New Thread 32771 (LWP 12456)]
[New Thread 49156 (LWP 12457)]
HTTP download thread started
Loading temp files from ~/.aMule/Temp.
HTTP download thread ended
[Thread 49156 (LWP 12457) exited]
Loading PartFile 937 of 937
All PartFiles Loaded.
ListenSocket: Ok.
External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:23276
*** TCP socket (TCP) listening on 0.0.0.0:23273
*** Client UDP socket (extended eMule) at 0.0.0.0:23283
Adding file ~/.aMule/Temp/569.part.met to shares
Adding file ~/.aMule/Temp/039.part.met to shares
Adding file ~/.aMule/Temp/070.part.met to shares
Adding file ~/.aMule/Temp/348.part.met to shares
Adding file ~/.aMule/Temp/232.part.met to shares
Adding file ~/.aMule/Temp/292.part.met to shares
Adding file ~/.aMule/Temp/264.part.met to shares
Adding file ~/.aMule/Temp/062.part.met to shares
Adding file ~/.aMule/Temp/176.part.met to shares
Adding file ~/.aMule/Temp/273.part.met to shares
Adding file ~/.aMule/Temp/307.part.met to shares
Adding file ~/.aMule/Temp/041.part.met to shares
Adding file ~/.aMule/Temp/037.part.met to shares
Adding file ~/.aMule/Temp/059.part.met to shares
Adding file ~/.aMule/Temp/034.part.met to shares
Adding file ~/.aMule/Temp/033.part.met to shares
Adding file ~/.aMule/Temp/032.part.met to shares
Adding file ~/.aMule/Temp/031.part.met to shares
Adding file ~/.aMule/Temp/029.part.met to shares
Adding file ~/.aMule/Temp/013.part.met to shares
Adding file ~/.aMule/Temp/010.part.met to shares
Adding file ~/.aMule/Temp/001.part.met to shares
Adding file ~/.aMule/Temp/074.part.met to shares
Adding file ~/.aMule/Temp/088.part.met to shares
Adding file ~/.aMule/Temp/105.part.met to shares
Adding file ~/.aMule/Temp/170.part.met to shares
Adding file ~/.aMule/Temp/182.part.met to shares
Adding file ~/.aMule/Temp/225.part.met to shares
Adding file ~/.aMule/Temp/257.part.met to shares
Adding file ~/.aMule/Temp/258.part.met to shares
Adding file ~/.aMule/Temp/295.part.met to shares
Adding file ~/.aMule/Temp/319.part.met to shares
Adding file ~/.aMule/Temp/627.part.met to shares
[New Thread 65541 (LWP 12461)]
[New Thread 81926 (LWP 12462)]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 16386 (LWP 12454) exited]
[New Thread 98311 (LWP 12463)]
HTTP download thread started
HTTP download thread ended
[Thread 98311 (LWP 12463) exited]
[Thread 65541 (LWP 12461) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12450)]
0x4078ae33 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x4078ae33 in strlen () from /lib/libc.so.6
#1 0x40776826 in puts () from /lib/libc.so.6
#2 0x082469bb in CPartFile::SavePartFile (this=0xa832180, Initial=false) at PartFile.cpp:896
#3 0x08247e0f in CPartFile::FlushBuffer (this=0xa832180, bForceICH=false, bNoAICH=false) at PartFile.cpp:3196
#4 0x0824a8f6 in CPartFile::Process (this=0xa832180, reducedownload=200, m_icounter=6 '\006') at PartFile.cpp:1418
#5 0x080d0247 in CDownloadQueue::Process (this=0x8a5ca10) at DownloadQueue.cpp:374
#6 0x08077e47 in CamuleApp::OnCoreTimer (this=0x8706d38) at amule.cpp:1338
#7 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#8 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#9 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#10 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0x4059db30 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x40510aff in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#13 0x40358155 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#15 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#16 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#17 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#18 0x4035850c in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#19 0x402b5cb6 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0x40c9b741 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#21 0x40c98487 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x40c99e25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#23 0x40c9a14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x4097ae33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x402d069b in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#26 0x4035834e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#27 0x40357a21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#28 0x405450ba in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#29 0x40545190 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#30 0x081c6bc8 in main (argc=Cannot access memory at address 0x0
) at amule-gui.cpp:143
(gdb) bt full
#0 0x4078ae33 in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0x40776826 in puts () from /lib/libc.so.6
No symbol table info available.
#2 0x082469bb in CPartFile::SavePartFile (this=0xa832180, Initial=false) at PartFile.cpp:896
err = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0xac5892c}, <No data fields>}
error = (const wxString &) @0xac4d498: {<wxStringBase> = {static npos = 4294967295,
m_pchData = 0xac4d32c}, <No data fields>}
newpartmet = {<CFileDataIO> = {_vptr.CFileDataIO = 0x14}, m_fd = 501, m_filePath = {<wxStringBase> = {
static npos = 4294967295, m_pchData = 0x1e1}, <No data fields>}}
free = {m_ll = 77690826752}
file = {<CFileDataIO> = {_vptr.CFileDataIO = 0x84004a8}, m_fd = -1, m_filePath = {<wxStringBase> = {
static npos = 4294967295, m_pchData = 0xa7c5b94}, <No data fields>}}
#3 0x08247e0f in CPartFile::FlushBuffer (this=0xa832180, bForceICH=false, bNoAICH=false) at PartFile.cpp:3196
partCount = 76
changedPart = 0xbfffef40
newData = 151791
pos = {m_ptr = 0x0}
partRange = 9727999
#4 0x0824a8f6 in CPartFile::Process (this=0xa832180, reducedownload=200, m_icounter=6 '\006') at PartFile.cpp:1418
old_trans = 16478
dwCurTick = 2687228339
#5 0x080d0247 in CDownloadQueue::Process (this=0x8a5ca10) at DownloadQueue.cpp:374
file = (class CPartFile *) 0xa832180
unlocker = {m_isOk = true, m_mutex = @0x8a5ca3c}
i = 780
lock = {m_isOk = true, m_mutex = @0x8a5ca3c}
downspeed = 200
cur_datarate = 0
cur_udcounter = 6
#6 0x08077e47 in CamuleApp::OnCoreTimer (this=0x8706d38) at amule.cpp:1338
msCur = 3657792
msPrev1 = 3656766
msPrev5 = 3654866
msPrevSave = 3656902
msPrevHist = 3657000
msPrevOS = 3657656
msPrevKnownMet = 3600148
#7 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#9 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#10 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#11 0x4059db30 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0x40510aff in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#13 0x40358155 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#14 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#15 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#16 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#17 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#18 0x4035850c in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#19 0x402b5cb6 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#20 0x40c9b741 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x40c98487 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x40c99e25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x40c9a14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x4097ae33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x402d069b in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#26 0x4035834e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#27 0x40357a21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#28 0x405450ba in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#29 0x40545190 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#30 0x081c6bc8 in main (argc=Cannot access memory at address 0x0
) at amule-gui.cpp:143
No locals.
(gdb) thread apply all bt
Thread 7 (Thread 81926 (LWP 12462)):
#0 0x40042f56 in nanosleep () from /lib/libpthread.so.0
#1 0x00000000 in ?? ()
Thread 4 (Thread 32771 (LWP 12456)):
#0 0x40042f56 in nanosleep () from /lib/libpthread.so.0
#1 0x00000000 in ?? ()
Thread 2 (Thread 32769 (LWP 12453)):
#0 0x407df51a in poll () from /lib/libc.so.6
#1 0x4003b4b0 in __pthread_manager () from /lib/libpthread.so.0
#2 0x4003beb7 in __pthread_manager_event () from /lib/libpthread.so.0
#3 0x407e8bea in clone () from /lib/libc.so.6
Thread 1 (Thread 16384 (LWP 12450)):
#0 0x4078ae33 in strlen () from /lib/libc.so.6
#1 0x40776826 in puts () from /lib/libc.so.6
#2 0x082469bb in CPartFile::SavePartFile (this=0xa832180, Initial=false) at PartFile.cpp:896
#3 0x08247e0f in CPartFile::FlushBuffer (this=0xa832180, bForceICH=false, bNoAICH=false) at PartFile.cpp:3196
#4 0x0824a8f6 in CPartFile::Process (this=0xa832180, reducedownload=200, m_icounter=6 '\006') at PartFile.cpp:1418
#5 0x080d0247 in CDownloadQueue::Process (this=0x8a5ca10) at DownloadQueue.cpp:374
#6 0x08077e47 in CamuleApp::OnCoreTimer (this=0x8706d38) at amule.cpp:1338
#7 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#8 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#9 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#10 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0x4059db30 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x40510aff in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#13 0x40358155 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0x40510625 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#15 0x4059d332 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#16 0x4059d47b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#17 0x4059d5ff in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#18 0x4035850c in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#19 0x402b5cb6 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0x40c9b741 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#21 0x40c98487 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x40c99e25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#23 0x40c9a14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x4097ae33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x402d069b in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#26 0x4035834e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#27 0x40357a21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#28 0x405450ba in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#29 0x40545190 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#30 0x081c6bc8 in main (argc=Cannot access memory at address 0x0
) at amule-gui.cpp:143
(gdb) q
wxgtk bug ?
-
Not really. Does your partfile have a unicode name?