aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20051029 amuleweb seg fault  (Read 1954 times)

rarr

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
20051029 amuleweb seg fault
« on: October 29, 2005, 08:51:19 PM »

when logging onto the server with IE it seg faults.

#0  0x08057f9f in CProgressImage::InitSortedGaps (this=0x8357d8c)
    at WebServer.cpp:3104
#1  0x0805b758 in CProgressImage::CreateSpan (this=0x8357d8c)
    at WebServer.cpp:3115
#2  0x0805bcff in CDynProgressImage::DrawImage (this=0x8357d80)
    at WebServer.cpp:3277
#3  0x0805bedb in CDynProgressImage::RequestData (this=0x8357d80,
    size=@0xb59ff1ec) at WebServer.cpp:3295
#4  0x0806d780 in CWebServerBase::ProcessImgFileReq (this=0x82eb520,
    Data=@0xb59ff2b0) at WebServer.cpp:326
#5  0x080afe66 in CWebSocket::OnRequestReceived (this=0x83012b8,
    pHeader=0x834d17e "HTTP/1.1\r\nAccept: */*\r\nReferer: http://192.168.0.6:4711/amuleweb-main-dload.php\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; "...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:345
#6  0x080b0539 in CWCThread::Entry (this=0x83012a8) at WebSocket.cpp:213
#7  0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x006ddb80 in start_thread () from /lib/libpthread.so.0
#10 0x0047f9ce in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x08057f9f in CProgressImage::InitSortedGaps (this=0x8357d8c)
    at WebServer.cpp:3104
        gap_start = 0
        gap_end = 3047158060
        j = 0
        gap_info = (const uint32 *) 0xff
#1  0x0805b758 in CProgressImage::CreateSpan (this=0x8357d8c)
    at WebServer.cpp:3115
        colored_gaps = (CProgressImage::Color_Gap_Struct *) 0x8355570
        i = -1247809150
        color_gaps_alloc = -1247808804
        part_info = (
    const unsigned char *) 0x808e9e4 "\203\uffff\020\uffff\uffff\220U\211\uffff\203\uffff\b\213E\b\203\uffff\b\uffffu\fP\uffff\uffff\uffff\uffff\uffff\203\uffff\020\213E\b\uffff@\024"
        colored_gaps_size = -1247808840
#2  0x0805bcff in CDynProgressImage::DrawImage (this=0x8357d80)
    at WebServer.cpp:3277
No locals.
#3  0x0805bedb in CDynProgressImage::RequestData (this=0x8357d80,
    size=@0xb59ff1ec) at WebServer.cpp:3295
No locals.
#4  0x0806d780 in CWebServerBase::ProcessImgFileReq (this=0x82eb520,
    Data=@0xb59ff2b0) at WebServer.cpp:326
---Type to continue, or q to quit---
        img_size = 134844963
        img_data = (unsigned char *) 0x834d29e "1350490027\r\n\r\n"
        img = (CAnyImage *) 0x8357da8
#5  0x080afe66 in CWebSocket::OnRequestReceived (this=0x83012b8,
    pHeader=0x834d17e "HTTP/1.1\r\nAccept: */*\r\nReferer: http://192.168.0.6:4711/amuleweb-main-dload.php\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; "...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:345
        url_ext = { = {static npos = 4294967295,
    m_pchData = 0x835af54 ".png"}, }
        is_post = false
        sURL = { = {static npos = 4294967295,
    m_pchData = 0x835911c "/dyn_62DD6323562513EE54CC01A8457A3480.png"}, }
        current_cookie = 0x834d297 "SESSID"
        Data = {parsedURL = {m_path = { = {
        static npos = 4294967295, m_pchData = 0xf165c0 ""}, },
    m_file = { = {static npos = 4294967295,
        m_pchData = 0x8359dc4 "dyn_62DD6323562513EE54CC01A8457A3480.png"}, },
    m_params = {<__gnu_norm::map,std::allocator > >> = {_M_t = {
          _M_impl = { to continue, or q to quit---
, wxString> > >> = {<__gnu_cxx::__mt_alloc >,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__gnu_cxx::__mt_alloc_base > >> = {}, }, },
            _M_key_compare = {<> = {}, },
            _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
              _M_left = 0xb59ff26c, _M_right = 0xb59ff26c},
            _M_node_count = 0}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::map, std::allocator > > >> = {<__gnu_debug::_Safe_sequence_base> = {
          _M_iterators = 0x0, _M_const_iterators = 0x0,
          _M_version = 1}, }, }},
  sURL = { = {static npos = 4294967295,
      m_pchData = 0x835911c "/dyn_62DD6323562513EE54CC01A8457A3480.png"}, }, SessionID = 1350490027, pSocket = 0x83012b8}
        path = 0x834d154 "/dyn_62DD6323562513EE54CC01A8457A3480.png"
        sessid = 1350490027
#6  0x080b0539 in CWCThread::Entry (this=0x83012a8) at WebSocket.cpp:213
        IsGet = true
        IsPost = false
        lock = {m_isOk = 251, m_mutex = @0x83012e8}
#7  0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
No symbol table info available.
#8  0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#9  0x006ddb80 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x0047f9ce in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) thread apply all bt
[New Thread -1258296400 (LWP 21451)]

Thread 15 (Thread -1258296400 (LWP 21451)):
#0  0x0047f9b8 in clone () from /lib/libc.so.6
#1  0x007d0f00 in ?? ()
#2  0x00000000 in ?? ()

Thread 14 (Thread -1247806544 (LWP 21450)):
#0  0x08057f9f in CProgressImage::InitSortedGaps (this=0x8357d8c)
    at WebServer.cpp:3104
#1  0x0805b758 in CProgressImage::CreateSpan (this=0x8357d8c)
    at WebServer.cpp:3115
#2  0x0805bcff in CDynProgressImage::DrawImage (this=0x8357d80)
    at WebServer.cpp:3277
#3  0x0805bedb in CDynProgressImage::RequestData (this=0x8357d80,
    size=@0xb59ff1ec) at WebServer.cpp:3295
#4  0x0806d780 in CWebServerBase::ProcessImgFileReq (this=0x82eb520,
    Data=@0xb59ff2b0) at WebServer.cpp:326
#5  0x080afe66 in CWebSocket::OnRequestReceived (this=0x83012b8,
    pHeader=0x834d17e "HTTP/1.1\r\nAccept: */*\r\nReferer: http://192.168.0.6:4711/amuleweb-main-dload.php\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; "...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:345
#6  0x080b0539 in CWCThread::Entry (this=0x83012a8) at WebSocket.cpp:213
---Type to continue, or q to quit---
#7  0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#8  0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#9  0x006ddb80 in start_thread () from /lib/libpthread.so.0
#10 0x0047f9ce in clone () from /lib/libc.so.6

Thread 13 (Thread -1224766544 (LWP 21449)):
#0  0x002cc402 in __kernel_vsyscall ()
#1  0x006e1e7e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0x006deba5 in _L_mutex_lock_36 () from /lib/libpthread.so.0
#3  0x08359110 in ?? ()
#4  0x00f36654 in ?? () from /usr/lib/libwx_base-2.6.so.0
#5  0x08303908 in ?? ()
#6  0x08343c20 in ?? ()
#7  0xb6ff8338 in ?? ()
#8  0x00f0a7f3 in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#9  0x00f0a7f3 in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#10 0x00f0a85b in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
#11 0x0807bab2 in wxMutexLocker (this=0xb6ff83ac, mutex=@0x82f9740)
    at /usr/local/include/wx-2.6/wx/thread.h:181
#12 0x080b0983 in CWCThread::Entry (this=0x8343c18) at WebSocket.cpp:289
#13 0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
#14 0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#15 0x006ddb80 in start_thread () from /lib/libpthread.so.0
#16 0x0047f9ce in clone () from /lib/libc.so.6

Thread 12 (Thread -1235256400 (LWP 21448)):
#0  0x002cc402 in __kernel_vsyscall ()
#1  0x006e1e7e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0x006deba5 in _L_mutex_lock_36 () from /lib/libpthread.so.0
#3  0x08359110 in ?? ()
#4  0x00f36654 in ?? () from /usr/lib/libwx_base-2.6.so.0
#5  0x08302688 in ?? ()
#6  0x08302630 in ?? ()
#7  0xb65f7338 in ?? ()
#8  0x00f0a7f3 in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#9  0x00f0a7f3 in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#10 0x00f0a85b in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
#11 0x0807bab2 in wxMutexLocker (this=0xb65f73ac, mutex=@0x82f9740)
    at /usr/local/include/wx-2.6/wx/thread.h:181
#12 0x080b0983 in CWCThread::Entry (this=0x8302628) at WebSocket.cpp:289
#13 0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#14 0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#15 0x006ddb80 in start_thread () from /lib/libpthread.so.0
---Type to continue, or q to quit---
#16 0x0047f9ce in clone () from /lib/libc.so.6

Thread 2 (Thread -1214276688 (LWP 21436)):
#0  0x0047f9b8 in clone () from /lib/libc.so.6
#1  0x007d0f00 in ?? ()
#2  0xb4ffebb0 in ?? ()
#3  0x006e6ff4 in ?? () from /lib/libpthread.so.0
#4  0x006dcf26 in do_clone () from /lib/libpthread.so.0
#5  0x006dd68f in pthread_create@@GLIBC_2.1 () from /lib/libpthread.so.0
#6  0x00f0c946 in wxThread::Create () from /usr/lib/libwx_base-2.6.so.0
#7  0x080af26f in CWSThread::Entry (this=0x82f36e0) at WebSocket.cpp:90
#8  0x00f0c421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#9  0x00f0c4a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#10 0x006ddb80 in start_thread () from /lib/libpthread.so.0
#11 0x0047f9ce in clone () from /lib/libc.so.6

Thread 1 (Thread -1208883520 (LWP 21432)):
#0  0x002cc402 in __kernel_vsyscall ()
#1  0x006e213b in __read_nocancel () from /lib/libpthread.so.0
#2  0x00545578 in rl_getc () from /usr/lib/libreadline.so.5
#3  0x0054553a in rl_read_key () from /usr/lib/libreadline.so.5
#4  0x00534354 in readline_internal_char () from /usr/lib/libreadline.so.5
---Type to continue, or q to quit---
#5  0x0053443e in readline () from /usr/lib/libreadline.so.5
#6  0x080b5b91 in CaMuleExternalConnector::GetCommand (this=0x82bece8,
    prompt=@0xbff32b70, buffer=0xbff327dc "\032x\uffff", buffer_size=256)
    at ../../../src/ExternalConnector.cpp:345
#7  0x080ba504 in CaMuleExternalConnector::TextShell (this=0x82bece8,
    prompt=@0xbff32b70) at ../../../src/ExternalConnector.cpp:378
#8  0x080b889e in CaMuleExternalConnector::ConnectAndRun (this=0x82bece8,
    ProgName=@0xbff32b70, ProgVersion=@0xbff32b6c)
    at ../../../src/ExternalConnector.cpp:536
#9  0x080ab7eb in CamulewebApp::OnRun (this=0x82bece8) at WebInterface.cpp:236
#10 0x00ebd3cb in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x080ab725 in main (argc=1, argv=0xbff32c64) at WebInterface.cpp:69
Logged

lfroen

  • Guest
Re: 20051029 amuleweb seg fault
« Reply #1 on: October 30, 2005, 08:19:12 AM »

Thanx, can you tell if this is reproduceble i.e. you getting this fault every time ?
Logged

rarr

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: 20051029 amuleweb seg fault
« Reply #2 on: October 30, 2005, 08:25:05 PM »

at the time it was doing it all the time, although I've not been able to reproduce it today.
Logged