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 crash on transfer  (Read 2630 times)

fbnsantos

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Amuleweb crash on transfer
« on: February 18, 2005, 10:18:58 PM »

Hello,

I'm using the emuled and amuleweb, I have used many cvs(last 20050218) version and alls give-me segmentation fault when i go on the browser to see the transfer(link) status, anyone can help-me?... now the emuled launch the amuleweb?


Code: [Select]
aMuleweb$ WSThread: created socket listening on :4711
ECSocket::ReadBufferFromSocket error The socket is non-blocking and the operation would block
Segmentation fault


Thanks,
Filipe Santos
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Amuleweb crash on transfer
« Reply #1 on: February 18, 2005, 10:48:31 PM »

fbnsantos,

I can't reproduce it here, can you try to run amuleweb with debug info inside gdb and post the bt and bt full here?

Cheers!
Logged

fbnsantos

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
how i do that
« Reply #2 on: February 18, 2005, 10:51:58 PM »

how i do that? I never have used the gdb!

Thanks,
Filipe Santos
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Amuleweb crash on transfer
« Reply #3 on: February 18, 2005, 11:23:01 PM »

So it's time to start using :D

Read that:

http://www.amule.org/wiki/index.php/Backtraces
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind

Welcome to the wonderfull world of debugging ;)

Cheers!
Logged

fbnsantos

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
post bl and bl full
« Reply #4 on: February 18, 2005, 11:47:22 PM »

Yes is a good day for that :) ...


Code: [Select]
[New Thread -164971600 (LWP 21685)]
[Thread -164971600 (zombie) exited]
[New Thread -164971600 (LWP 21686)]
[Thread -164971600 (LWP 21686) exited]
[New Thread -164971600 (LWP 21687)]
[Thread -164971600 (LWP 21687) exited]
[New Thread -164971600 (LWP 21688)]
[Thread -164971600 (LWP 21688) exited]
[New Thread -164971600 (LWP 21689)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -164971600 (LWP 21689)]
0x0805b46f in CWebServer::_GetTransferList (this=0x8d7f590, Data=
      {sURL = { = {static npos = 4294967195, m_pchData = 0x8d98384 "/?ses=-2034195902&w=transfer"}, }, inadr = {s_addr = 0}, pSocket = 0x8d88140}) at WebServer.cpp:1134
1134                            HTTPProcessData.Replace(wxT("[DownloadBar]"),

============================= bt =========================

#0  0x0805b46f in CWebServer::_GetTransferList (this=0x8d7f590, Data=
      {sURL = { = {static npos = 4294967195, m_pchData = 0x8d98384 "/?ses=-2034195902&w=transfer"}, }, inadr = {s_addr = 0}, pSocket = 0x8d88140}) at WebServer.cpp:1134
#1  0x0805468c in CWebServer::ProcessURL (this=0x8d7f590, Data=
      {sURL = { = {static npos = 4294967195, m_pchData = 0x8d98384 "/?ses=-2034195902&w=transfer"}, }, inadr = {s_addr = 0}, pSocket = 0x8d88140}) at WebServer.cpp:563
#2  0x0808d193 in CWebSocket::OnRequestReceived (this=0x8d88140,
    pHeader=0x8d97370 "GET /?ses=-2034195902&w=transfer HTTP/1.1\r\nHost: 192.168.0.1:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.7.5) Gecko/20041118 Firefox/1.0\r\nAccept: text/xml,application/xml,ap"...,
    dwHeaderLen=464, pData=0x0, dwDataLen=0) at WebSocket.cpp:316
#3  0x0808c4a1 in CWCThread::Entry (this=0x8d88130) at WebSocket.cpp:202
#4  0xf6fbe996 in wxThreadInternal::PthreadStart (thread=0x8d88130)
    at src/unix/threadpsx.cpp:762
#5  0xf6fbea1d in wxPthreadStart (ptr=0x8dc1228) at src/unix/threadpsx.cpp:714
#6  0x00ad41d5 in start_thread () from /lib/tls/libpthread.so.0
#7  0x00a2e2da in clone () from /lib/tls/libc.so.6

=========================== bt full ========================


#0  0x0805b46f in CWebServer::_GetTransferList (this=0x8d7f590, Data=
      {sURL = { = {static npos = 4294967195, m_pchData = 0x8d98384 "/?ses=-2034195902&w=tr
ansfer"}, }, inadr = {s_addr = 0}, pSocket = 0x8d88140}) at WebServer.cpp:1134
        sActions = { = {static npos = 4294967195,
    m_pchData = 0x8e9cd3c "raria.mp3-Waiting')\">\"Waiting\")\">}
        sED2kLink = { = {static npos = 4294967195,
    m_pchData = 0x8d9d67c "
uraria.mp3|3145728|5991E4B091F4DC617BC3852B507EA140|/|sources,217.129.212.194:4662|/\">link.gif\" alt=\"ED2K Link"...}, }
        HTTPProcessData = { = {static npos = 4294967195,
    m_pchData = 0x8d9d3b4 "\n Francisco
Jose - Ai Mouraria.mp3
\n 3.00 MB\n gn=top class=\"down-line-righ"...}, }
        JSfileinfo = { = {static npos = 4294967195,
    m_pchData = 0x8e9590c "Francisco Jose - Ai Mouraria.mp3-Waiting"}, }
        sNextAction = { = {static npos = 4294967195,
    m_pchData = 0xf6fc8e60 ""}, }
        complx = 2
        sFileHash = { = {static npos = 4294967195,
    m_pchData = 0xf6fc8e60 ""}, }
        sSort = { = {static npos = 4294967195,
    m_pchData = 0xf6fc8e60 ""}, }
        HTTPTemp = { = {static npos = 4294967195,
    m_pchData = 0xf6fc8e60 ""}, }
        fTotalCompleted = 352771128
        fTotalSpeed = 8695
        i = {_M_node = 0x8dc1120}
        Out = { = {static npos = 4294967195,
    m_pchData = 0x8d9bc4c "\n\n \n\n
\n\n