aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb crashes - "defunct"  (Read 1863 times)

roro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
amuleweb crashes - "defunct"
« on: August 20, 2005, 05:15:03 PM »

hi, here is the amuleweb backtrace related with this oops thread : http://forum.amule.org/thread.php?threadid=5877&sid=

amuleweb crashes with a segmentation fault when i clic on the button "transfer"

it appears with amule-2.0.3 and the CVS 20050814 (i can't compile the today's CVS). I use wxwidgets 2.6.1 and a debian testing.

Code: [Select]
(gdb) bt
#0  0xb7c7ab1b in memset () from /lib/tls/libc.so.6
#1  0x08072c6e in CDynImage::DrawImage (this=0x81873e0) at WebServer.cpp:3215
#2  0x08072d97 in CDynImage::RequestData (this=0x81873e0, size=@0xb62028b8)
    at WebServer.cpp:3230
#3  0x08054735 in CWebServer::ProcessImgFileReq (this=0x8146658, Data=
      {sURL = { = {static npos = 4294967295, m_pchData = 0x8176994 "/dyn_D77F56C391DB7988D30EE3371E4A609A.png"}, }, inadr = {s_addr = 4294967295}, pSocket = 0x8175600}) at WebServer.cpp:474
#4  0x080915e1 in CWebSocket::OnRequestReceived (this=0x8175600,
    pHeader=0x8175760 "GET /dyn_D77F56C391DB7988D30EE3371E4A609A.png HTTP/1.1\r\nHost: 192.168.0.3:1563\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6\r\nAccept: image/png,*"...,
    dwHeaderLen=448, pData=0x0, dwDataLen=0) at WebSocket.cpp:322
#5  0x08090a0b in CWCThread::Entry (this=0x81755f0) at WebSocket.cpp:210
#6  0xb7f8fc5b in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb7f8fb2f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7cd918a in clone () from /lib/tls/libc.so.6

Code: [Select]
(gdb) bt full
#0  0xb7c7ab1b in memset () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x08072c6e in CDynImage::DrawImage (this=0x81873e0) at WebServer.cpp:3215
        i = 0
#2  0x08072d97 in CDynImage::RequestData (this=0x81873e0, size=@0xb62028b8)
    at WebServer.cpp:3230
        png_ptr = 0xb62028d0
        info_ptr = 0xb62028c0
#3  0x08054735 in CWebServer::ProcessImgFileReq (this=0x8146658, Data=
      {sURL = { = {static npos = 4294967295, m_pchData = 0x8176994 "/dyn_D77F56C391DB7988D30EE3371E4A609A.png"}, }, inadr = {s_addr = 4294967295}, pSocket = 0x8175600}) at WebServer.cpp:474
        img_size = -1239406392
        img_data = (unsigned char *) 0x0
        img = (CAnyImage *) 0x81873e0
#4  0x080915e1 in CWebSocket::OnRequestReceived (this=0x8175600,
    pHeader=0x8175760 "GET /dyn_D77F56C391DB7988D30EE3371E4A609A.png HTTP/1.1\r\nHost: 192.168.0.3:1563\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6\r\nAccept: image/png,*"...,
    dwHeaderLen=448, pData=0x0, dwDataLen=0) at WebSocket.cpp:322
        sHeader = { = {static npos = 4294967295,
    m_pchData = 0x81c3104 "GET /dyn_D77F56C391DB7988D30EE3371E4A609A.png HTTP/1.1\r\nHost: 192.168.0.3:1563\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5---Type to continue, or q to quit---e
.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6\r\nAccept: image/png,*"...}, }
        sData = { = {static npos = 4294967295,
    m_pchData = 0xb7f9e400 ""}, }
        sURL = { = {static npos = 4294967295,
    m_pchData = 0x8176994 "/dyn_D77F56C391DB7988D30EE3371E4A609A.png"}, }
        Data = {sURL = { = {static npos = 4294967295,
      m_pchData = 0x8176994 "/dyn_D77F56C391DB7988D30EE3371E4A609A.png"}, }, inadr = {s_addr = 4294967295}, pSocket = 0x8175600}
#5  0x08090a0b in CWCThread::Entry (this=0x81755f0) at WebSocket.cpp:210
        IsGet = true
        IsPost = false
#6  0xb7f8fc5b in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#7  0xb7f8fb2f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#8  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0xb7cd918a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Code: [Select]
Thread 11 (Thread -1239405648 (LWP 10488)):
#0  0xb7c7ab1b in memset () from /lib/tls/libc.so.6
#1  0x08072c6e in CDynImage::DrawImage (this=0x81873e0) at WebServer.cpp:3215
#2  0x08072d97 in CDynImage::RequestData (this=0x81873e0, size=@0xb62028b8)
    at WebServer.cpp:3230
#3  0x08054735 in CWebServer::ProcessImgFileReq (this=0x8146658, Data=
      {sURL = { = {static npos = 4294967295, m_pchData = 0x8176994 "/dyn_D77F56C391DB7988D30EE3371E4A609A.png"}, }, inadr = {s_addr = 4294967295}, pSocket = 0x8175600}) at WebServer.cpp:474
#4  0x080915e1 in CWebSocket::OnRequestReceived (this=0x8175600,
    pHeader=0x8175760 "GET /dyn_D77F56C391DB7988D30EE3371E4A609A.png HTTP/1.1\r\nHost: 192.168.0.3:1563\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6\r\nAccept: image/png,*"...,
    dwHeaderLen=448, pData=0x0, dwDataLen=0) at WebSocket.cpp:322
#5  0x08090a0b in CWCThread::Entry (this=0x81755f0) at WebSocket.cpp:210
#6  0xb7f8fc5b in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb7f8fb2f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7cd918a in clone () from /lib/tls/libc.so.6

Thread 10 (Thread -1222628432 (LWP 10487)):
---Type to continue, or q to quit---
#0  0xb7e2f1b7 in png_write_find_filter () from /usr/lib/libpng12.so.0
#1  0xb7e33612 in png_write_row () from /usr/lib/libpng12.so.0
#2  0xb7e334bb in png_write_image () from /usr/lib/libpng12.so.0
#3  0x08072e6d in CDynImage::RequestData (this=0x81ac718, size=@0xb72028b8)
    at WebServer.cpp:3241
#4  0x08054735 in CWebServer::ProcessImgFileReq (this=0x8146658, Data=
      {sURL = { = {static npos = 4294967295, m_pchData = 0x817e8dc "/dyn_2D4F4C607118AFF7C37B6B6B7F7DD8C3.png"}, }, inadr = {s_addr = 4294967295}, pSocket = 0x8176b30}) at WebServer.cpp:474
#5  0x080915e1 in CWebSocket::OnRequestReceived (this=0x8176b30,
    pHeader=0x817c5b0 "GET /dyn_2D4F4C607118AFF7C37B6B6B7F7DD8C3.png HTTP/1.1\r\nHost: 192.168.0.3:1563\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6\r\nAccept: image/png,*"...,
    dwHeaderLen=448, pData=0x0, dwDataLen=0) at WebSocket.cpp:322
#6  0x08090a0b in CWCThread::Entry (this=0x8176b20) at WebSocket.cpp:210
#7  0xb7f8fc5b in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0xb7f8fb2f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7cd918a in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1214116944 (LWP 10479)):
#0  0xb7cd2a27 in select () from /lib/tls/libc.so.6
#1  0xb7e7637d in GSocket::Input_Timeout ()
   from /usr/lib/libwx_base_net-2.6.so.0
#2  0xb7e7557c in GSocket::WaitConnection ()
   from /usr/lib/libwx_base_net-2.6.so.0
#3  0xb7e72006 in wxSocketServer::AcceptWith ()
   from /usr/lib/libwx_base_net-2.6.so.0
#4  0xb7e72118 in wxSocketServer::Accept ()
   from /usr/lib/libwx_base_net-2.6.so.0
#5  0x08090051 in CWSThread::Entry (this=0x8147f10) at WebSocket.cpp:82
#6  0xb7f8fc5b in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb7f8fb2f in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7cd918a in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1212164640 (LWP 10476)):
#0  0xb7ccb901 in read () from /lib/tls/libc.so.6
#1  0xb7c6dd98 in _IO_file_read () from /lib/tls/libc.so.6
#2  0xb7c6d24e in _IO_file_underflow () from /lib/tls/libc.so.6
#3  0xb7c6f55d in _IO_default_uflow () from /lib/tls/libc.so.6
#4  0xb7c6f37e in __uflow () from /lib/tls/libc.so.6
#5  0xb7c63288 in _IO_getline_info () from /lib/tls/libc.so.6
#6  0xb7c63181 in _IO_getline () from /lib/tls/libc.so.6
---Type to continue, or q to quit---
#7  0xb7c61f8e in fgets () from /lib/tls/libc.so.6
#8  0x08095827 in CaMuleExternalConnector::GetCommand (this=0x80cd5b8,
    prompt=@0xbffffad0, buffer=0xbffff8c0 "0", buffer_size=256)
    at ExternalConnector.cpp:212
#9  0x080958e5 in CaMuleExternalConnector::TextShell (this=0x80cd5b8,
    prompt=@0xbffffad0, commands=0x80c79e0) at ExternalConnector.cpp:237
#10 0x080964c9 in CaMuleExternalConnector::ConnectAndRun (this=0x80cd5b8,
    ProgName=@0xbffffad0, ProgVersion=@0xbffffae0, commands=0x80c79e0)
    at ExternalConnector.cpp:371
#11 0x0808ca12 in CamulewebApp::OnRun (this=0x80cd5b8) at WebInterface.cpp:230
#12 0xb7f2d478 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x0808c9bc in main (argc=1, argv=0xbffffbe4) at WebInterface.cpp:89
#0  0xb7c7ab1b in memset () from /lib/tls/libc.so.6
« Last Edit: August 20, 2005, 05:18:07 PM by roro »
Logged