aMule Forum

English => Backtraces => Topic started by: myth on June 15, 2009, 04:19:07 PM

Title: Strange crash on startup :/
Post by: myth on June 15, 2009, 04:19:07 PM
I don't know why, but it crashed...repeatedly...i cannot start aMule anymore :/

Code: [Select]
dude@dude-desktop:~$ amule
 2009-06-15 16:16:39: Initialising aMule SVN using wxGTK2 v2.8.9 (Snapshot: rev. 9658)
 2009-06-15 16:16:39: Checking if there is an instance already running...
 2009-06-15 16:16:39: No other instances are running.
 2009-06-15 16:16:39: ListenSocket: Ok.

(amule:21659): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_CONTAINER (container)' failed

(amule:21659): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_CONTAINER (container)' failed
 2009-06-15 16:16:40: Loading temp files from /mnt/storage/mule/Temp.
 2009-06-15 16:16:40: Loading PartFile 1 of 13
 2009-06-15 16:16:40: Loading PartFile 2 of 13
 2009-06-15 16:16:40: Loading PartFile 3 of 13
 2009-06-15 16:16:40: Loading PartFile 4 of 13
 2009-06-15 16:16:40: Loading PartFile 5 of 13
 2009-06-15 16:16:40: Loading PartFile 6 of 13
 2009-06-15 16:16:40: Loading PartFile 7 of 13
 2009-06-15 16:16:40: Loading PartFile 8 of 13
 2009-06-15 16:16:40: Loading PartFile 9 of 13
 2009-06-15 16:16:40: Loading PartFile 10 of 13
 2009-06-15 16:16:40: Loading PartFile 11 of 13
 2009-06-15 16:16:40: Loading PartFile 12 of 13
 2009-06-15 16:16:40: Loading PartFile 13 of 13
 2009-06-15 16:16:40: All PartFiles Loaded.
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/001.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/002.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/003.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/005.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/007.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/008.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/010.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/011.part.met to shares
 2009-06-15 16:16:40: Adding file /mnt/storage/mule/Temp/012.part.met to shares

--------------------------------------------------------------------------------
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://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN using wxGTK2 v2.8.9 (Snapshot: rev. 9658)
Running on: Linux 2.6.28-11-generic i686

[2] CamuleApp::OnFatalException() in :0
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7667da6]
[4] ?? in [0xb8069400]
[5] CPath::IsOk() const in :0
[6] PlatformSpecific::GetFilesystemType(CPath const&) in :0
[7] CDownloadQueue::AddED2KLink(CED2KFileLink const*, int) in :0
[8] CDownloadQueue::AddED2KLink(wxString const&, int) in :0
[9] CDownloadQueue::AddLink(wxString const&, int) in :0
[10] CDownloadQueue::AddLinksFromFile() in :0
[11] CDownloadQueue::Process() in :0
[12] CamuleApp::OnCoreTimer(CTimerEvent&) in :0
[13] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb75c4231]
[14] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb766349a]
[15] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb76646b4]
[16] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb76647bb]
[17] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb7663919]
[18] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb75c4591]
[19] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb78c6edf]
[20] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb78166c3]
[21] ?? in /usr/lib/libglib-2.0.so.0 [0xb6c03c81]
[22] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6c05b88]
[23] ?? in /usr/lib/libglib-2.0.so.0 [0xb6c090eb]
[24] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb6c095ba]
[25] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb70497d9]
[26] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7830215]
[27] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb78c6d4e]
[28] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb78c6921]
[29] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb75fddaa]
[30] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb75fdfa7]
[31] main in :0
[32] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb72e4775]
[33] _start in start.S:122


--------------------------------------------------------------------------------
Aborted
Title: Re: Strange crash on startup :/
Post by: myth on June 15, 2009, 04:35:29 PM
Ok, i know more. It happens when i add an Link of an 4.4 GB mkv file given from a friend of mine...

The link has also source...

When i click it in Firefox aMule crashed, and the file ed2klink (or similar) blocks aMule from restarting...

...when i add the link in aMule's Link handler, i have no problem with it :/
Title: Re: Strange crash on startup :/
Post by: ^marcell^ on June 15, 2009, 05:45:39 PM
You could post the link and let's check it out. Judging by the debug output, it has something to do with how the link is formatted, maybe the extra source parameter in it. ::)
Title: Re: Strange crash on startup :/
Post by: myth on June 15, 2009, 08:51:51 PM
I think posting the link would not respect the forum rules... :P

But maybe some one has an idea without seeing the link?
Title: Re: Strange crash on startup :/
Post by: ^marcell^ on June 15, 2009, 09:39:37 PM
OK, I see. You could copy the link here: http://infoencrypt.com/ and post the enrcypted message + password. ;D
Title: Re: Strange crash on startup :/
Post by: myth on June 15, 2009, 10:38:54 PM
Hehe...nice site!

Code: [Select]
To decrypt this message use http://infoencrypt.com/

<Encrypted>
flixjqBZfZoz6qPFsupmFQ+UoifVRvUc5jKLsio8ZKvAEd4GYwrkfoeLeHluAqW8hc8Km0tEK6Ij5Go+
uSPegDtNr0Oj9Uyrb31M1qfy/dt/sU53fvMfna5JYjy4vZGqSJPngrYmm367kBSjbEJv3dAOO59j9bf+
moRUyhIpYMw0OxnboO0hfhA6YrFNtX+2QqPsLKQ3PKe2mBOxvJOh4waovcnbbKKKgRDKkf0yXe4=

</Encrypted>

Pass is: amulerocks
Title: Re: Strange crash on startup :/
Post by: Stu Redman on June 16, 2009, 12:39:08 AM
Could not reproduce. (http://xkcd.com/583/)  ;D

But I have an idea what' wrong with it. The link ends with /|sources,78.48.21.198:52531|/, and in CDownloadQueue::AddLinksFromFile() I find

Code: [Select]
long category = 0;
if (line.AfterLast(wxT(':')).ToLong(&category) == true) {
line = line.BeforeLast(wxT(':'));
}
AddLink(line, category);
That's supposed to add a download to a certain cat and fails in this case of course with the port in the source. Can't say why it crashes for you and not for me, and too late to investigate (yawn). I'll look into it.
Title: Re: Strange crash on startup :/
Post by: Stu Redman on June 16, 2009, 11:04:34 PM
Fixed in 9672. Thanks for reporting!

Can't say why it crashes for you and not for me
Because I ran it with wx 2.9, where one of the problems causing this crash is fixed.
Title: Re: Strange crash on startup :/
Post by: myth on June 17, 2009, 12:24:56 AM
Fine, thanks!  :)