Hi amule dev team,
a crash report. Full gdb output (from start to crash) upon request.
CVS version is latest, i.e. aMule-cvs-20050225.tar.bz2
Environment:
amule@vl02s32:/usr/src$ uname -a
Linux vl02s32 2.4.28-vs1.29 #1 SMP Mon Feb 21 10:00:55 CET 2005 i686 GNU/Linux
Configuration:
vl02s32:/usr/src/amule-cvs# ./configure --enable-debug --disable-optimise --enable-amulecmd \
--enable-amule-daemon --enable-webserver --enable-webservergui \
--enable-cas --enable-wxcas --enable-alcc --disable-systray \
--enable-verbose --disable-monolithic --with-wx-prefix=/usr/local
[...]
checking for curl >= 7.9.5... yes (version 7.11.2)
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking for gd.h... (cached) yes
checking whether we need the GUI... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.5.4)
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
checking if wxWidgets was linked with GTK2... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... yes
crypto check disabled, using embedded libs
[...]
Configure script has finished system check.
Configured aMule CVS for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Should aMule be compiled in debug mode? yes
Should aMule be compiled with verbose console output? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with systray? no
Should aMule be compiled with UTF-8 systray? no
Should aMule be compiled with pure GTK code? yes
Should aMule be linked against patched gsocket? no
Should aMule monolithic application be built? no
Should aMule daemon version be built? (EXPERIMENTAL) yes
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embeded
**** aMule TextClient ****
Should amulecmd (TextClient) be linked against wxbase? yes
Should aMule Command Line Client be built? yes
Should aMule GUI Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? yes
Should aMule WebServer GUI be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? yes
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? yes
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.5.4
GTK 1.2.10
GDB Session command: gdb /usr/local/bin/amuled
GDB Session started at: Fr Feb 25 08:41:48 CET 2005
GDB Session ended at (program crashed): Fri Feb 25 12:22:49 CET 2005
GDB backtrace output:
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 16384 (LWP 32669)]
0x40024108 in send () from /lib/libpthread.so.0
(gdb)
(gdb) bt
#0 0x40024108 in send () from /lib/libpthread.so.0
#1 0x40215e5f in GSocket::Send_Stream (this=0x8adb380,
buffer=0x8a2a978 "Å\"", size=39) at src/unix/gsocket.cpp:1327
#2 0x4021529a in GSocket::Write (this=0x8adb380, buffer=0x8a2a978 "Å\"",
size=39) at src/unix/gsocket.cpp:880
#3 0x402102ed in wxSocketBase::_Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:541
#4 0x4021022e in wxSocketBase::Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:509
#5 0x080b259d in CEMSocket::Send (this=0x8dc8e70, lpBuf=0x8a2a978 "Å\"",
nBufLen=39) at EMSocket.cpp:400
#6 0x080b20cc in CEMSocket::SendPacket (this=0x8dc8e70, packet=0x85fd730,
delpacket=true, controlpacket=true) at EMSocket.cpp:325
#7 0x08063758 in CUpDownClient::SendPacket (this=0x85c9ef0,
packet=0x85fd730, delpacket=true, controlpacket=true)
at BaseClient.cpp:2092
#8 0x08089c1f in CUpDownClient::SendFileRequest (this=0x85c9ef0)
at DownloadClient.cpp:171
#9 0x08060123 in CUpDownClient::ConnectionEstablished (this=0x85c9ef0)
at BaseClient.cpp:1404
#10 0x0805fb5d in CUpDownClient::TryToConnect (this=0x85c9ef0,
bIgnoreMaxCon=false) at BaseClient.cpp:1320
#11 0x080896f3 in CUpDownClient::AskForDownload (this=0x85c9ef0)
at DownloadClient.cpp:78
#12 0x080f419c in CPartFile::Process (this=0x853f100, reducedownload=138,
m_icounter=10 '\n') at PartFile.cpp:1520
#13 0x0809361d in CDownloadQueue::Process (this=0x851d390)
at DownloadQueue.cpp:310
#14 0x08156d92 in CamuleApp::OnCoreTimer (this=0x83f23e8) at amule.cpp:1554
#15 0x0815b704 in CamuleDaemonApp::OnRun (this=0x83f23e8) at amuled.cpp:155
#16 0x401256c9 in wxEntry (argc=@0xbffffd60, argv=0xbffffdb4)
at src/common/init.cpp:417
#17 0x0815b328 in main (argc=1, argv=0xbffffdb4) at amuled.cpp:117
(gdb)
#0 0x40024108 in send () from /lib/libpthread.so.0
#1 0x40215e5f in GSocket::Send_Stream (this=0x8adb380,
buffer=0x8a2a978 "Å\"", size=39) at src/unix/gsocket.cpp:1327
#2 0x4021529a in GSocket::Write (this=0x8adb380, buffer=0x8a2a978 "Å\"",
size=39) at src/unix/gsocket.cpp:880
#3 0x402102ed in wxSocketBase::_Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:541
#4 0x4021022e in wxSocketBase::Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:509
#5 0x080b259d in CEMSocket::Send (this=0x8dc8e70, lpBuf=0x8a2a978 "Å\"",
nBufLen=39) at EMSocket.cpp:400
#6 0x080b20cc in CEMSocket::SendPacket (this=0x8dc8e70, packet=0x85fd730,
delpacket=true, controlpacket=true) at EMSocket.cpp:325
#7 0x08063758 in CUpDownClient::SendPacket (this=0x85c9ef0,
packet=0x85fd730, delpacket=true, controlpacket=true)
at BaseClient.cpp:2092
#8 0x08089c1f in CUpDownClient::SendFileRequest (this=0x85c9ef0)
at DownloadClient.cpp:171
#9 0x08060123 in CUpDownClient::ConnectionEstablished (this=0x85c9ef0)
at BaseClient.cpp:1404
#10 0x0805fb5d in CUpDownClient::TryToConnect (this=0x85c9ef0,
bIgnoreMaxCon=false) at BaseClient.cpp:1320
#11 0x080896f3 in CUpDownClient::AskForDownload (this=0x85c9ef0)
at DownloadClient.cpp:78
#12 0x080f419c in CPartFile::Process (this=0x853f100, reducedownload=138,
m_icounter=10 '\n') at PartFile.cpp:1520
#13 0x0809361d in CDownloadQueue::Process (this=0x851d390)
at DownloadQueue.cpp:310
#14 0x08156d92 in CamuleApp::OnCoreTimer (this=0x83f23e8) at amule.cpp:1554
#15 0x0815b704 in CamuleDaemonApp::OnRun (this=0x83f23e8) at amuled.cpp:155
#16 0x401256c9 in wxEntry (argc=@0xbffffd60, argv=0xbffffdb4)
at src/common/init.cpp:417
#17 0x0815b328 in main (argc=1, argv=0xbffffdb4) at amuled.cpp:117
(gdb) bt full
#0 0x40024108 in send () from /lib/libpthread.so.0
No symbol table info available.
#1 0x40215e5f in GSocket::Send_Stream (this=0x8adb380,
buffer=0x8a2a978 "Å\"", size=39) at src/unix/gsocket.cpp:1327
old_handler = (void (*)(int)) 0
ret = 1075966632
#2 0x4021529a in GSocket::Write (this=0x8adb380, buffer=0x8a2a978 "Å\"",
size=39) at src/unix/gsocket.cpp:880
ret = 27389808
#3 0x402102ed in wxSocketBase::_Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:541
total = 0
ret = 1074660480
#4 0x4021022e in wxSocketBase::Write (this=0x8dc8e70, buffer=0x8a2a978,
nbytes=39) at src/common/socket.cpp:509
No locals.
#5 0x080b259d in CEMSocket::Send (this=0x8dc8e70, lpBuf=0x8a2a978 "Å\"",
nBufLen=39) at EMSocket.cpp:400
tosend = 39
result = 144877944
#6 0x080b20cc in CEMSocket::SendPacket (this=0x8dc8e70, packet=0x85fd730,
delpacket=true, controlpacket=true) at EMSocket.cpp:325
bCheckControlQueue = false
#7 0x08063758 in CUpDownClient::SendPacket (this=0x85c9ef0,
packet=0x85fd730, delpacket=true, controlpacket=true)
at BaseClient.cpp:2092
No locals.
#8 0x08089c1f in CUpDownClient::SendFileRequest (this=0x85c9ef0)
at DownloadClient.cpp:171
packet = (class CPacket *) 0x85fd730
dataFileReq = { = { = {_vptr.CFile = 0x81b3668,
m_fd = -1, m_error = false, fFilePath = { = {
static npos = 4294967295,
m_pchData = 0x401b21ec ""}, }}, m_GrowBytes = 32,
m_position = 0, m_BufferSize = 0, m_FileSize = 0, m_delete = false,
m_buffer = 0x0}, = {
_vptr.CFileDataIO = 0x81b36f4}, }
#9 0x08060123 in CUpDownClient::ConnectionEstablished (this=0x85c9ef0)
at BaseClient.cpp:1404
No locals.
#10 0x0805fb5d in CUpDownClient::TryToConnect (this=0x85c9ef0,
bIgnoreMaxCon=false) at BaseClient.cpp:1320
No locals.
#11 0x080896f3 in CUpDownClient::AskForDownload (this=0x85c9ef0)
at DownloadClient.cpp:78
No locals.
#12 0x080f419c in CPartFile::Process (this=0x853f100, reducedownload=138,
m_icounter=10 '\n') at PartFile.cpp:1520
download_state = 1 '\001'
it = { = {
_M_node = 0x85c0df0}, }
cur_src = (class CUpDownClient *) 0x85c9ef0
old_trans = 0
dwCurTick = 1228758491
#13 0x0809361d in CDownloadQueue::Process (this=0x851d390)
at DownloadQueue.cpp:310
file = (class CPartFile *) 0x853f100
i = 44
downspeed = 138
cur_datarate = 14782
cur_udcounter = 10
#14 0x08156d92 in CamuleApp::OnCoreTimer (this=0x83f23e8) at amule.cpp:1554
msPrev1 = 13059496
msPrev5 = 13055866
msPrevSave = 13031336
msCur = 13059716
msPrevHist = 13059000
#15 0x0815b704 in CamuleDaemonApp::OnRun (this=0x83f23e8) at amuled.cpp:155
msRun = 1228758487
locker = {m_isOk = true, m_mutex = @0x83f254c}
uLoop = 100
msWait = 99
#16 0x401256c9 in wxEntry (argc=@0xbffffd60, argv=0xbffffdb4)
at src/common/init.cpp:417
callOnExit = {}
cleanupOnExit = {}
#17 0x0815b328 in main (argc=1, argv=0xbffffdb4) at amuled.cpp:117
No locals.
Cheers!