aMule Forum

English => aMule crashes => Topic started by: stoatwblr on April 22, 2010, 01:25:32 AM

Title: 1008*-97 amuled crash when loading new server met
Post by: stoatwblr on April 22, 2010, 01:25:32 AM

This crash is with 10098, but it's consistent on earlier ones too. Ignore the 10067 entry. Source was patched up from that svn.

./configure --enable-optimize --enable-amule-daemon --enable-amulecmd \
--enable-webserver --enable-amule-gui --enable-cas --enable-wxcas \
--enable-alc --enable-alcc --enable-xas --enable-geoip --enable-mmap \
--enable-fileview --with-zlib --enable-ccache  --disable-debug

(Will have to rebuild amuled with debugging to get a decent dump)

100% repeatable.

While amuled is running. In amulegui, attempting to load in a new server.met URL usually results in the daemon crashing.

This URL seems 100% guaranteed to cause a crash:

http://www.server-met.de/dl.php?load=max&trace=34338848.6667

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuleD SVN using wxGTK2 v2.8.10 (Snapshot: rev. 10064)
Running on: Linux 2.6.34-1-generic x86_64

[2] CamuleApp::OnFatalException() in :0
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f6f926de57c]
[4] ?? in /lib/libpthread.so.0[0x7f6f93d718f0]
[5] GSocket::Input_Timeout() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f9296bebf]
[6] GSocket::Read(char*, int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f9296bf5d]
[7] wxSocketBase::_Read(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f92967f49]
[8] wxSocketBase::Peek(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f92968065]
[9] wxProtocol::ReadLine(wxSocketBase*, wxString&) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f92962f35]
[10] wxHTTP::ParseHeaders() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f9296149c]
[11] wxHTTP::BuildRequest(wxString const&, wxHTTP::wxHTTP_Req) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f92962277]
[12] wxHTTP::GetInputStream(wxString const&) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7f6f9296268d]
[13] CHTTPDownloadThread::GetInputStream(wxHTTP**, wxString const&, bool) in :0
[14] CHTTPDownloadThread::Entry() in :0
[15] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0x7f6f926d99a1]
[16] ?? in /lib/libpthread.so.0[0x7f6f93d689ca]
[17] clone in /lib/libc.so.6[0x7f6f91ba769d]


--------------------------------------------------------------------------------
Aborted
Thu Apr 22 00:14:59 BST 2010
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: Stu Redman on April 23, 2010, 09:42:50 AM
Should be fixed in 10102.
(Your URL is not a valid server met btw.)
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: stoatwblr on April 24, 2010, 04:55:08 PM

It's gzipped.

Title: Re: 1008*-97 amuled crash when loading new server met
Post by: Stu Redman on April 25, 2010, 11:34:04 AM
It's a html file, not a met.
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: GonoszTopi on April 25, 2010, 02:35:44 PM
This URL seems 100% guaranteed to cause a crash:

http://www.server-met.de/dl.php?load=max&trace=34338848.6667
It's a html file, not a met.

Links retire on that page fast.
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: stoatwblr on April 29, 2010, 09:50:03 PM
thanks GonoszTopi

OK... with a fresh version of the URL (less than 5 minutes old), I get this crash if trying to enter it in the GUI

(Testing it after the crash gives the attached server.met (non-gzipped))

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuleD SVN using wxGTK2 v2.8.10 (Snapshot: rev. 10112)
Running on: Linux 2.6.34-1-generic x86_64

[2] CamuleApp::OnFatalException() in amule.cpp:1016
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7fb8e9c3757c]
[4] CFileAreaSigHandler::Handler(int, siginfo*, void*) in FileArea.cpp:131
[5] ?? in /lib/libpthread.so.0[0x7fb8eb2ca8f0]
[6] GSocket::Input_Timeout() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ec4ebf]
[7] GSocket::Read(char*, int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ec4f5d]
[8] wxSocketBase::_Read(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ec0f49]
[9] wxSocketBase::Peek(void*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ec1065]
[10] wxProtocol::ReadLine(wxSocketBase*, wxString&) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ebbf35]
[11] wxHTTP::ParseHeaders() in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9eba49c]
[12] wxHTTP::BuildRequest(wxString const&, wxHTTP::wxHTTP_Req) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ebb277]
[13] wxHTTP::GetInputStream(wxString const&) in /usr/lib/libwx_baseu_net-2.8.so.0[0x7fb8e9ebb68d]
[14] CHTTPDownloadThread::GetInputStream(wxHTTP**, wxString const&, bool) in HTTPDownload.cpp:377
[15] CHTTPDownloadThread::Entry() in HTTPDownload.cpp:223
[16] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0x7fb8e9c329a1]
[17] ?? in /lib/libpthread.so.0[0x7fb8eb2c19ca]
[18] clone in /lib/libc.so.6[0x7fb8e910069d]


--------------------------------------------------------------------------------
Aborted
Thu Apr 29 20:43:49 BST 2010
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: OldFrog on May 01, 2010, 10:12:55 AM
I can confirm the bug with amule (amule, not amuled, using prefrences) snapshot 10116 against http://emulepawcio.sourceforge.net/ipfilter.zip.
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: Stu Redman on May 01, 2010, 09:45:55 PM
Now what are we talking about? Crash loading server.met or crash loading ip filter ?
OldFrog, please post a backtrace. I can't reproduce a crash with this URL. (Just some problems with the update-if-newer feature fixed in 10119.)
Stoatwblr, please retry with 10119 and post your URL.
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: OldFrog on May 02, 2010, 11:46:23 AM
Sorry, I was unable to reproduce it, debug mode or not. It was just after start of aMule. No problem at all for now.
And sorry too for hacking this thread (Need better glasses).
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: Stu Redman on May 02, 2010, 04:52:12 PM
Funny, there is a bug report (http://bugs.amule.org/view.php?id=1599) with 2.2.6 and the same issue. stoatwblr, what's your OS? Ubuntu?
Title: Re: 1008*-97 amuled crash when loading new server met
Post by: Stu Redman on May 03, 2010, 10:10:08 PM
Ha, got it myself.  :P
Fixed in 10124.