aMule Forum

English => Backtraces => Topic started by: OldFrog on March 14, 2007, 10:25:01 PM

Title: Amuleweb SIGSEGV whe, hitting "download"
Post by: OldFrog on March 14, 2007, 10:25:01 PM
Using default skin on amuleweb. Do a search, works fine. C heck a result, then hitting the "Download" Button :

Quote
......
[Thread -1235879008 (LWP 5832) exited]
[New Thread -1235879008 (LWP 5833)]
La requ�e a �hou� avec le message d'erreur suivant. Recherche en cours. R�ultats
 dans un moment!.Requ�e en cours [originale]: amuleweb-main-search.php
Session correcte, identifi�
                           Requ�e en cours [redirig�]:amuleweb-main-search.php
[Thread -1235879008 (LWP 5833) exited]
[New Thread -1235879008 (LWP 5835)]
Requ�e en cours [originale]: amuleweb-main-search.php
Session correcte, identifi�
                           Requ�e en cours [redirig�]:amuleweb-main-search.php
[Thread -1235879008 (LWP 5835) exited]
[New Thread -1235879008 (LWP 5836)]
Requ�e en cours [originale]: amuleweb-main-dload.php
Session correcte, identifi�
                           Requ�e en cours [redirig�]:amuleweb-main-dload.php

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1235879008 (LWP 5836)]
0x0809d607 in amule_download_file_prop_get ()

Quote
(gdb) bt
#0  0x0809d607 in amule_download_file_prop_get ()
#1  0x08095b71 in php_expr_eval ()
#2  0x08095e2f in php_execute ()
#3  0x08095d93 in php_execute ()
#4  0x08096116 in php_execute ()
#5  0x0809b94c in CPhPLibContext::Execute ()
#6  0x0809bb94 in CPhpFilter::CPhpFilter ()
#7  0x080519f5 in CScriptWebServer::ProcessPhpRequest ()
#8  0x08059895 in CScriptWebServer::ProcessURL ()
#9  0x08075a6f in CWebSocket::OnRequestReceived ()
#10 0x0807619b in CWCThread::Entry ()
#11 0xb7eb08a9 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7eb093d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7f64562 in start_thread () from /lib/i686/libpthread.so.0
#14 0xb7b8f4de in clone () from /lib/i686/libc.so.6

Quote
(gdb) bt full
#0  0x0809d607 in amule_download_file_prop_get ()
No symbol table info available.
#1  0x08095b71 in php_expr_eval ()
No symbol table info available.
#2  0x08095e2f in php_execute ()
No symbol table info available.
#3  0x08095d93 in php_execute ()
No symbol table info available.
#4  0x08096116 in php_execute ()
No symbol table info available.
#5  0x0809b94c in CPhPLibContext::Execute ()
No symbol table info available.
#6  0x0809bb94 in CPhpFilter::CPhpFilter ()
No symbol table info available.
#7  0x080519f5 in CScriptWebServer::ProcessPhpRequest ()
No symbol table info available.
#8  0x08059895 in CScriptWebServer::ProcessURL ()
No symbol table info available.
#9  0x08075a6f in CWebSocket::OnRequestReceived ()
No symbol table info available.
#10 0x0807619b in CWCThread::Entry ()
No symbol table info available.
#11 0xb7eb08a9 in wxThreadInternal::PthreadStart ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0xb7eb093d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0xb7f64562 in start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#14 0xb7b8f4de in clone () from /lib/i686/libc.so.6
No symbol table info available.

Quote
(gdb) thread apply all bt

Thread 124 (Thread -1235879008 (LWP 5836)):
#0  0x0809d607 in amule_download_file_prop_get ()
#1  0x08095b71 in php_expr_eval ()
#2  0x08095e2f in php_execute ()
#3  0x08095d93 in php_execute ()
#4  0x08096116 in php_execute ()
#5  0x0809b94c in CPhPLibContext::Execute ()
#6  0x0809bb94 in CPhpFilter::CPhpFilter ()
#7  0x080519f5 in CScriptWebServer::ProcessPhpRequest ()
#8  0x08059895 in CScriptWebServer::ProcessURL ()
#9  0x08075a6f in CWebSocket::OnRequestReceived ()
#10 0x0807619b in CWCThread::Entry ()
#11 0xb7eb08a9 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7eb093d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7f64562 in start_thread () from /lib/i686/libpthread.so.0
#14 0xb7b8f4de in clone () from /lib/i686/libc.so.6

Thread 2 (Thread -1218872416 (LWP 5633)):
#0  0xbfffe410 in __kernel_vsyscall ()
#1  0xb7b88221 in select () from /lib/i686/libc.so.6
#2  0xb7f2f8b1 in GSocket::Select () from /usr/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#3  0xb7f2a6e8 in wxSocketBase::_Wait () from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0xb7f2a9d3 in wxSocketServer::WaitForAccept ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x08076d55 in CWSThread::Entry ()
#6  0xb7eb08a9 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7eb093d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7f64562 in start_thread () from /lib/i686/libpthread.so.0
#9  0xb7b8f4de in clone () from /lib/i686/libc.so.6

Thread 1 (Thread -1213466928 (LWP 5627)):
#0  0xbfffe410 in __kernel_vsyscall ()
#1  0xb7b7fb3b in read () from /lib/i686/libc.so.6
#2  0xb7b23f58 in _IO_file_read () from /lib/i686/libc.so.6
#3  0xb7b25174 in _IO_file_underflow () from /lib/i686/libc.so.6
#4  0xb7b2587b in _IO_default_uflow () from /lib/i686/libc.so.6
#5  0xb7b26b8d in __uflow () from /lib/i686/libc.so.6
#6  0xb7b1ae96 in _IO_getline_info () from /lib/i686/libc.so.6
#7  0xb7b1ade1 in _IO_getline () from /lib/i686/libc.so.6
#8  0xb7b19d6a in fgets () from /lib/i686/libc.so.6
#9  0x0807c0b8 in CaMuleExternalConnector::GetCommand ()
#10 0x0807ed91 in CaMuleExternalConnector::TextShell ()
#11 0x0807cc33 in CaMuleExternalConnector::ConnectAndRun ()
---Type <return> to continue, or q <return> to quit---
#12 0x08074462 in CamulewebApp::OnRun ()
#13 0xb7e4617a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb7e46226 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x080744f6 in main ()
#16 0xb7ada75c in __libc_start_main () from /lib/i686/libc.so.6
#17 0x0804f691 in _start ()

Hope this helps ...
Btw, I'm stuck to this software. Never seen so stable CVSs  :D Hats off !
Title: Re: Amuleweb SIGSEGV whe, hitting "download"
Post by: OldFrog on March 14, 2007, 11:00:52 PM
Actually, the filename has been properly passed to amule ln my rig before the crash, and is downloading.
Title: Re: Amuleweb SIGSEGV whe, hitting "download"
Post by: lfroen on March 15, 2007, 10:51:31 AM
Never happen to me. Can you produce backtrace with debug info? (please:)