aMule Forum

English => aMule crashes => Topic started by: LAZA on January 28, 2017, 07:51:29 AM

Title: aMule 10983 crashes at loading files
Post by: LAZA on January 28, 2017, 07:51:29 AM
Hai all,

i cannot start aMule since i updated to version 10983-2.

See this topic here in the Manjaro forum
https://forum.manjaro.org/t/amule-after-update-broken/16438 (https://forum.manjaro.org/t/amule-after-update-broken/16438)

There are lengthy crash reports and core dumps added.

Thanks in advance
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on January 28, 2017, 12:15:53 PM
I renamed the .aMule dir and started with a "fresh" version - got also a crash.

Code: [Select]
Jan 28 12:12:35 manjaro systemd[1]: Started Process Core Dump (PID 22353/UID 0).
Jan 28 12:12:35 manjaro systemd-coredump[22354]: Process 22308 (amule) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 22308:
                                                 #0  0x00007f971c9e9f5f raise (libpthread.so.0)
                                                 #1  0x00007f971a71db55 n/a (libwx_baseu-3.0.so.0)
                                                 #2  0x00007f971a71856a _Z10wxOnAssertPKciS0_S0_S0_ (libwx_baseu-3.0.so.0)
                                                 #3  0x000000000063f368 n/a (amule)
                                                 #4  0x000000000046be0b n/a (amule)
                                                 #5  0x00007f971a71da92 n/a (libwx_baseu-3.0.so.0)
                                                 #6  0x00007f971a71856a _Z10wxOnAssertPKciS0_S0_S0_ (libwx_baseu-3.0.so.0)
                                                 #7  0x00007f971ab7f696 n/a (libwx_baseu_net-3.0.so.0)
                                                 #8  0x00007f971b0079f8 n/a (libwx_gtk2u_core-3.0.so.0)
                                                 #9  0x00007f97181a743a g_main_context_dispatch (libglib-2.0.so.0)
                                                 #10 0x00007f97181a77f0 n/a (libglib-2.0.so.0)
                                                 #11 0x00007f97181a7b12 g_main_loop_run (libglib-2.0.so.0)
                                                 #12 0x00007f9718f183a7 gtk_main (libgtk-x11-2.0.so.0)
                                                 #13 0x00007f971b000265 _ZN14wxGUIEventLoop5DoRunEv (libwx_gtk2u_core-3.0.so.0)
                                                 #14 0x00007f971a757c3b _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.0.so.0)
                                                 #15 0x00007f971a71d386 _ZN16wxAppConsoleBase8MainLoopEv (libwx_baseu-3.0.so.0)
                                                 #16 0x00007f971a7a8c20 _Z7wxEntryRiPPw (libwx_baseu-3.0.so.0)
                                                 #17 0x000000000043fad2 n/a (amule)
                                                 #18 0x00007f9719858291 __libc_start_main (libc.so.6)
                                                 #19 0x0000000000451dda n/a (amule)
                                                 
                                                 Stack trace of thread 22338:
                                                 #0  0x00007f971991748d poll (libc.so.6)
                                                 #1  0x00007f97181a7786 n/a (libglib-2.0.so.0)
                                                 #2  0x00007f97181a789c g_main_context_iteration (libglib-2.0.so.0)
                                                 #3  0x00007f97181a78e1 n/a (libglib-2.0.so.0)
                                                 #4  0x00007f97181cf0d5 n/a (libglib-2.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22343:
                                                 #0  0x00007f971c9e979d __nanosleep (libpthread.so.0)
                                                 #1  0x00007f971a87211c _Z12wxMicroSleepm (libwx_baseu-3.0.so.0)
                                                 #2  0x00000000005048dd n/a (amule)
                                                 #3  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #4  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22339:
                                                 #0  0x00007f971991748d poll (libc.so.6)
                                                 #1  0x00007f97181a7786 n/a (libglib-2.0.so.0)
                                                 #2  0x00007f97181a7b12 g_main_loop_run (libglib-2.0.so.0)
                                                 #3  0x00007f97164b8316 n/a (libgio-2.0.so.0)
                                                 #4  0x00007f97181cf0d5 n/a (libglib-2.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22344:
                                                 #0  0x00007f971c9e610f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x0000000000704d20 n/a (amule)
                                                 #2  0x0000000000708bd6 n/a (amule)
                                                 #3  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #4  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22345:
                                                 #0  0x00007f971c9e610f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x0000000000704d20 n/a (amule)
                                                 #2  0x0000000000708bd6 n/a (amule)
                                                 #3  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #4  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22346:
                                                 #0  0x00007f971c9e610f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x0000000000704d20 n/a (amule)
                                                 #2  0x0000000000708bd6 n/a (amule)
                                                 #3  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #4  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #6  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22347:
                                                 #0  0x00007f9719920dd3 epoll_wait (libc.so.6)
                                                 #1  0x00000000006ffc3a n/a (amule)
                                                 #2  0x0000000000704c6b n/a (amule)
                                                 #3  0x0000000000708bd6 n/a (amule)
                                                 #4  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #6  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #7  0x00007f97199207df __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 22352:
                                                 #0  0x00007f971c9e64b8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007f971a867938 n/a (libwx_baseu-3.0.so.0)
                                                 #2  0x00007f971a867d95 n/a (libwx_baseu-3.0.so.0)
                                                 #3  0x0000000000636fa5 n/a (amule)
                                                 #4  0x00007f971a867492 _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0)
                                                 #5  0x00007f971a870240 n/a (libwx_baseu-3.0.so.0)
                                                 #6  0x00007f971c9e0454 start_thread (libpthread.so.0)
                                                 #7  0x00007f97199207df __clone (libc.so.6)
lines 449-544/544 (END)
Title: Re: aMule 10983 crashes at loading files
Post by: beroal on January 29, 2017, 01:07:55 PM
aMule crashes on my computer after upgrade from 10965 to 10983. How did you obtain the debugging output?
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on January 29, 2017, 03:44:09 PM
1. Start the process in a Terminal:
Code: [Select]
$ amule &
2. List what is written in the Journal:
Code: [Select]
$ journalctl -S today
Title: Re: aMule 10983 crashes at loading files
Post by: GonoszTopi on January 30, 2017, 08:36:27 AM
Quote
                                                 #3  0x000000000063f368 n/a (amule)
                                                 #4  0x000000000046be0b n/a (amule)

Well, this isn't much. To be honest, it's nothing useful. Is it possible to use a debug-enabled build for generating bug reports?
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on January 30, 2017, 07:58:11 PM
Is there a simple explanation about how to turn on the debug mode?

Or do i have to start amule just with simple (extra) parameter?
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on January 31, 2017, 07:57:18 PM
Okay, finally made it with the help of the Manjaro forum.

Had to attach it cause it has more than 20'000 characters...
Title: Re: aMule 10983 crashes at loading files
Post by: GonoszTopi on February 01, 2017, 09:31:53 AM
aMule should be configured and compiled with the --enable-debug switch. Then the resulting binary should have enough information to show where it crashes.
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on February 01, 2017, 08:02:23 PM
I did what was mentioned in the Arch wiki and compiled aMule from scratch.

Have you looked inside the lengthy output of the crash?
Is this no valuable/helpfull output from the crash?


This *should* have worked... so please give me a hint what was going wrong...
Here the link for your info: https://forum.manjaro.org/t/how-to-debug-amule/16688 (https://forum.manjaro.org/t/how-to-debug-amule/16688)

Thanks in advance!
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on February 01, 2017, 09:56:34 PM
Another report, now complied with --enable-debug.
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on February 08, 2017, 09:12:53 AM
After deleting the complete ~/.aMule folder and using the self-complied version - no crash in 3 days!
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on May 15, 2017, 09:21:31 PM
I added a new crash report cause it failed today the first time since weeks.
Seems the kernel 4.11.1 has something to do with this.

Please look at
https://forum.manjaro.org/t/amule-after-update-broken/16438/18?u=laza (https://forum.manjaro.org/t/amule-after-update-broken/16438/18?u=laza)
Title: Re: aMule 10983 crashes at loading files
Post by: LAZA on May 20, 2017, 02:09:00 PM
Release 10983 gives us also headaches:

http://forum.amule.org/index.php?topic=21642.0 (http://forum.amule.org/index.php?topic=21642.0)
http://forum.amule.org/index.php?topic=21680.0 (http://forum.amule.org/index.php?topic=21680.0)

Seems i have the same problem again like the second post...