Hi!
I'm running CVS version (Jan-02-2005) and it crashed. I got full backtraces (AFAIK) of both crashes. I'm not sure how it crashed, all I know is I logged to the webserver, clicked on transfers, and the page never displayed. When I came home, amule window was totally blank, and both programs (amuleweb and amule) had crashed. This is getting pretty boring...I can't trust amule anymore I'm afraid. OK, no more blah blah blah, here come the backtraces:
amuleweb crash:
[autizt@neptune ~]$ gdb ./amule-cvs/src/amuleweb
GNU gdb Red Hat Linux (6.1post-1.20040607.41rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /home/autizt/amule-cvs/src/amuleweb
[Thread debugging using libthread_db enabled]
[New Thread -152324416 (LWP 3726)]
Enter password for mule connection (return if no pass defined):
Creating client...
Now, doing connection....
Using host 'neptune.localdomain.local' port:4712
Trying to connect (timeout = 10 sec)...
Succeeded! Connection established to aMule CVS
---------------------------------
| aMule Web Server |
---------------------------------
Use 'Help' for command list
[New Thread -154809424 (LWP 3729)]
Web Server: Started
aMuleweb$
...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -742351952 (LWP 4517)]
0xf6f66b5a in operator+ () from /usr/local/lib/libwx_baseu-2.5.so.3
(gdb) bt
#0 0xf6f66b5a in operator+ () from /usr/local/lib/libwx_baseu-2.5.so.3
#1 0x0806d7ab in DownloadFilesInfo::ItemDeleted (this=0x9010e78, item=@0x928ae70) at WebServer.cpp:2538
#2 0x08076d56 in UpdatableItemsContainer::ProcessUpdate (this=0x9010e78, reply=0x938e940,
full_req=0xd3c08c40, req_type=19) at WebServer.h:388
#3 0x0807446c in UpdatableItemsContainer::DoRequery (this=0x9010e78, cmd=13, tag=19)
at WebServer.h:423
#4 0x0806d833 in DownloadFilesInfo::ReQuery (this=0x9010e78) at WebServer.cpp:2545
#5 0x0805992e in CWebServer::_GetTransferList (this=0x9010dd0, Data=
{sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }, inadr = {s_addr = 4294967295}, pSocket = 0x9397fd0})
at WebServer.cpp:951
#6 0x08054192 in CWebServer::ProcessURL (this=0x9010dd0, Data=
{sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }, inadr = {s_addr = 4294967295}, pSocket = 0x9397fd0})
at WebServer.cpp:503
#7 0x08086013 in CWebSocket::OnRequestReceived (this=0x9397fd0,
pHeader=0x93ab3e8 "GET /?ses=710311213&w=transfer HTTP/1.1\r\nHost: 200.118.108.89:14711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;rv:1.7.5) Gecko/20041107 Firefox/1.0\r\nAccept: text/xml,application/xml,"..., dwHeaderLen=493, pData=0x0, dwDataLen=0) at WebSocket.cpp:316
#8 0x08085321 in CWCThread::Entry (this=0x9397fc0) at WebSocket.cpp:202
#9 0xf6f8d959 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.5.so.3
#10 0xf6f8d9bf in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.5.so.3
#11 0x00dad1d5 in start_thread () from /lib/tls/libpthread.so.0
#12 0x00c2e2da in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0 0xf6f66b5a in operator+ () from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#1 0x0806d7ab in DownloadFilesInfo::ItemDeleted (this=0x9010e78, item=@0x928ae70) at WebServer.cpp:2538
No locals.
#2 0x08076d56 in UpdatableItemsContainer::ProcessUpdate (this=0x9010e78, reply=0x938e940,
full_req=0xd3c08c40, req_type=19) at WebServer.h:388
j = {_M_node = 0x928ae68}
core_files = {_M_t = {
_M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {> = {}, }, _M_header = {_M_color = std::_S_red,
_M_parent = 0x907f348, _M_left = 0x914be48, _M_right = 0x935ede8}, _M_node_count = 102}}}
#3 0x0807446c in UpdatableItemsContainer::DoRequery (this=0x9010e78, cmd=13, tag=19)
at WebServer.h:423
req_sts = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0, m_tagCount = 1, m_dataLen = 0, m_dynamic = false,
m_listSize = 16, m_tagList = 0x906a2c0}, }, m_opCode = 13 '\r'}
reply = (CECPacket *) 0x938e940
req_full = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0, m_tagCount = 0, m_dataLen = 0, m_dynamic = false,
m_listSize = 0, m_tagList = 0x0}, }, m_opCode = 13 '\r'}
#4 0x0806d833 in DownloadFilesInfo::ReQuery (this=0x9010e78) at WebServer.cpp:2545
No locals.
#5 0x0805992e in CWebServer::_GetTransferList (this=0x9010dd0, Data=
{sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }, inadr = {s_addr = 4294967295}, pSocket = 0x9397fd0})
at WebServer.cpp:951
sFileHash = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
sSort = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
HTTPTemp = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
fTotalCompleted = 0
fTotalSpeed = 0
i = {_M_node = 0xf6fd06f4}
Out = { = {static npos = 4294967195, m_pchData = 0x906423c}, }
sDownloadSortRev = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
OutE2 = { = {static npos = 4294967195, m_pchData = 0x901da5c}, }
sDownList = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }
sSession = { = {static npos = 4294967195, m_pchData = 0x905bcac}, }
sCat = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
sOp = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
OutE = { = {static npos = 4294967195, m_pchData = 0x901cffc}, }
fTotalSize = 0
fTotalTransferred = 0
sUpList = { = {static npos = 4294967195, m_pchData = 0x61}, }
#6 0x08054192 in CWebServer::ProcessURL (this=0x9010dd0, Data=
{sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }, inadr = {s_addr = 4294967295}, pSocket = 0x9397fd0})
at WebServer.cpp:503
sPage = { = {static npos = 4294967195, m_pchData = 0x93a7f64}, }
HTTPProcessData = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
HTTPTemp = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
sW = { = {static npos = 4294967195, m_pchData = 0x93a7f64}, }
Out = { = {static npos = 4294967195, m_pchData = 0x93c9c64}, }
OutS = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
httpOut = 0xd3c09140 " isUseGzip = true
OutE2 = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
gzipLen = 0
lSession = 710311213
sSes = { = {static npos = 4294967195, m_pchData = 0x93a80a4}, }
buf = {m_str = 0x93ab054 "/"}
---Type to continue, or q to quit---
lock = {m_isOk = true, m_mutex = @0x9012670}
OutE = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
gzipOut = (TCHAR *) 0x0
sSession = { = {static npos = 4294967195, m_pchData = 0x93ae244}, }
#7 0x08086013 in CWebSocket::OnRequestReceived (this=0x9397fd0,
pHeader=0x93ab3e8 "GET /?ses=710311213&w=transfer HTTP/1.1\r\nHost: 200.118.108.89:14711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;rv:1.7.5) Gecko/20041107 Firefox/1.0\r\nAccept: text/xml,application/xml,"..., dwHeaderLen=493, pData=0x0, dwDataLen=0) at WebSocket.cpp:316
sHeader = { = {static npos = 4294967195, m_pchData = 0x904269c}, }
sData = { = {static npos = 4294967195, m_pchData = 0xf6facb0c}, }
sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }
Data = {sURL = { = {static npos = 4294967195, m_pchData = 0x93ab054}, }, inadr = {s_addr = 4294967295},
pSocket = 0x9397fd0}
#8 0x08085321 in CWCThread::Entry (this=0x9397fc0) at WebSocket.cpp:202
IsGet = true
IsPost = false
#9 0xf6f8d959 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#10 0xf6f8d9bf in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#11 0x00dad1d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x00c2e2da in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
amule crash:
[autizt@neptune ~]$ gdb ./amule-cvs/src/amule
GNU gdb Red Hat Linux (6.1post-1.20040607.41rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...Using host libthread_db lib
rary "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /home/autizt/amule-cvs/src/amule
[Thread debugging using libthread_db enabled]
[New Thread -157402912 (LWP 3564)]
Initialising aMule
...
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -157402912 (LWP 3564)]
0x004097a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x004097a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00db2968 in send () from /lib/tls/libpthread.so.0
#2 0xf6be12ef in GSocket::Send_Stream ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
#3 0xf6be1997 in GSocket::Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
#4 0xf6bdc20c in wxSocketBase::_Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
#5 0xf6bdc3a9 in wxSocketBase::Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
#6 0x08153d04 in CEMSocket::Send (this=0xa9848d8, lpBuf=0xa253df0 "ã(",
nBufLen=45) at EMSocket.cpp:396
#7 0x0815383e in CEMSocket::SendPacket (this=0xa9848d8, packet=0x9ea53a0,
delpacket=true, controlpacket=true) at EMSocket.cpp:320
#8 0x081410f9 in CClientReqSocket::ProcessPacket (this=0xa9848d8,
packet=0x9ed8a30 "7hð¸\224-8\v[¨za\033w\027*\030", size=16, opcode=88 'X')
at ListenSocket.cpp:378
#9 0x0814ddf6 in CClientReqSocket::PacketReceived (this=0xa9848d8,
packet=0xaa36c08) at ListenSocket.cpp:2060
#10 0x081535da in CEMSocket::OnReceive (this=0xa9848d8, nErrorCode=0)
at EMSocket.cpp:261
#11 0x0814e04c in CClientReqSocket::OnReceive (this=0xa9848d8, nErrorCode=0)
at ListenSocket.cpp:2091
---Type to continue, or q to quit---
#12 0x0814e416 in CClientReqSocketHandler::ClientReqSocketHandler (
this=0xa8cebb0, event=@0x9e8cdb8) at ListenSocket.cpp:2212
#13 0xf6af4119 in wxAppConsole::HandleEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#14 0xf6b65e0c in wxEvtHandler::ProcessEventIfMatches ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#15 0xf6b660ed in wxEventHashTable::HandleEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#16 0xf6b66c14 in wxEvtHandler::ProcessEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#17 0xf6b66a3f in wxEvtHandler::ProcessPendingEvents ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#18 0xf6af409c in wxAppConsole::ProcessPendingEvents ()
from /usr/local/lib/libwx_baseu-2.5.so.3
#19 0xf6cc2cf9 in wxapp_pending_callback ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
#20 0x002fca98 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#21 0x002f974b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x002fb1d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#23 0x002fb47f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x0061d78e in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xf6cd9b15 in wxEventLoop::Run ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
---Type to continue, or q to quit---
#26 0xf6d479a9 in wxAppBase::MainLoop ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
#27 0xf6d47ae7 in wxAppBase::OnRun ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
#28 0xf6b24b37 in wxEntry () from /usr/local/lib/libwx_baseu-2.5.so.3
#29 0xf6b24bed in wxEntry () from /usr/local/lib/libwx_baseu-2.5.so.3
#30 0x082d6273 in main (argc=1, argv=0xfee16f84) at amule-gui.cpp:300
(gdb) bt full
#0 0x004097a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1 0x00db2968 in send () from /lib/tls/libpthread.so.0
No symbol table info available.
#2 0xf6be12ef in GSocket::Send_Stream ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#3 0xf6be1997 in GSocket::Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#4 0xf6bdc20c in wxSocketBase::_Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#5 0xf6bdc3a9 in wxSocketBase::Write ()
from /usr/local/lib/libwx_baseu_net-2.5.so.3
No symbol table info available.
#6 0x08153d04 in CEMSocket::Send (this=0xa9848d8, lpBuf=0xa253df0 "ã(",
nBufLen=45) at EMSocket.cpp:396
tosend = 45
result = 170212848
__PRETTY_FUNCTION__ = "int CEMSocket::Send(char*, int, int)"
#7 0x0815383e in CEMSocket::SendPacket (this=0xa9848d8, packet=0x9ea53a0,
delpacket=true, controlpacket=true) at EMSocket.cpp:320
---Type to continue, or q to quit---
bCheckControlQueue = false
#8 0x081410f9 in CClientReqSocket::ProcessPacket (this=0xa9848d8,
packet=0x9ed8a30 "7hð¸\224-8\v[¨za\033w\027*\030", size=16, opcode=88 'X')
at ListenSocket.cpp:378
packet = (Packet *) 0x9ea53a0
data_in = { = { = {_vptr.CFile = 0x8375dc8,
m_fd = -1, m_error = false, fFilePath = { = {
static npos = 4294967195,
m_pchData = 0xf6b83b0c}, }}, m_GrowBytes = 0,
m_position = 16, m_BufferSize = 16, m_FileSize = 16, m_delete = false,
m_buffer = 0x9ed8a30 "7hð¸\224-8\v[¨za\033w\027*\030"}, = {
_vptr.CFileDataIO = 0x8375e3c}, }
reqfilehash = {m_hash = "7hð¸\224-8\v[¨za\033w\027*"}
reqfile = (class CKnownFile *) 0x915bfd0
data_out = { = { = {_vptr.CFile = 0x8375dc8,
m_fd = -1, m_error = false, fFilePath = { = {
static npos = 4294967195,
m_pchData = 0xf6b83b0c}, }}, m_GrowBytes = 128,
m_position = 0, m_BufferSize = 0, m_FileSize = 0, m_delete = false,
m_buffer = 0x0}, = {
_vptr.CFileDataIO = 0x8375e3c}, }
#9 0x0814ddf6 in CClientReqSocket::PacketReceived (this=0xa9848d8,
packet=0xaa36c08) at ListenSocket.cpp:2060
---Type to continue, or q to quit---
bResult = 246
uRawSize = 16
#10 0x081535da in CEMSocket::OnReceive (this=0xa9848d8, nErrorCode=0)
at EMSocket.cpp:261
bPacketResult = true
toCopy = 16
ret = 242
rptr = 0x841672c "ã\021"
GlobalReadBuffer = "ã\021\000\000\000X/\024ì\205B\021\016D\017¯ò\001ó\200=$ã\021\000\000\000X7hð¸\224-8\v[¨za\033w\027*ã\021\000\000\000O7hð¸\224-8\v[¨za\033w\027*ã\021\000\000\000X¹å¥åF$\210'\037\a»ÕA!\n\022ã\021\000\000\000O¹å¥åF$\210'\037\a»ÕA!\n\022ã\021\000\000\000XÈÚKOXç\003)\a\233¼M\215\037´õã\021\000\000\000OÈÚKOXç\003)\a\233¼M\215\037´õã\021\000\000\000X~\224!\202ÍÓÂñ\235C\006ä¯ÚÇ\016ã\021\000\000\000O~\224!\202ÍÓÂñ\235C\006ä¯ÚÇ\016ã\021"...
readMax = 2000000
rend = 0x84167f2 "\034xÏò\207\215\003¡÷{p\200\037êýE_}JX\rý/<ø££*:ý¿\236Èó\177ÚOdQ\225ðq(sÒ¤\232\230\237½\230+¸\237ì¿-¤£Y°V6£z\215\016ÍÊ\032\226\004ÛjÜs\221X~"
#11 0x0814e04c in CClientReqSocket::OnReceive (this=0xa9848d8, nErrorCode=0)
at ListenSocket.cpp:2091
No locals.
#12 0x0814e416 in CClientReqSocketHandler::ClientReqSocketHandler (
this=0xa8cebb0, event=@0x9e8cdb8) at ListenSocket.cpp:2212
---Type to continue, or q to quit---
No locals.
#13 0xf6af4119 in wxAppConsole::HandleEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#14 0xf6b65e0c in wxEvtHandler::ProcessEventIfMatches ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#15 0xf6b660ed in wxEventHashTable::HandleEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#16 0xf6b66c14 in wxEvtHandler::ProcessEvent ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#17 0xf6b66a3f in wxEvtHandler::ProcessPendingEvents ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#18 0xf6af409c in wxAppConsole::ProcessPendingEvents ()
from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#19 0xf6cc2cf9 in wxapp_pending_callback ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#20 0x002fca98 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
No symbol table info available.
#21 0x002f974b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x002fb1d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x002fb47f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x0061d78e in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0xf6cd9b15 in wxEventLoop::Run ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#26 0xf6d479a9 in wxAppBase::MainLoop ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#27 0xf6d47ae7 in wxAppBase::OnRun ()
from /usr/local/lib/libwx_gtk2u_core-2.5.so.3
No symbol table info available.
#28 0xf6b24b37 in wxEntry () from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#29 0xf6b24bed in wxEntry () from /usr/local/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#30 0x082d6273 in main (argc=1, argv=0xfee16f84) at amule-gui.cpp:300
---Type to continue, or q to quit---
No locals.
(gdb)
Please, solve this, since this continuous crashes are very annoying, and since I'm out of home almost all day (from 8AM to 7-8PM) I cannot restart it everytime it crashes.
Thanks, and sorry to bother.
Skolnick.