aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled and amuleweb crashed during hashing  (Read 2322 times)

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
amuled and amuleweb crashed during hashing
« on: February 17, 2005, 09:46:49 AM »

This is the third times this happens. After or during hashing a completed file both amuled and amuleweb crashed. I think I was manually adding new files via the webgui at that time.
edit: I'm using CVS 20050210
Here come the backtraces:

amuled bt:
Code: [Select]
#0  0x4042eac1 in kill () from /lib/libc.so.6
#1  0x400249ed in pthread_kill () from /lib/libpthread.so.0
#2  0x40024d0b in raise () from /lib/libpthread.so.0
#3  0x4042e6fa in raise () from /lib/libc.so.6
#4  0x40430127 in abort () from /lib/libc.so.6
#5  0x4016216e in wxFatalSignalHandler () from /usr/lib/libwx_base-2.5.so.3
#6  0x40027c45 in pthread_barrierattr_setpshared () from /lib/libpthread.so.0
#7  
#8  0x0809ebd6 in CList::GetCount (this=0x138)
    at CTypedPtrList.h:104
#9  0x0809c96d in CPartFile_Encoder::Encode (this=0x8548454, parent=0xbebff7dc)
    at ExternalConn.cpp:1244
#10 0x08098f91 in Get_EC_Response_GetDownloadQueue (request=0x8548454,
    encoders=@0x8654558) at ExternalConn.cpp:414
#11 0x0809d29d in ExternalConn::ProcessRequest2 (this=0x84faf08,
    request=0x40758840, enc_map=@0x8654558) at ExternalConn.cpp:1404
#12 0x0809e364 in ExternalConnClientThread::Entry (this=0x8654548)
    at ExternalConn.cpp:1612
#13 0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
#14 0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
#15 0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
#16 0x404e6c97 in clone () from /lib/libc.so.6

amuled bt full:
Code: [Select]
#0  0x4042eac1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400249ed in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40024d0b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x4042e6fa in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x40430127 in abort () from /lib/libc.so.6
No symbol table info available.
#5  0x4016216e in wxFatalSignalHandler () from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#6  0x40027c45 in pthread_barrierattr_setpshared () from /lib/libpthread.so.0
No symbol table info available.
#7  
No symbol table info available.
#8  0x0809ebd6 in CList::GetCount (this=0x138)
    at CTypedPtrList.h:104
No locals.
#9  0x0809c96d in CPartFile_Encoder::Encode (this=0x8548454, parent=0xbebff7dc)
    at ExternalConn.cpp:1244
        gap_list_size = 0
        curr_pos = {m_ptr = 0x407e3190}
        it = {> = {}, _M_current = 0x4074ee10}
        gap_enc_size = 134813696
        gap_enc_data = (const unsigned char *) 0xbebff76c "Øá;\b\210\032¦@\033"
        part_enc_size = 1081291128
        part_enc_data = (
    const unsigned char *) 0x138

        tagdata = (unsigned char *) 0x40a61a88 "p1s@\2101~@\020"
        etag = {m_error = -1094715524, m_tagData = 0x84d5ec4,
  m_tagName = 63396, m_dataLen = 134763349, m_dynamic = 216,
  m_tagList = { >> = {, true>> = {
        _M_start = 0x40a61a88, _M_finish = 0xbebf001b,
        _M_end_of_storage = 0x4}, }, }}
#10 0x08098f91 in Get_EC_Response_GetDownloadQueue (request=0x8548454,
    encoders=@0x8654558) at ExternalConn.cpp:414
        cur_file = (class CPartFile *) 0x40c7a950
        filetag = { = {m_error = 0, m_tagData = 0x4068ef38,
    m_tagName = 19, m_dataLen = 16, m_dynamic = true,
    m_tagList = { >> = {, true>> = {
          _M_start = 0x406025d0, _M_finish = 0x40602690,
          _M_end_of_storage = 0x406026d0}, }, }}, }
        enc = (CPartFile_Encoder &) @0x8548454: {
  m_enc_data = ,
  static m_gap_buffer = { >> = {, true>> = {_M_start = 0x83b95b8, _M_finish = 0x83b97b8,
        _M_end_of_storage = 0x83b97b8}, }, },
  m_file = 0x0}
        i = 0
        detail_level = EC_DETAIL_UPDATE
        queryitems = {
  _M_t = { >> = {, true>> = {
        _M_header = 0x8629598}, }, _M_node_count = 0,
    _M_key_compare = {> = {}, }}}
#11 0x0809d29d in ExternalConn::ProcessRequest2 (this=0x84faf08,
    request=0x40758840, enc_map=@0x8654558) at ExternalConn.cpp:1404
        tag = (const class CECTag *) 0x138
        link =
        i = 1081444416
        response = (class CECPacket *) 0x0
#12 0x0809e364 in ExternalConnClientThread::Entry (this=0x8654548)
    at ExternalConn.cpp:1612
        request = (class CECPacket *) 0x40758840
        response = (class CECPacket *) 0x40758840
#13 0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#14 0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#15 0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
No symbol table info available.
#16 0x404e6c97 in clone () from /lib/libc.so.6
No symbol table info available.

amuleweb bt:
Code: [Select]
#0  0x0808479a in std::vector >::begin (
    this=0x14) at stl_vector.h:215
#1  0x08084384 in std::vector >::size (
    this=0x14) at stl_vector.h:261
#2  0x08085ae2 in CECTag::GetTagCount (this=0x0) at ECPacket.h:79
#3  0x0805fbbe in CWebServer::_GetSearch (this=0x80d1348, Data=
      {sURL = , inadr = {s_addr = 0}, pSocket = 0x405029a8})
    at WebServer.cpp:2109
#4  0x08051928 in CWebServer::ProcessURL (this=0x80d1348, Data=
      {sURL = , inadr = {s_addr = 0}, pSocket = 0x405029a8})
    at WebServer.cpp:562
#5  0x0807df19 in CWebSocket::OnRequestReceived (this=0x405029a8,
    pHeader=0x40500490 "GET /?ses=307262034&w=search HTTP/1.1\r\nHost: rooster.wg:3333\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,applica"...,
    dwHeaderLen=620, pData=0x0, dwDataLen=0) at WebSocket.cpp:316
#6  0x0807d9e1 in CWCThread::Entry (this=0x40502998) at WebSocket.cpp:202
#7  0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
#8  0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
#9  0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
#10 0x403bbc97 in clone () from /lib/libc.so.6

amuleweb bt full:
Code: [Select]
#0  0x0808479a in std::vector >::begin (
    this=0x14) at stl_vector.h:215
No locals.
#1  0x08084384 in std::vector >::size (
    this=0x14) at stl_vector.h:261
No locals.
#2  0x08085ae2 in CECTag::GetTagCount (this=0x0) at ECPacket.h:79
No locals.
#3  0x0805fbbe in CWebServer::_GetSearch (this=0x80d1348, Data=
      {sURL = , inadr = {s_addr = 0}, pSocket = 0x405029a8})
    at WebServer.cpp:2109
        sSession =
        Out =
        downloads =
        sToSearch =
        req = { = { = {m_error = 0, m_tagData = 0x0,
      m_tagName = 0, m_dataLen = 0, m_dynamic = false,
      m_tagList = { >> = {, true>> = {
            _M_start = 0x81b8c10, _M_finish = 0x81b8c50,
            _M_end_of_storage = 0x81b8c50}, }, }}, }, m_opCode = 56 '8'}
        reply = (class CECPacket *) 0x0
        sSort =
        sSearchSortRev =
        result =
        i = { = {
    _M_node = 0x4040d9b0}, }
        val =
#4  0x08051928 in CWebServer::ProcessURL (this=0x80d1348, Data=
      {sURL = , inadr = {s_addr = 0}, pSocket = 0x405029a8})
    at WebServer.cpp:562
        httpOut = 0xbf5ff81c "Ì0\025\bÀ\016\037\bDø_¿ú+\002@l\224\023\b"
        bOk = 64
        lock =
        isUseGzip = true
        Out =
        OutE =
        OutE2 =
        OutS =
        gzipOut = (TCHAR *) 0x0
        gzipLen = 0
        HTTPProcessData =
        HTTPTemp =
        lSession = 307262034
        sSes =
        sSession =
        sW =
        httpOut = 0xbf5ff81c "Ì0\025\bÀ\016\037\bDø_¿ú+\002@l\224\023\b"
#5  0x0807df19 in CWebSocket::OnRequestReceived (this=0x405029a8,
    pHeader=0x40500490 "GET /?ses=307262034&w=search HTTP/1.1\r\nHost: rooster.wg:3333\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,applica"...,
    dwHeaderLen=620, pData=0x0, dwDataLen=0) at WebSocket.cpp:316
        sHeader =
        sData =
        sURL =
        Data = {sURL = , inadr = {s_addr = 0},
  pSocket = 0x405029a8}
#6  0x0807d9e1 in CWCThread::Entry (this=0x40502998) at WebSocket.cpp:202
        len = 1078990360
        cont = 0x0
        cont_len = 0x40501618 "\b¯\033@"
        IsGet = true
        IsPost = false
#7  0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#8  0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#9  0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
No symbol table info available.
#10 0x403bbc97 in clone () from /lib/libc.so.6
No symbol table info available.
« Last Edit: February 17, 2005, 10:01:53 AM by Lenni »
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: amuled and amuleweb crashed during hashing
« Reply #1 on: February 17, 2005, 12:22:01 PM »

Lenni,

Please try a more recent CVS tarball, those were fixed two days ago.

amulecmd had similar problems that were fixed yesterday, so the fixes will be on tomorrow CVS tarball.

Thanks for your support!
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: amuled and amuleweb crashed during hashing
« Reply #2 on: February 17, 2005, 12:31:00 PM »

Thank you very much!
I'll try tomorrows CVS because of my other problem.
Lenni
Logged

lfroen

  • Guest
Re: amuled and amuleweb crashed during hashing
« Reply #3 on: February 17, 2005, 12:57:04 PM »

Phoenix: I don't think this is fixed:

Quote
#8  0x0809ebd6 in CList::GetCount (this=0x138)

crash in webserver is just result of this one.
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: amuled and amuleweb crashed during hashing
« Reply #4 on: February 17, 2005, 02:34:34 PM »

lfroen,

amuleweb should not crash even if amuled or amule crashes. But I agree, there is still a fix to do in amuled. The ball is in your field now. :D

Cheers!
Logged