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 seg-fault  (Read 5578 times)

amuled_user

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amuleweb seg-fault
« on: February 26, 2008, 02:14:41 PM »

Hello all,

 I have often segmentation faults in amuleweb. I created a backtrace files of one of the crashes. It crashed after I deleted a running download. Maybe this will help to find the problem.  The system is debian etch, amule is 2.1.3+CVS20080222
Thanks for the good work on amule!

Edit: oops, wrong forum - please Mod, move it to the backtraces forum

Code: [Select]
(gdb) bt
#0  0xb7b0d947 in raise () from /lib/tls/libc.so.6
#1  0xb7b0f0c9 in abort () from /lib/tls/libc.so.6
#2  0xb7b436ba in __fsetlocking () from /lib/tls/libc.so.6
#3  0xb7b4af7f in mallopt () from /lib/tls/libc.so.6
#4  0xb7b4b022 in free () from /lib/tls/libc.so.6
#5  0xb7cf73b1 in operator delete () from /usr/lib/libstdc++.so.6
#6  0xb7cf740d in operator delete[] () from /usr/lib/libstdc++.so.6
#7  0x080543b3 in ~CProgressImage (this=0x821026c, __vtt_parm=0x8106664) at WebServer.cpp:956
#8  0x0806b0a7 in ~CDynProgressImage (this=0x8210268) at WebServer.h:520
#9  0x08053496 in DownloadFileInfo::ItemDeleted (this=0x81851f8, item=0x8210140) at WebServer.cpp:737
#10 0x08080a1b in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::ProcessUpdate (this=0x81851f8,
    reply=0x8265e78, full_req=0xb693eba0, req_type=768) at WebServer.h:273
#11 0x08082e19 in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::DoRequery (this=0x81851f8, cmd=13,
    tag=768) at WebServer.h:316
#12 0x0805e661 in DownloadFileInfo::ReQuery (this=0x81851f8) at WebServer.cpp:742
#13 0x080c5c12 in amule_obj_array_create<DownloadFileInfo, DownloadFile> (class_name=0x81179eb "AmuleDownloadFile",
    result=0x8295438) at php_core_lib.cpp:1002
#14 0x080ba301 in amule_load_downloads (result=0x8295438) at php_core_lib.cpp:1017
#15 0x080ba3c7 in php_native_load_amule_vars (result=0x8295438) at php_core_lib.cpp:1157
#16 0x080ad9a3 in php_run_func_call (node=0x82955b8, result=0x8295438) at php_syntree.cpp:1758
#17 0x080adcf6 in php_expr_eval (expr=0x82955b8, result=0x8295438) at php_syntree.cpp:1324
#18 0x080adaed in php_expr_eval (expr=0x8295610, result=0x0) at php_syntree.cpp:1271
#19 0x080ae428 in php_execute (node=0x8295630, result=0xb693ef5c) at php_syntree.cpp:1791
---Type <return> to continue, or q <return> to quit---
#20 0x080b76b6 in CPhPLibContext::Execute (this=0x81d4db0, buf=0xb693eff0) at php_core_lib.cpp:1705
#21 0x080b78fc in CPhpFilter (this=0xb693f01b, server=0x8185190, sess=0x817d8e4,
    file=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", buff=0xb693eff0) at php_core_lib.cpp:1783
#22 0x08054f37 in CScriptWebServer::ProcessPhpRequest (this=0x8185190,
    filename=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", sess=0x817d8e4, size=@0xb693f084)
    at WebServer.cpp:1775
#23 0x0805ab9a in CScriptWebServer::ProcessURL (this=0x8185190, Data=@0xb693f288) at WebServer.cpp:1896
#24 0x08087b5f in CWebSocket::OnRequestReceived (this=0x8181468,
    pHeader=0x817c7ed "HTTP/1.1\r\nHost: localhost:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html"...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:375
#25 0x0808833f in CWCThread::Entry (this=0x8181458) at WebSocket.cpp:240
#26 0xb7e62888 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#27 0xb7e6291d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#28 0xb7f020bd in start_thread () from /lib/tls/libpthread.so.0
#29 0xb7bb101e in clone () from /lib/tls/libc.so.6
(gdb)
(gdb)



« Last Edit: February 26, 2008, 02:33:03 PM by amuled_user »
Logged

amuled_user

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuleweb seg-fault
« Reply #1 on: February 26, 2008, 02:15:46 PM »

Here the next one :

Code: [Select]

(gdb)
(gdb)
(gdb) bt full
#0  0xb7b0d947 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb7b0f0c9 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7b436ba in __fsetlocking () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb7b4af7f in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#4  0xb7b4b022 in free () from /lib/tls/libc.so.6
No symbol table info available.
#5  0xb7cf73b1 in operator delete () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0xb7cf740d in operator delete[] () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x080543b3 in ~CProgressImage (this=0x821026c, __vtt_parm=0x8106664) at WebServer.cpp:956
No locals.
#8  0x0806b0a7 in ~CDynProgressImage (this=0x8210268) at WebServer.h:520
No locals.
#9  0x08053496 in DownloadFileInfo::ItemDeleted (this=0x81851f8, item=0x8210140) at WebServer.cpp:737
No locals.
#10 0x08080a1b in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::ProcessUpdate (this=0x81851f8,
    reply=0x8265e78, full_req=0xb693eba0, req_type=768) at WebServer.h:273
        real_ptr = (DownloadFile *) 0x8210140
---Type <return> to continue, or q <return> to quit---
        core_files = {<__gnu_norm::set<CMD4Hash,std::less<CMD4Hash>,std::allocator<CMD4Hash> >> = {_M_t = {
      _M_impl = {<std::allocator<std::_Rb_tree_node<CMD4Hash> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<CMD4Hash> >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {
          _M_color = std::_S_red, _M_parent = 0x8274248, _M_left = 0x8274428, _M_right = 0x8274360},
        _M_node_count = 28}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::set<CMD4Hash, std::less<CMD4Hash>, std::allocator<CMD4Hash> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
      _M_version = 1}, <No data fields>}, <No data fields>}
        del_ids = {<__gnu_norm::list<CMD4Hash,std::allocator<CMD4Hash> >> = {<__gnu_norm::_List_base<CMD4Hash,std::allocator<CMD4Hash> >> = {
      _M_impl = {<std::allocator<__gnu_norm::_List_node<CMD4Hash> >> = {<__gnu_cxx::new_allocator<__gnu_norm::_List_node<CMD4Hash> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0xb693e9d8,
          _M_prev = 0xb693e9d8}}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::list<CMD4Hash, std::allocator<CMD4Hash> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
      _M_version = 1}, <No data fields>}, <No data fields>}
#11 0x08082e19 in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::DoRequery (this=0x81851f8, cmd=13,
    tag=768) at WebServer.h:316
        req_sts = {<CECEmptyTag> = {<CECTag> = {m_error = 0, m_tagData = 0x0, m_state = 3082072098, m_tagName = 0,
      m_dataLen = 0, m_dataType = 1 '\001', m_dynamic = false,
      m_tagList = {<__gnu_norm::vector<CECTag,std::allocator<CECTag> >> = {<__gnu_norm::_Vector_base<CECTag,std::allocator<CECTag> >> = {
            _M_impl = {<std::allocator<CECTag>> = {<__gnu_cxx::new_allocator<CECTag>> = {<No data fields>}, <No data fields>}, _M_start = 0x8266048, _M_finish = 0x8266080,
              _M_end_of_storage = 0x8266080}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<CECT---Type <return> to continue, or q <return> to quit---
ag, std::allocator<CECTag> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
            _M_version = 2}, <No data fields>}, _M_guaranteed_capacity = 1}, m_haschildren = false,
      static s_theNullTag = {m_error = 0, m_tagData = 0x811cd00, m_state = CECTag::bsName, m_tagName = 0, m_dataLen = 0,
        m_dataType = 0 '\0', m_dynamic = false,
        m_tagList = {<__gnu_norm::vector<CECTag,std::allocator<CECTag> >> = {<__gnu_norm::_Vector_base<CECTag,std::allocator<CECTag> >> = {
              _M_impl = {<std::allocator<CECTag>> = {<__gnu_cxx::new_allocator<CECTag>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
                _M_end_of_storage = 0x0}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<CECTag, std::allocator<CECTag> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
              _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 0}, m_haschildren = false,
        static s_theNullTag = <same as static member of an already seen type>, static s_theNullTagData = {0, 0, 0, 0}},
      static s_theNullTagData = {0, 0, 0, 0}}, <No data fields>}, m_opCode = 13 '\r'}
        reply = (const CECPacket *) 0x8265e78
        req_full = {<CECEmptyTag> = {<CECTag> = {m_error = 0, m_tagData = 0x0, m_state = 9, m_tagName = 0, m_dataLen = 0,
      m_dataType = 1 '\001', m_dynamic = false,
      m_tagList = {<__gnu_norm::vector<CECTag,std::allocator<CECTag> >> = {<__gnu_norm::_Vector_base<CECTag,std::allocator<CECTag> >> = {
            _M_impl = {<std::allocator<CECTag>> = {<__gnu_cxx::new_allocator<CECTag>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<CECTag, std::allocator<CECTag> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
            _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 0}, m_haschildren = false,
---Type <return> to continue, or q <return> to quit---
      static s_theNullTag = {m_error = 0, m_tagData = 0x811cd00, m_state = CECTag::bsName, m_tagName = 0, m_dataLen = 0,
        m_dataType = 0 '\0', m_dynamic = false,
        m_tagList = {<__gnu_norm::vector<CECTag,std::allocator<CECTag> >> = {<__gnu_norm::_Vector_base<CECTag,std::allocator<CECTag> >> = {
              _M_impl = {<std::allocator<CECTag>> = {<__gnu_cxx::new_allocator<CECTag>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
                _M_end_of_storage = 0x0}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<CECTag, std::allocator<CECTag> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
              _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 0}, m_haschildren = false,
        static s_theNullTag = <same as static member of an already seen type>, static s_theNullTagData = {0, 0, 0, 0}},
      static s_theNullTagData = {0, 0, 0, 0}}, <No data fields>}, m_opCode = 13 '\r'}
#12 0x0805e661 in DownloadFileInfo::ReQuery (this=0x81851f8) at WebServer.cpp:742
No locals.
#13 0x080c5c12 in amule_obj_array_create<DownloadFileInfo, DownloadFile> (class_name=0x81179eb "AmuleDownloadFile",
    result=0x8295438) at php_core_lib.cpp:1002
        container = (class DownloadFileInfo *) 0x81851f8
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb693ec78, _M_version = 134935265,
    _M_prior = 0x8265e50, _M_next = 0x1}, _M_current = {_M_node = 0xb693eca8}}
#14 0x080ba301 in amule_load_downloads (result=0x8295438) at php_core_lib.cpp:1017
No locals.
#15 0x080ba3c7 in php_native_load_amule_vars (result=0x8295438) at php_core_lib.cpp:1157
        si_str = (PHP_SCOPE_ITEM *) 0x8261098
        str = (PHP_VALUE_NODE *) 0x8265d08
---Type <return> to continue, or q <return> to quit---
        varname = 0x8265b30 "downloads"
#16 0x080ad9a3 in php_run_func_call (node=0x82955b8, result=0x8295438) at php_syntree.cpp:1758
        l_node = (PHP_EXP_NODE *) 0x82955d8
        r_node = (PHP_EXP_NODE *) 0x8295538
        si = (PHP_SCOPE_ITEM *) 0x8263ad8
        func = (PHP_SYN_NODE *) 0x827af08
        func_decl = (PHP_SYN_FUNC_DECL_NODE *) 0x8181790
        saved_vars = {<__gnu_norm::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,PHP_VAR_NODE*,std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, PHP_VAR_NODE*> > >> = {_M_t = {
      _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, PHP_VAR_NODE*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, PHP_VAR_NODE*> > >> = {<No data fields>}, <No data fields>},
        _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
          _M_parent = 0x8265ba8, _M_left = 0x8265ae8, _M_right = 0x8265c48},
        _M_node_count = 9}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, PHP_VAR_NODE*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, PHP_VAR_NODE*> > > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
      _M_version = 1}, <No data fields>}, <No data fields>}
#17 0x080adcf6 in php_expr_eval (expr=0x82955b8, result=0x8295438) at php_syntree.cpp:1324
        result_val_right = {type = PHP_VAL_NONE, {int_val = 0, float_val = 0, str_val = 0x0, ptr_val = 0x0, obj_val = {
      inst_ptr = 0x0, class_name = 0x0}}}
---Type <return> to continue, or q <return> to quit---
        result_val_left = {type = PHP_VAL_NONE, {int_val = 30064771072, float_val = 1.4853970536756906e-313,
    str_val = 0x0, ptr_val = 0x0, obj_val = {inst_ptr = 0x0, class_name = 0x7 <Address 0x7 out of bounds>}}}
        lval_node = (PHP_VAR_NODE *) 0x0
        si = (PHP_SCOPE_ITEM *) 0x0
#18 0x080adaed in php_expr_eval (expr=0x8295610, result=0x0) at php_syntree.cpp:1271
        result_val_right = {type = PHP_VAL_NONE, {int_val = 1, float_val = 4.9406564584124654e-324,
    str_val = 0x1 <Address 0x1 out of bounds>, ptr_val = 0x1, obj_val = {inst_ptr = 0x1, class_name = 0x0}}}
        result_val_left = {type = PHP_VAL_NONE, {int_val = 1, float_val = 4.9406564584124654e-324,
    str_val = 0x1 <Address 0x1 out of bounds>, ptr_val = 0x1, obj_val = {inst_ptr = 0x1, class_name = 0x0}}}
        lval_node = (PHP_VAR_NODE *) 0x8295438
        si = (PHP_SCOPE_ITEM *) 0x0
#19 0x080ae428 in php_execute (node=0x8295630, result=0xb693ef5c) at php_syntree.cpp:1791
        cond_result = {type = PHP_VAL_NONE, {int_val = 1, float_val = 4.9406564584124654e-324,
    str_val = 0x1 <Address 0x1 out of bounds>, ptr_val = 0x1, obj_val = {inst_ptr = 0x1, class_name = 0x0}}}
        curr_exec_result = 0
#20 0x080b76b6 in CPhPLibContext::Execute (this=0x81d4db0, buf=0xb693eff0) at php_core_lib.cpp:1705
        val = {type = 136077120, {int_val = 136731264, float_val = 6.7554220254849983e-316, str_val = 0x8265a80 "\003",
    ptr_val = 0x8265a80, obj_val = {inst_ptr = 0x8265a80, class_name = 0x0}}}
#21 0x080b78fc in CPhpFilter (this=0xb693f01b, server=0x8185190, sess=0x817d8e4,
    file=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", buff=0xb693eff0) at php_core_lib.cpp:1783
No locals.
#22 0x08054f37 in CScriptWebServer::ProcessPhpRequest (this=0x8185190,
    filename=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", sess=0x817d8e4, size=@0xb693f084)
---Type <return> to continue, or q <return> to quit---
    at WebServer.cpp:1775
        f = (FILE *) 0x8255090
        buffer = {
  m_buf_list = {<__gnu_norm::list<char*,std::allocator<char*> >> = {<__gnu_norm::_List_base<char*,std::allocator<char*> >> = {
        _M_impl = {<std::allocator<__gnu_norm::_List_node<char*> >> = {<__gnu_cxx::new_allocator<__gnu_norm::_List_node<char*> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x82676b0,
            _M_prev = 0x81c1930}}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::list<char*, std::allocator<char*> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
        _M_version = 1}, <No data fields>}, <No data fields>}, m_total_length = 7191, m_alloc_size = 1024,
  m_curr_buf = 0x8260200 "ctions</b></td>\n</tr>\n\n", m_buf_ptr = 0x8260217 "", m_curr_buf_left = 1001}
        buf = 0xb693f07c "ì¡%\b4¯\035\b\224ò\223¶\001ð\223¶\230Q\030\b8jè·"
#23 0x0805ab9a in CScriptWebServer::ProcessURL (this=0x8185190, Data=@0xb693f288) at WebServer.cpp:1896
        lock = {m_isOk = true, m_mutex = @0x8185198}
        httpOutLen = -1231818092
        httpOut = 0x0
        filename = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x81daf34}, <No data fields>}
        session = (CSession *) 0x817d8e4
        req_file = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x825a1ec}, <No data fields>}
        isUseGzip = 6
#24 0x08087b5f in CWebSocket::OnRequestReceived (this=0x8181468,
    pHeader=0x817c7ed "HTTP/1.1\r\nHost: localhost:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html"...,
---Type <return> to continue, or q <return> to quit---
    pData=0x0, dwDataLen=0) at WebSocket.cpp:375
        url_ext = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x81c2b2c}, <No data fields>}
        is_post = false
        path = 0x817c7ac "//downloads.php?cmd=cancel&file=76DE45C244C1E427D13802B7FDFB8314"
        sURL = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x81c290c}, <No data fields>}
        sessid = 1804289383
        current_cookie = 0x817c997 "amuleweb_session_id=1804289383\r\nMax-Forwards: 10\r\nVia: 1.1 192.168.1.6:30\r\nX-Forwarded-For: 84.169.200.191\r\nX-Forwarded-Host: rhb592.homeip.net:30\r\nX-Forwarded-Server: 192.168.1.6\r\nConnection: Keep-Al"...
        Data = {parsedURL = {m_path = {<wxStringBase> = {static npos = 4294967295,
        m_pchData = 0xb7e86a38}, <No data fields>}, m_file = {<wxStringBase> = {static npos = 4294967295,
        m_pchData = 0x81d54dc}, <No data fields>},
    m_params = {<__gnu_norm::map<wxString,wxString,std::less<wxString>,std::allocator<std::pair<const wxString, wxString> > >> = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const wxString, wxString> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const wxString, wxString> > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x8277978, _M_left = 0x8277978, _M_right = 0x81d4b10},
            _M_node_count = 2}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::map<wxString, wxString, std::less<wxString>, std::allocator<std::pair<const wxString, wxString> > > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0,
          _M_const_iterators = 0x0, _M_version = 1}, <No data fields>}, <No data fields>}}, sURL = {<wxStringBase> = {
      static npos = 4294967295, m_pchData = 0x81c290c}, <No data fields>}, SessionID = 1804289383, pSocket = 0x8181468}
        sFile = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x81d54dc}, <No data fields>}
---Type <return> to continue, or q <return> to quit---
#25 0x0808833f in CWCThread::Entry (this=0x8181458) at WebSocket.cpp:240
        IsGet = true
        IsPost = false
        lock = {m_isOk = false, m_mutex = @0x0}
#26 0xb7e62888 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#27 0xb7e6291d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#28 0xb7f020bd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#29 0xb7bb101e in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
(gdb)
(gdb)

Logged

amuled_user

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuleweb seg-fault
« Reply #2 on: February 26, 2008, 02:16:29 PM »

and the last:

Code: [Select]

(gdb)
(gdb)  thread apply all bt

Thread 312 (Thread -1231815760 (LWP 21661)):
#0  0xb7b0d947 in raise () from /lib/tls/libc.so.6
#1  0xb7b0f0c9 in abort () from /lib/tls/libc.so.6
#2  0xb7b436ba in __fsetlocking () from /lib/tls/libc.so.6
#3  0xb7b4af7f in mallopt () from /lib/tls/libc.so.6
#4  0xb7b4b022 in free () from /lib/tls/libc.so.6
#5  0xb7cf73b1 in operator delete () from /usr/lib/libstdc++.so.6
#6  0xb7cf740d in operator delete[] () from /usr/lib/libstdc++.so.6
#7  0x080543b3 in ~CProgressImage (this=0x821026c, __vtt_parm=0x8106664) at WebServer.cpp:956
#8  0x0806b0a7 in ~CDynProgressImage (this=0x8210268) at WebServer.h:520
#9  0x08053496 in DownloadFileInfo::ItemDeleted (this=0x81851f8, item=0x8210140) at WebServer.cpp:737
#10 0x08080a1b in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::ProcessUpdate (this=0x81851f8,
    reply=0x8265e78, full_req=0xb693eba0, req_type=768) at WebServer.h:273
#11 0x08082e19 in UpdatableItemsContainer<DownloadFile, CEC_PartFile_Tag, CMD4Hash>::DoRequery (this=0x81851f8, cmd=13,
    tag=768) at WebServer.h:316
#12 0x0805e661 in DownloadFileInfo::ReQuery (this=0x81851f8) at WebServer.cpp:742
#13 0x080c5c12 in amule_obj_array_create<DownloadFileInfo, DownloadFile> (class_name=0x81179eb "AmuleDownloadFile",
    result=0x8295438) at php_core_lib.cpp:1002
#14 0x080ba301 in amule_load_downloads (result=0x8295438) at php_core_lib.cpp:1017
#15 0x080ba3c7 in php_native_load_amule_vars (result=0x8295438) at php_core_lib.cpp:1157
#16 0x080ad9a3 in php_run_func_call (node=0x82955b8, result=0x8295438) at php_syntree.cpp:1758
#17 0x080adcf6 in php_expr_eval (expr=0x82955b8, result=0x8295438) at php_syntree.cpp:1324
---Type <return> to continue, or q <return> to quit---
#18 0x080adaed in php_expr_eval (expr=0x8295610, result=0x0) at php_syntree.cpp:1271
#19 0x080ae428 in php_execute (node=0x8295630, result=0xb693ef5c) at php_syntree.cpp:1791
#20 0x080b76b6 in CPhPLibContext::Execute (this=0x81d4db0, buf=0xb693eff0) at php_core_lib.cpp:1705
#21 0x080b78fc in CPhpFilter (this=0xb693f01b, server=0x8185190, sess=0x817d8e4,
    file=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", buff=0xb693eff0) at php_core_lib.cpp:1783
#22 0x08054f37 in CScriptWebServer::ProcessPhpRequest (this=0x8185190,
    filename=0x8277bd8 "/usr/share/amule/webserver/default/downloads.php", sess=0x817d8e4, size=@0xb693f084)
    at WebServer.cpp:1775
#23 0x0805ab9a in CScriptWebServer::ProcessURL (this=0x8185190, Data=@0xb693f288) at WebServer.cpp:1896
#24 0x08087b5f in CWebSocket::OnRequestReceived (this=0x8181468,
    pHeader=0x817c7ed "HTTP/1.1\r\nHost: localhost:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html"...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:375
#25 0x0808833f in CWCThread::Entry (this=0x8181458) at WebSocket.cpp:240
#26 0xb7e62888 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#27 0xb7e6291d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#28 0xb7f020bd in start_thread () from /lib/tls/libpthread.so.0
#29 0xb7bb101e in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1214911568 (LWP 21315)):
#0  0xb7ba9cd7 in select () from /lib/tls/libc.so.6
#1  0xb7ef0cbf in GSocket::Select () from /usr/lib/libwx_baseu_net-2.8.so.0
#2  0xb7eeb836 in wxSocketBase::_Wait () from /usr/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#3  0xb7eebb34 in wxSocketServer::WaitForAccept () from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0x080891a9 in CWSThread::Entry (this=0x8188a10) at WebSocket.cpp:97
#5  0xb7e62888 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7e6291d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7f020bd in start_thread () from /lib/tls/libpthread.so.0
#8  0xb7bb101e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1213602112 (LWP 21309)):
#0  0xb7f07cf7 in __pause_nocancel () from /lib/tls/libpthread.so.0
#1  0x080915f6 in CaMuleExternalConnector::ConnectAndRun (this=0x8177780, ProgName=@0xbff61bd0, ProgVersion=@0xbff61bcc)
    at ../../../src/ExternalConnector.cpp:419
#2  0x080865e2 in CamulewebApp::OnRun (this=0x8177780) at WebInterface.cpp:62
#3  0xb7df92ca in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7df9377 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x08086676 in main (argc=Cannot access memory at address 0x0
) at WebInterface.cpp:48
#6  0xb7af9ea8 in __libc_start_main () from /lib/tls/libc.so.6
#7  0x08053201 in _start () at ../sysdeps/i386/elf/start.S:119
#0  0xb7b0d947 in raise () from /lib/tls/libc.so.6
(gdb)
(gdb)
(gdb)



Logged

lfroen

  • Guest
Re: amuleweb seg-fault
« Reply #3 on: February 27, 2008, 12:18:24 PM »

What amule version is that?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb seg-fault
« Reply #4 on: February 27, 2008, 12:21:13 PM »

Quote
amule is 2.1.3+CVS20080222
Logged

lfroen

  • Guest
Re: amuleweb seg-fault
« Reply #5 on: February 27, 2008, 04:26:55 PM »

Quote
amule is 2.1.3+CVS20080222
I can read, thank you. WTF does it mean?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amuleweb seg-fault
« Reply #6 on: February 27, 2008, 05:00:05 PM »

This is the snapshot for 22nd February 2008 in Debian-terms.
Logged

gulp

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
    • http://www.gulp.mine.nu
Re: amuleweb seg-fault
« Reply #7 on: March 02, 2008, 03:24:49 PM »

i'm having some seg fault with amuleweb too,

one...with   "amuleweb SVN Sun Mar  1 02:15:23 CET 2008"
Quote
[337787.592268] amuleweb[13900]: segfault at 000000ff eip b7ba9cd8 esp b6aaa110 error 6
and after some hours another one with  "amuleweb SVN Sun Mar  2 07:03:48 CET 2008" just recompiled from source
Quote
[ 2532.989706] amuleweb[4943]: segfault at 0000010a eip b7ab2206 esp b17fef10 error 4

on Ubuntu Server 7.10
Logged

lfroen

  • Guest
Re: amuleweb seg-fault
« Reply #8 on: March 02, 2008, 04:58:39 PM »

Well, I see the error, can you explain when it's happening?
Logged