aMule Forum

English => en_Bugs => Topic started by: maxec on February 14, 2005, 11:38:35 PM

Title: crash
Post by: maxec on February 14, 2005, 11:38:35 PM
Hi,

Currently amule is quite instable here. It is usually not running more than 6 hours.

Configuration:

Debian SID

dpkg -l '*libwx*'|grep ^ii
ii  libwxgtk2.5.3  2.5.3.2        wxWidgets Cross-platform C++ GUI toolkit (GT

dpkg -l 'amule'|grep ^ii
ii  amule          1.2.6+rc8-2    aNOTHER eMule P2P Client

amule -v
Initialising aMule
aMule 2.0.0rc8 using wxGTK2 v2.5.3 (Unicoded)


Backtrace:
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1226283360 (LWP 10569)]
0xb7fd8a8e in send () from /lib/tls/libpthread.so.0
(gdb)

(gdb) backtra
#0  0xb7fd8a8e in send () from /lib/tls/libpthread.so.0
#1  0xb7ae7d43 in GSocket::Send_Stream () from /usr/lib/libwx_baseu_net-2.5.so.3
#2  0xb7ae72fb in GSocket::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#3  0xb7ae2983 in wxSocketBase::_Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#4  0xb7ae2857 in wxSocketBase::Write () from /usr/lib/libwx_baseu_net-2.5.so.3
#5  0x080e4a62 in CEMSocket::Send ()
#6  0x080e46ce in CEMSocket::SendPacket ()
#7  0x080f68ab in CUpDownClient::SendPacket ()
#8  0x0811c5b1 in CUpDownClient::SendBlockRequests ()
#9  0x0811ccd2 in CUpDownClient::ProcessBlockPacket ()
#10 0x080dd276 in CClientReqSocket::ProcessExtPacket ()
#11 0x080e0f50 in CClientReqSocket::PacketReceived ()
#12 0x080e43b4 in CEMSocket::OnReceive ()
#13 0x080e459f in CEMSocket::SetDownloadLimit ()
#14 0x080f68f2 in CUpDownClient::SetDownloadLimit ()
#15 0x081f1200 in CPartFile::Process ()
#16 0x08136c5a in CDownloadQueue::Process ()
#17 0x0827e3dc in CamuleApp::OnCoreTimer ()
#18 0xb79aad78 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.5.so.3
#19 0xb7a58850 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.5.so.3
#20 0xb7a57ccf in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.5.so.3
#21 0xb7a589f0 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.5.so.3
#22 0xb7d4337a in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#23 0xb7c31cdd in timeout_callback () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#24 0xb7340dcc in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#25 0xb733e6b2 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#26 0xb733f738 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb733fa70 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb7340013 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0xb75e1a23 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7c28208 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#31 0xb7cb9233 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#32 0xb7cb939a in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#33 0xb79eea63 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#34 0xb79eeb3d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#35 0x0827ffab in main ()
(gdb) cont
Program received signal SIGSEGV, Segmentation fault.
0x080dd3d0 in CClientReqSocket::ProcessExtPacket ()


Hope that helps..

ciao
maxec
Title: Re: crash
Post by: Kry on February 15, 2005, 01:35:18 AM
That's not a crash. you have to type "handle SIGPIPE nostop" before 'run'.
Title: Re: crash
Post by: phoenix on February 15, 2005, 02:18:51 AM
Quote
dpkg -l 'amule'|grep ^ii
ii amule 1.2.6+rc8-2 aNOTHER eMule P2P Client

amule -v
Initialising aMule
aMule 2.0.0rc8 using wxGTK2 v2.5.3 (Unicoded)

Also, this is not good. You have two different versions of aMule installed. Uninstall 1.2.6.
Title: Re: crash
Post by: thedude0001 on February 15, 2005, 04:40:06 AM
No, that's ok phoenix, 1.2.6+rc8 is just the debian package name for 2.0.0rc8 to avoid problems when upgrading to 2.0.0final.
Title: Re: crash
Post by: phoenix on February 15, 2005, 01:57:50 PM
Oh! Sorry Dude! :D
Title: Re: crash
Post by: maxec on February 15, 2005, 07:34:05 PM
Quote
Originally posted by Kry
That's not a crash. you have to type "handle SIGPIPE nostop" before 'run'.

I will try that. Did you notice SIGSEGV after I typed 'continue' into gdb?
Title: Re: crash
Post by: maxec on February 17, 2005, 01:07:49 AM
Okay here is another one:

[Thread -1255146576 (zombie) exited]
[New Thread -1255146576 (LWP 10496)]
[Thread -1255146576 (zombie) exited]
[New Thread -1255146576 (LWP 10497)]
31C400F05B2969302460C195A95D3C72: Resuming uploads of file.
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: Starting to hash files. 1 files found.
AICH Thread: Hashing file: legal-stuff.zip, total files left: 0
AICH Thread: Hashing completed.
AICH Thread: Thread terminated.
[Thread -1255146576 (zombie) exited]
[New Thread -1255146576 (LWP 10500)]
[Thread -1255146576 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226287456 (LWP 9729)]
0x080dd3d0 in CClientReqSocket::ProcessExtPacket ()


(gdb)
(gdb)
(gdb) backtr
#0  0x080dd3d0 in CClientReqSocket::ProcessExtPacket ()
#1  0x080e0f50 in CClientReqSocket::PacketReceived ()
#2  0x080e43b4 in CEMSocket::OnReceive ()
#3  0x080e459f in CEMSocket::SetDownloadLimit ()
#4  0x080f68f2 in CUpDownClient::SetDownloadLimit ()
#5  0x081f1200 in CPartFile::Process ()
#6  0x08136c5a in CDownloadQueue::Process ()
#7  0x0827e3dc in CamuleApp::OnCoreTimer ()
#8  0xb79a9d78 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.5.so.3
#9  0xb7a57850 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.5.so.3
#10 0xb7a56ccf in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.5.so.3
#11 0xb7a579f0 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.5.so.3
#12 0xb7d4237a in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#13 0xb7c30cdd in timeout_callback () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#14 0xb733fdcc in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#15 0xb733d6b2 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#16 0xb733e738 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb733ea70 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb733f013 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb75e0a23 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7c27208 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#21 0xb7cb8233 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#22 0xb7cb839a in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.5.so.3
#23 0xb79eda63 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#24 0xb79edb3d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
#25 0x0827ffab in main ()
(gdb)
Title: Re: crash
Post by: Kry on February 17, 2005, 01:13:21 AM
old rc8 one. update to CVS.