aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20060928 - amuleweb crash right after Login of Webclient  (Read 1774 times)

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 62
20060928 - amuleweb crash right after Login of Webclient
« on: October 12, 2006, 10:37:01 AM »

Code: [Select]
Creating client...
Succeeded! Connection established to aMule CVS

--------------------------------------
|          aMule Web Server          |
--------------------------------------

Use 'Help' for command list

[New Thread 32769 (LWP 18042)]
[New Thread 16386 (LWP 18043)]

WSThread: Thread started
Web Server: Started
aMuleweb$ WSThread: created socket listening on :4711
[New Thread 32771 (LWP 18044)]
WCThread: Started a new WCThread
Processing request [original]: login.php
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php
WCThread: exited [WebSocket closed]
[Thread 32771 (LWP 18044) exited]
[New Thread 49155 (LWP 18045)]
WCThread: Started a new WCThread
Processing request [original]: login.php
Session ok, not logged in
Checking password
Password ok
Processing request [redirected]: index.html
WCThread: exited [WebSocket closed]
[Thread 49155 (LWP 18045) exited]
[New Thread 65539 (LWP 18046)]
[New Thread 81924 (LWP 18047)]
[New Thread 98309 (LWP 18048)]
WCThread: Started a new WCThread
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: exited [WebSocket closed]
[Thread 81924 (LWP 18047) exited]
Processing request [original]: top.html
Session ok, logged in
Processing request [redirected]: top.html
WCThread: exited [WebSocket closed]
[Thread 65539 (LWP 18046) exited]
Processing request [original]: footer.php
Session ok, logged in
Processing request [redirected]: footer.php
WCThread: exited [WebSocket closed]
[Thread 98309 (LWP 18048) exited]
[New Thread 114691 (LWP 18049)]
[New Thread 131076 (LWP 18050)]
WCThread: Started a new WCThread
Processing request [original]: stats.php
Session ok, logged in
Processing request [redirected]: stats.php
[New Thread 147461 (LWP 18051)]
WCThread: Started a new WCThread
[New Thread 163846 (LWP 18052)]
WCThread: Started a new WCThread
WCThread: Started a new WCThread

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 114691 (LWP 18049)]
0x00000008 in ?? ()
(gdb) thread apply all bt full

Thread 12 (Thread 163846 (LWP 18052)):
#0  0x4002db94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4002d9d8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002f1bd in __pthread_alt_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4002bfb7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x401b26cd in wxMutexInternal::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#5  0x401b2738 in wxMutex::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#6  0x0805ea03 in wxMutexLocker (this=0x415ffb6c, mutex=@0x81571e0) at thread.h:176
No locals.
#7  0x0805c83d in CScriptWebServer::ProcessImgFileReq (this=0x81571d8, Data=@0x415ffcac) at WebServer.cpp:280
        lock = {m_isOk = false, m_mutex = @0x81571e0}
        session = (const CSession *) 0x415ffbf4
        imgName = { = {static npos = 4294967295, m_pchData = 0x80716d4}, }
        img = (CAnyImage *) 0x8071890
#8  0x0808110c in CWebSocket::OnRequestReceived (this=0x8156ac8,
    pHeader=0x81b1fad "HTTP/1.1\r\nUser-Agent: Opera/9.02 (X11; Linux i686; U; en)\r\nHost: proxy:44711\r\nAccept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q="..., pData=0x0, dwDataLen=0) at WebSocket.cpp:339
        url_ext = { = {static npos = 4294967295, m_pchData = 0x819458c}, }
        is_post = false
        sURL = { = {static npos = 4294967295, m_pchData = 0x81944cc}, }
        current_cookie = 0x81b2145 "amuleweb_session_id=1804289383\r\nCookie2: $Version=1\r\nConnection: Keep-Alive, TE\r\nTE: deflate, gzip, chunked, identity, trailers\r\n\r\n"
        Data = {parsedURL = {m_path = { = {static npos = 4294967295, m_pchData = 0x401e1cd0}, },
    m_file = { = {static npos = 4294967295, m_pchData = 0x819452c}, },
    m_params = {<__gnu_norm::map,std::allocator > >> = {_M_t = {
          _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, _M_key_compare = {<> = {}, },
            _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x415ffc60, _M_right = 0x415ffc60},
            _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 = 0x81944cc}, }, SessionID = 1804289383, pSocket = 0x8156ac8}
        path = 0x81b1fa4 "/up.jpeg"
        sessid = 1804289383
#9  0x08081853 in CWCThread::Entry (this=0x8156ab8) at WebSocket.cpp:208
        IsGet = true
        IsPost = false
        lock = {m_isOk = false, m_mutex = @0x0}
#10 0x401b4236 in wxThreadInternal::PthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#11 0x401b42ad in wxPthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#12 0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#13 0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#14 0x404b8327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 11 (Thread 147461 (LWP 18051)):
#0  0x4002db94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4002d9d8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002f1bd in __pthread_alt_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4002bfb7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x401b26cd in wxMutexInternal::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#5  0x401b2738 in wxMutex::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#6  0x0805ea03 in wxMutexLocker (this=0x413ffb6c, mutex=@0x81571e0) at thread.h:176
No locals.
#7  0x0805c83d in CScriptWebServer::ProcessImgFileReq (this=0x81571d8, Data=@0x413ffcac) at WebServer.cpp:280
        lock = {m_isOk = false, m_mutex = @0x81571e0}
        session = (const CSession *) 0x413ffbf4
        imgName = { = {static npos = 4294967295, m_pchData = 0x80716d4}, }
        img = (CAnyImage *) 0x8071890
#8  0x0808110c in CWebSocket::OnRequestReceived (this=0x81d3da0,
    pHeader=0x81b68b1 "HTTP/1.1\r\nUser-Agent: Opera/9.02 (X11; Linux i686; U; en)\r\nHost: proxy:44711\r\nAccept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q="..., pData=0x0, dwDataLen=0) at WebSocket.cpp:339
        url_ext = { = {static npos = 4294967295, m_pchData = 0x81943e4}, }
        is_post = false
        sURL = { = {static npos = 4294967295, m_pchData = 0x8194324}, }
        current_cookie = 0x81b6a49 "amuleweb_session_id=1804289383\r\nCookie2: $Version=1\r\nConnection: Keep-Alive, TE\r\nTE: deflate, gzip, chunked, identity, trailers\r\n\r\n"
        Data = {parsedURL = {m_path = { = {static npos = 4294967295, m_pchData = 0x401e1cd0}, },
    m_file = { = {static npos = 4294967295, m_pchData = 0x8194384}, },
    m_params = {<__gnu_norm::map,std::allocator > >> = {_M_t = {
          _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, _M_key_compare = {<> = {}, },
            _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x413ffc60, _M_right = 0x413ffc60},
            _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 = 0x8194324}, }, SessionID = 1804289383, pSocket = 0x81d3da0}
        path = 0x81b68a4 "/resume.jpeg"
        sessid = 1804289383
#9  0x08081853 in CWCThread::Entry (this=0x81d3d90) at WebSocket.cpp:208
        IsGet = true
        IsPost = false
        lock = {m_isOk = false, m_mutex = @0x0}
#10 0x401b4236 in wxThreadInternal::PthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#11 0x401b42ad in wxPthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#12 0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#13 0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#14 0x404b8327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 10 (Thread 131076 (LWP 18050)):
#0  0x4002db94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4002d9d8 in __pthread_wait_for_restart_signal () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002f1bd in __pthread_alt_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4002bfb7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x401b26cd in wxMutexInternal::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#5  0x401b2738 in wxMutex::Lock () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#6  0x0805ea03 in wxMutexLocker (this=0x411ffb6c, mutex=@0x81571e0) at thread.h:176
No locals.
#7  0x0805c83d in CScriptWebServer::ProcessImgFileReq (this=0x81571d8, Data=@0x411ffcac) at WebServer.cpp:280
        lock = {m_isOk = false, m_mutex = @0x81571e0}
        session = (const CSession *) 0x411ffbf4
        imgName = { = {static npos = 4294967295, m_pchData = 0x80716d4}, }
        img = (CAnyImage *) 0x8071890
#8  0x0808110c in CWebSocket::OnRequestReceived (this=0x81d3950,
    pHeader=0x8173c70 "HTTP/1.1\r\nUser-Agent: Opera/9.02 (X11; Linux i686; U; en)\r\nHost: proxy:44711\r\nAccept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q="..., pData=0x0, dwDataLen=0) at WebSocket.cpp:339
        url_ext = { = {static npos = 4294967295, m_pchData = 0x8156994}, }
        is_post = false
        sURL = { = {static npos = 4294967295, m_pchData = 0x81568d4}, }
        current_cookie = 0x8173e08 "amuleweb_session_id=1804289383\r\nCookie2: $Version=1\r\nConnection: Keep-Alive, TE\r\nTE: deflate, gzip, chunked, identity, trailers\r\n\r\n"
        Data = {parsedURL = {m_path = { = {static npos = 4294967295, m_pchData = 0x401e1cd0}, },
    m_file = { = {static npos = 4294967295, m_pchData = 0x8156934}, },
    m_params = {<__gnu_norm::map,std::allocator > >> = {_M_t = {
          _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, _M_key_compare = {<> = {}, },
            _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x411ffc60, _M_right = 0x411ffc60},
            _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 = 0x81568d4}, }, SessionID = 1804289383, pSocket = 0x81d3950}
        path = 0x8173c64 "/pause.jpeg"
        sessid = 1804289383
#9  0x08081853 in CWCThread::Entry (this=0x81d3940) at WebSocket.cpp:208
        IsGet = true
        IsPost = false
        lock = {m_isOk = false, m_mutex = @0x0}
#10 0x401b4236 in wxThreadInternal::PthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#11 0x401b42ad in wxPthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#12 0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#13 0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
---Type to continue, or q to quit---
No symbol table info available.
#14 0x404b8327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 9 (Thread 114691 (LWP 18049)):
#0  0x00000008 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 18043)):
#0  0x404b1851 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x400e00dc in __JCR_LIST__ () from /home/donkey/lib/libwx_baseu_net-2.7.so.0
No symbol table info available.
#2  0x08170b20 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0xffffffd8 in ?? ()
No symbol table info available.
#5  0x400d5589 in GSocket::Select () from /home/donkey/lib/libwx_baseu_net-2.7.so.0
No symbol table info available.
#6  0x400d0959 in wxSocketBase::_Wait () from /home/donkey/lib/libwx_baseu_net-2.7.so.0
No symbol table info available.
#7  0x400d0c84 in wxSocketServer::WaitForAccept () from /home/donkey/lib/libwx_baseu_net-2.7.so.0
No symbol table info available.
#8  0x0808085b in CWSThread::Entry (this=0x81707f0) at WebSocket.cpp:73
        connection_pending = true
        sock = (struct wxSocketBase *) 0x81569e8
        should_wait = 27
        addr =
        msg = { = {static npos = 4294967295, m_pchData = 0x8173c0c}, }
#9  0x401b4236 in wxThreadInternal::PthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#10 0x401b42ad in wxPthreadStart () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#11 0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#12 0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#13 0x404b8327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 18042)):
#0  0x404afb66 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4002aa8e in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002ad63 in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x404b8327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 18038)):
#0  0x40030b6b in read () from /lib/i686/libpthread.so.0
---Type to continue, or q to quit---
No symbol table info available.
#1  0x4024f1dc in ?? () from /lib/libreadline.so.4
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x40242016 in rl_getc () from /lib/libreadline.so.4
No symbol table info available.
#4  0x40241fca in rl_read_key () from /lib/libreadline.so.4
No symbol table info available.
#5  0x4022f5ef in readline_internal_char () from /lib/libreadline.so.4
No symbol table info available.
#6  0x4022f725 in readline_internal_char () from /lib/libreadline.so.4
No symbol table info available.
#7  0x4022f74c in readline_internal_char () from /lib/libreadline.so.4
No symbol table info available.
#8  0x4022f1fb in readline () from /lib/libreadline.so.4
No symbol table info available.
#9  0x080856bf in CaMuleExternalConnector::GetCommand (this=0x812b7b8, prompt=@0xbf83ef40, buffer=0xbf83ed68 "", buffer_size=256)
    at ../../../src/ExternalConnector.cpp:308
        text = 0xbf83ed38 "xî\203¿å\221\b\b¸·\022\b@ï\203¿hí\203¿"
#10 0x080891e5 in CaMuleExternalConnector::TextShell (this=0x812b7b8, prompt=@0xbf83ef40) at ../../../src/ExternalConnector.cpp:340
        buffer = "\000\000\000\000\200\"\021\b\000\000\000\0000\005Ð@\000\000\000\000®ò\002@0\005Ð@\020\000Ð@%\000\000\000\2146\003@\220\004Ð@\020\000Ð@¥\000\000\000\2146\003@\220\004Ð@\020\000Ð@¸í\203¿oÁ\002@ \000Ð@Ø¿P@Øí\203¿m\002E@\020\000Ð@\220\004Ð@Øí\203¿\000U\025\b\200\022\020\bÿÿÿÿèí\203¿îÛ\005\b\220\004Ð@0\005Ð\001øí\203¿\021Ý\005\b\220\004Ð@4 \r\b\bî\203¿\035Þ\005\b@î\203¿\000U\025\bHî\203¿ÙX\005\b@î\203¿@î\203¿x\000\000\000\236f:@\214\001\000\000Ø¿P@Hî\203¿¸·\022\b"...
        buf = { = {static npos = 4294967295, m_pchData = 0x401e1cd0}, }
        The_End = false
#11 0x08085d05 in CaMuleExternalConnector::ConnectAndRun (this=0x812b7b8, ProgName=@0xbf83ef40, ProgVersion=@0xbf83ef3c)
    at ../../../src/ExternalConnector.cpp:424
        appName = { = {static npos = 4294967295, m_pchData = 0x81554ac}, }
#12 0x0807c85a in CamulewebApp::OnRun (this=0x812b7b8) at WebInterface.cpp:62
No locals.
#13 0x40157cda in wxEntry () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#14 0x40157d96 in wxEntry () from /home/donkey/lib/libwx_baseu-2.7.so.0
No symbol table info available.
#15 0x0807c79e in main (argc=1, argv=0xbf83f004) at WebInterface.cpp:48
No locals.
#0  0x00000008 in ?? ()
(gdb)

As you can see in the trace, I'm using Opera 9.02 on Linux to access the Interface. After entering the login password (which is accepted), I get half the webpage and during the listing of my downloads amuleweb crashes. Do you need anything else?

This is perfectly reproducable.
Logged