aMule Forum

English => aMule crashes => Topic started by: Knorpi on September 25, 2011, 05:24:00 PM

Title: aMule crashes
Post by: Knorpi on September 25, 2011, 05:24:00 PM
Hello,

my amule 2.2.6 crashes after running about 10 minutes.

Here is the output and backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bcbed4 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) backtrace
#0  0x00007ffff7bcbed4 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007ffff2cc93ff in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffff2ccbc1e in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x00007ffff657eae6 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#4  0x00007ffff617c327 in GSocket::Detected_Write() () from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x00007ffff4804c4f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x00007ffff2cc96f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#7  0x00007ffff2ccd568 in ?? () from /lib/libglib-2.0.so.0
#8  0x00007ffff2ccda75 in g_main_loop_run () from /lib/libglib-2.0.so.0
#9  0x00007ffff4bc76b7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007ffff657d408 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff660218b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007ffff5e8c63c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#13 0x0000000000514a42 in ?? ()
#14 0x00007ffff50cbc4d in __libc_start_main () from /lib/libc.so.6
#15 0x00000000004476f9 in ?? ()
#16 0x00007fffffffe378 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000001 in ?? ()
#19 0x00007fffffffe626 in ?? ()
#20 0x0000000000000000 in ?? ()

amule -v:
aMule 2.2.6 using wxGTK2 v2.8.10 (OS: Linux)

running squeeze

What can I do?

Thanks
Magnus
Title: Re: aMule crashes
Post by: Stu Redman on September 25, 2011, 06:05:23 PM
Update to wx 2.8.12.
Title: Re: aMule crashes
Post by: Knorpi on September 26, 2011, 05:31:26 AM
Thank you!

Can I do this without bypassing the package manager (apt) in debian?

Magnus
Title: Re: aMule crashes
Post by: Vollstrecker on September 26, 2011, 01:36:58 PM
Sure, I've  built them for testing and stable.
Title: Re: aMule crashes
Post by: Knorpi on September 26, 2011, 06:24:59 PM
Hi,

my package manager only offers these packages:

libwxbase2.8-0
libwxgtk2.8-0

Do I need a special entry in the sources.list?

Magnus
Title: Re: aMule crashes
Post by: Knorpi on September 26, 2011, 07:07:12 PM
Hi,

I found it in another thread. But I get errors:

added to sources.list:
deb http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp

Then:
$ gpg --recv-keys D63913EF50D0AE60
$ gpg --export -armor D63913EF50D0AE60 | apt-key add -

$ apt-get update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://www.vollstreckernet.de stable Release.gpg
Ign http://www.vollstreckernet.de/debian/ stable/amule-stable Translation-en
Ign http://www.vollstreckernet.de/debian/ stable/amule-stable Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Ign http://www.vollstreckernet.de/debian/ stable/upnp Translation-en 
Ign http://www.vollstreckernet.de/debian/ stable/upnp Translation-en_US
Ign http://www.vollstreckernet.de/debian/ stable/wx Translation-en   
Ign http://www.vollstreckernet.de/debian/ stable/wx Translation-en_US
Hit http://www.vollstreckernet.de stable Release                     
Hit http://security.debian.org squeeze/updates/main Sources           
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://ftp.uni-bayreuth.de squeeze Release.gpg
Ign http://ftp.uni-bayreuth.de/debian/ squeeze/main Translation-en
Ign http://ftp.uni-bayreuth.de/debian/ squeeze/main Translation-en_US
Hit http://ftp.uni-bayreuth.de squeeze-updates Release.gpg
Ign http://ftp.uni-bayreuth.de/debian/ squeeze-updates/main Translation-en
Ign http://ftp.uni-bayreuth.de/debian/ squeeze-updates/main Translation-en_US
Hit http://ftp.uni-bayreuth.de squeeze Release
Hit http://ftp.uni-bayreuth.de squeeze-updates Release
Hit http://ftp.uni-bayreuth.de squeeze/main Sources
Hit http://ftp.uni-bayreuth.de squeeze/main amd64 Packages
Hit http://ftp.uni-bayreuth.de squeeze-updates/main Sources/DiffIndex
Hit http://ftp.uni-bayreuth.de squeeze-updates/main amd64 Packages/DiffIndex
Hit http://ftp.uni-bayreuth.de squeeze-updates/main amd64 Packages
W: Failed to fetch http://www.vollstreckernet.de/debian/dists/stable/Release  Unable to find expected entry  amule-stable/binary-amd64/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

What can I do?

Magnus
Title: Re: aMule crashes
Post by: Vollstrecker on September 27, 2011, 03:56:49 AM
My bad, for this arch you can only get the source packages to build them yourself.
Title: Re: aMule crashes
Post by: Knorpi on September 27, 2011, 05:27:05 PM
Ok, but if the wx-library is the problem, compiling amule would not help, correct?

Could you please tell me, what to do exactly?

Thanks
Magnus
Title: Re: aMule crashes
Post by: Vollstrecker on September 27, 2011, 07:47:59 PM
If you compile the lib, you have to compile aMule , too. For sure.
Title: Re: aMule crashes
Post by: Knorpi on September 29, 2011, 05:44:42 PM
Hi,

I don't know why, but I cannot see the source files in my repository.

I added to sources.list:
deb-src http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp

After apt-get update I do not see amule source in my repository, e. g. with synaptic.

Please help!

Magnus
Title: Re: aMule crashes
Post by: GonoszTopi on September 29, 2011, 09:32:31 PM
You can always get the latest sources from the tarballs page (http://amule.sourceforge.net/tarballs/).
Title: Re: aMule crashes
Post by: Knorpi on September 30, 2011, 05:11:47 AM
Hi,

I began compiling the source. The first thing is that it requires a newer version of zlib. I think I have to provide this also by bypassing the package manager. Maybe, zlib is not the only library that must be newer than my repository provides. This is what I wanted to avoid. :-/

Magnus
Title: Re: aMule crashes
Post by: Stu Redman on September 30, 2011, 09:30:28 PM
Omg, another get-it-running-on-Debian-in-287-easy-steps thread.  :-\
Title: Re: aMule crashes
Post by: Knorpi on October 01, 2011, 04:36:48 AM
Silly posting!
Title: Re: aMule crashes
Post by: btkaos on October 01, 2011, 07:11:40 AM
A newer version? That is strange, maybe you didn't install zlib-dev.

Please post the exact message in order to satisfy Stu :)
Title: Re: aMule crashes
Post by: Knorpi on October 01, 2011, 09:45:37 AM
Solved, I am using amuled now. :-)

Magnus
Title: Re: aMule crashes
Post by: Kagaho on November 29, 2011, 10:23:03 AM
Quote
Added mac build.
Sometimes, amule crashes with the next message:

Quote
wxWidgets Debug Alert

./src/mac/carbon/graphics.cpp(1871): assert "status == noErr" failed in DrawText(): couldn't measure the rotated text

Any ideas?
Thanks
Sorry Guys, but  the problem keeps coming back.
I've deleted all the preferences in Library/Application Support/aMule like specified in other post. :(
Title: Re: aMule crashes
Post by: nilus on December 23, 2011, 09:20:03 PM
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.6 using wxGTK2 v2.8.11
Running on: Linux 3.0.0-14-generic-pae i686

[2] ?? in amule[0x808f02f]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb6dcee63]
[4] ?? in [0xb76e3400]
[5] __pthread_mutex_lock in /lib/i386-linux-gnu/libpthread.so.0[0xb6b80d87]
[6] ?? in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb63b1d65]
[7] g_io_add_watch_full in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb63a7346]
[8] gdk_input_add_full in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0[0xb64f9644]
[9] gdk_input_add in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0[0xb64f969f]
[10] GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6f94aae]
[11] GSocket::Enable(GSocketEvent) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e549fe]
[12] GSocket::Write(char const*, int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e5602d]
[13] wxSocketBase::_Write(void const*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e50f53]
[14] wxSocketBase::Write(void const*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e50fba]
[15] ?? in amule[0x81c8a6e]
[16] ?? in amule[0x80d9fb2]
[17] ?? in amule[0x80d8a3d]
[18] ?? in amule[0x80b5bc1]
[19] ?? in amule[0x8116ae8]
[20] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0xb6dca4ab]
[21] wxPthreadStart in /usr/lib/libwx_baseu-2.8.so.0[0xb6dca50b]
[22] ?? in /lib/i386-linux-gnu/libpthread.so.0[0xb6b7ed31]
[23] clone in /lib/i386-linux-gnu/libc.so.6[0xb6ace0ce]


--------------------------------------------------------------------------------
Aborted
Title: Re: aMule crashes
Post by: Stu Redman on December 23, 2011, 10:18:59 PM
Update to wx 2.8.12.
And don't just post your BT without comment in any random thread.
Title: Re: aMule crashes
Post by: ronindo on December 27, 2011, 12:20:49 AM
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.3.1 compiled with wxGTK2 v2.8.12 (Debugging)
Running on: Linux 3.0.0-15-generic x86_64

[2] ?? in amule[0x45d29e]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f962ee8b15c]
[4] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7f9630b47060]
[5] ?? in amule[0x64acf4]
[6] ?? in amule[0x646383]
[7] ?? in amule[0x554ba6]
[8] ?? in amule[0x6aeb78]
[9] ?? in amule[0x6af38a]
[10] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0x7f962ee86e2b]
[11] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7f9630b3eefc]
[12] clone in /lib/x86_64-linux-gnu/libc.so.6[0x7f962e35289d]


--------------------------------------------------------------------------------
Abortado
Title: Re: aMule crashes
Post by: Stu Redman on December 27, 2011, 01:52:25 PM
http://forum.amule.org/index.php?topic=4115.0