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 freezeing and crashing  (Read 2474 times)

MarkoB

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Amuleweb freezeing and crashing
« on: March 08, 2007, 03:18:38 PM »

aMuled CVS using wxGTK2 v2.6.2 (Snapshot: Sun Mar  4 07:01:52 CET 2007) (OS: Linux)

WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: Started a new WCThread
No session opened - will request login
Session created - requesting login
14:56:10: Error: can't open file '/usr/share/amule/webserver/chicane/dyn_CCE56505B128F5EC92C451655A1DA460.png' (error 2: No such file or directory)
CFileImage: failed to open /usr/share/amule/webserver/chicane/dyn_CCE56505B128F5EC92C451655A1DA460.png
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: Started a new WCThread
WCThread: request is unknown: [BitTorrent protocolex]

when loading or refreshing transfer page amuleweb is freezing when file simlar like this above is not found
port is still open but i cant connect and log on
i must kill amuleweb and start again


and second problem
i dont know what to do

strace:
[pid  5296] gettimeofday({1173364346, 775759}, NULL) = 0
[pid  5296] select(9, [8], [8], [8], {10, 0}) = 1 (out [8], left {10, 0})
[pid  5296] select(9, NULL, [8], NULL, {10, 0}) = 1 (out [8], left {10, 0})
[pid  5296] rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
[pid  5296] send(8, "HTTP/1.1 200 OK\r\nContent-Type: i"..., 152, MSG_NOSIGNAL) = 152
[pid  5296] rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
[pid  5296] gettimeofday({1173364346, 782182}, NULL) = 0
[pid  5296] select(9, [8], [8], [8], {10, 0}) = 1 (out [8], left {10, 0})
[pid  5296] select(9, NULL, [8], NULL, {10, 0}) = 1 (out [8], left {10, 0})
[pid  5296] rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
[pid  5296] send(8, "GIF89a \0 \0\367\0\0\0\0\0\200\0\0\0\200\0\200\200\0\0"..., 1494, MSG_NOSIGNAL) = 1494
[pid  5296] rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
[pid  5296] futex(0x80f0b08, FUTEX_WAKE, 1 <unfinished ...>
[pid  5297] <... futex resumed> )       = 0
[pid  5296] <... futex resumed> )       = 1
[pid  5297] time( <unfinished ...>
[pid  5296] gettimeofday( <unfinished ...>
[pid  5297] <... time resumed> NULL)    = 1173364346
[pid  5296] <... gettimeofday resumed> {1173364346, 789324}, NULL) = 0
[pid  5297] write(1, "Session ok, logged in\n", 22 <unfinished ...>
[pid  5296] select(9, [8], [], [8], {0, 0}Session ok, logged in
 <unfinished ...>
[pid  5297] <... write resumed> )       = 22
[pid  5296] <... select resumed> )      = 0 (Timeout)
[pid  5297] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 5297 detached
[pid  5296] shutdown(8, 2 /* send and receive */) = 0
[pid  5296] close(8)                    = 0
[pid  5296] write(1, "WCThread: exited [WebSocket clos"..., 36 <unfinished ...>
[pid  5197] <... read resumed> 0xb7fa8000, 1024) = ? ERESTARTSYS (To be restarted)
[pid  5198] <... select resumed> )      = ? ERESTARTNOHAND (To be restarted)
[pid  5296] +++ killed by SIGSEGV +++
Process 5296 detached
[pid  5198] +++ killed by SIGSEGV +++
Process 5198 detached
+++ killed by SIGSEGV +++
Process 5197 detached

« Last Edit: March 08, 2007, 06:19:18 PM by MarkoB »
Logged

lfroen

  • Guest
Re: Amuleweb freezeing and crashing
« Reply #1 on: March 12, 2007, 01:23:18 PM »

Quote
WCThread: request is unknown: [BitTorrent protocolex]

Are you accessing amuleweb by regular browser?
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Amuleweb freezeing and crashing
« Reply #2 on: March 12, 2007, 07:44:43 PM »

Same kind of trouble here, using Firefox 1.5 on Mandriva/KDE on localhost  or Windows/Firefox2.0 at work. I'll try to give a backtrace asap too.
It happens when I launch a search. Amuleweb aborts, but amuled goes on.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

lfroen

  • Guest
Re: Amuleweb freezeing and crashing
« Reply #3 on: March 12, 2007, 08:24:27 PM »

"request is unknown" means that it's neither GET nor POST. Backtrace will be nice
Logged

MarkoB

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Amuleweb freezeing and crashing
« Reply #4 on: March 22, 2007, 04:45:17 PM »

Next crash when i deleted file with X on tranfer page. 96% of file downloaded.

Core was generated by `amuleweb'.
Program terminated with signal 11, Segmentation fault.
#0  0x08067f56 in wxStringBase::c_str (this=0x0) at /usr/include/wx-2.6/wx/string.h:478
478       const wxChar* c_str() const { return m_pchData; }
(gdb) bt
#0  0x08067f56 in wxStringBase::c_str (this=0x0) at /usr/include/wx-2.6/wx/string.h:478
#1  0x08091bd8 in amule_upload_file_prop_get (ptr=0x8260ae0, prop_name=0xb5daeea0 "ôĎżˇ 迡Đů*\bČîÚľ", result=0xb5daefa0)
    at php_core_lib.cpp:1260
#2  0x08088afb in php_expr_eval (expr=0x82acd88, result=0xb5daefa0) at php_syntree.cpp:1468
#3  0x08089b62 in php_execute (node=0x8295908, result=0x0) at php_syntree.cpp:1822
#4  0x08089999 in php_execute (node=0x8298ac8, result=0xb5daf080) at php_syntree.cpp:1900
#5  0x08092aa3 in CPhPLibContext::Execute (this=0x0, buf=0x0) at php_core_lib.cpp:1702
#6  0x08092f21 in CPhpFilter (this=0xb5daf10f, server=0x8117c38, sess=0x812231c, file=0x0, buff=0xb5daf110)
    at php_core_lib.cpp:1780
#7  0x0805a810 in CScriptWebServer::ProcessPhpRequest (this=0x8117c38,
    filename=0x82f1d50 "/usr/share/amule/webserver/chicane/downloads.php", sess=0x0, size=@0xb5daf18c) at WebServer.cpp:1756
#8  0x0805b33f in CScriptWebServer::ProcessURL (this=0x8117c38, Data=
      {parsedURL = {m_path = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0xb7ec385c}, <No data fields>}, m_file = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x82ee25c}, <No data fields>}, m_params = {_M_t = {<std::_Rb_tree_base<std::pair<wxString const, wxString>, std::allocator<std::pair<wxString const, wxString> > >> = {<std::_Rb_tree_alloc_base<std::pair<wxString const, wxString>, std::allocator<std::pair<wxString const, wxString> >, true>> = {_M_header = 0x82bb998}, <No data fields>}, _M_node_count = 2, _M_key_compare = {<std::binary_function<wxString, wxString, bool>> = {<No data fields>}, <No data fields>}}}}, sURL = {<wxStringBase> = {static npos = 4294967295, m_pchData = 0x82f2454}, <No data fields>}, SessionID = 1012502954, pSocket = 0xb4c01668}) at WebServer.cpp:1877
#9  0x08073665 in CWebSocket::OnRequestReceived (this=0xb4c01668, pHeader=0x4 <Address 0x4 out of bounds>, pData=0x0,
    dwDataLen=0) at WebSocket.cpp:375
#10 0x080730dd in CWCThread::Entry (this=0xb4c01658) at WebSocket.cpp:240
#11 0xb7e9b7a6 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7e9b61f in wxPthreadStart () from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb7f44c7b in __pthread_initialize_minimal () from /lib/tls/libpthread.so.0
#14 0xb7b9ebbe in clone () from /lib/tls/libc.so.6
Logged

lfroen

  • Guest
Re: Amuleweb freezeing and crashing
« Reply #5 on: March 24, 2007, 09:50:31 AM »

I see the problem, thanks for report.

Quote
#6  0x08092f21 in CPhpFilter (this=0xb5daf10f, server=0x8117c38, sess=0x812231c, file=0x0, buff=0xb5daf110)
    at php_core_lib.cpp:1780
#7  0x0805a810 in CScriptWebServer::ProcessPhpRequest (this=0x8117c38,
    filename=0x82f1d50 "/usr/share/amule/webserver/chicane/downloads.php", sess=0x0, size=@0xb5daf18c) at WebServer.cpp:1756

That's impossible!

« Last Edit: March 24, 2007, 10:31:38 AM by lfroen »
Logged

lfroen

  • Guest
Re: Amuleweb freezeing and crashing
« Reply #6 on: March 24, 2007, 06:11:13 PM »

I have fixed few bugs related to core-webserver communication, please try to run latest (from tomorrow) svn snapshot.
Logged