aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20051019 a different amuleweb seg fault  (Read 2096 times)

rarr

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
20051019 a different amuleweb seg fault
« on: October 19, 2005, 10:09:20 PM »

I think its a different one anyway...  8)
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1245447248 (LWP 15408)]
0x0805bd71 in CDynProgressImage::DrawImage (this=0x978a730)
    at WebServer.cpp:3272
3272                            memset(m_row_ptrs[i], 0, 3*m_width);
(gdb) bt
#0  0x0805bd71 in CDynProgressImage::DrawImage (this=0x978a730)
    at WebServer.cpp:3272
#1  0x0805bf03 in CDynProgressImage::RequestData (this=0x978a730,
    size=@0xb5c3f1ec) at WebServer.cpp:3287
#2  0x0806d648 in CWebServerBase::ProcessImgFileReq (this=0x97507d8,
    Data=@0xb5c3f2b0) at WebServer.cpp:326
#3  0x080af52f in CWebSocket::OnRequestReceived (this=0x9776b10,
    pHeader=0x977e58e "HTTP/1.1\r\nHost: 192.168.0.6:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1\r\nAccept: image/png,*/*;q=0.5\r\nAccept-Language: en-us,en;q=0.5\r\nAcce"...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:346
#4  0x080afc0f in CWCThread::Entry (this=0x9776b00) at WebSocket.cpp:214
#5  0x00a55421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#6  0x00a554a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#7  0x006ddb80 in start_thread () from /lib/libpthread.so.0
#8  0x0061e9ce in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x0805bd71 in CDynProgressImage::DrawImage (this=0x978a730)
    at WebServer.cpp:3272
        i = 0
#1  0x0805bf03 in CDynProgressImage::RequestData (this=0x978a730,
    size=@0xb5c3f1ec) at WebServer.cpp:3287
No locals.
#2  0x0806d648 in CWebServerBase::ProcessImgFileReq (this=0x97507d8,
    Data=@0xb5c3f2b0) at WebServer.cpp:326
        img_size = 134842537
        img_data = (unsigned char *) 0x977e563 ""
        img = (CAnyImage *) 0x978a758
#3  0x080af52f in CWebSocket::OnRequestReceived (this=0x9776b10,
    pHeader=0x977e58e "HTTP/1.1\r\nHost: 192.168.0.6:4711\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1\r\nAccept: image/png,*/*;q=0.5\r\nAccept-Language: en-us,en;q=0.5\r\nAcce"...,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:346
        url_ext = { = {static npos = 4294967295,
    m_pchData = 0x977cf5c ".png"}, }
        is_post = false
        sURL = { = {static npos = 4294967295,
    m_pchData = 0x977f6e4 "/dyn_E7D70E38AAF9FB250E63F0E2A345B23B.png"}, }
        current_cookie = 0x0
---Type to continue, or q to quit---
        Data = {parsedURL = {m_path = { = {
        static npos = 4294967295, m_pchData = 0xa5f5c0 ""}, },
    m_file = { = {static npos = 4294967295,
        m_pchData = 0x97885bc "dyn_E7D70E38AAF9FB250E63F0E2A345B23B.png"}, },
    m_params = {<__gnu_norm::map,std::allocator > >> = {_M_t = {
          _M_impl = { > >> = {<__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 = 0xb5c3f26c, _M_right = 0xb5c3f26c},
            _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 = 0x977f6e4 "/dyn_E7D70E38AAF9FB250E63F0E2A345B23B.png"}, }, SessionID = 0, pSocket = 0x9776b10}
---Type to continue, or q to quit---
        path = 0x977e564 "/dyn_E7D70E38AAF9FB250E63F0E2A345B23B.png"
        sessid = 0
#4  0x080afc0f in CWCThread::Entry (this=0x9776b00) at WebSocket.cpp:214
        IsGet = true
        IsPost = false
        lock = {m_isOk = 251, m_mutex = @0x975edc8}
#5  0x00a55421 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#6  0x00a554a7 in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#7  0x006ddb80 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x0061e9ce in clone () from /lib/libc.so.6
No symbol table info available
Logged

lfroen

  • Guest
Re: 20051019 a different amuleweb seg fault
« Reply #1 on: October 20, 2005, 08:48:02 AM »

Looks like real issue. Several things I would like to know:
1. How did you run amuleweb ? If manually, post command line
2. Did you changed something in template(s) ?
3. How often is this problem ?
Logged

rarr

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: 20051019 a different amuleweb seg fault
« Reply #2 on: October 20, 2005, 09:00:53 AM »

1. I ran amuleweb like so...

>gdb amuleweb
>run

2.  Not changed a thing in templates, except I'm using the chicane template.

3.  Only happened once, had it on all night and its not happened again.
Logged