aMule Forum

English => Backtraces => Topic started by: KarlSinn on June 13, 2006, 12:17:48 AM

Title: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 13, 2006, 12:17:48 AM
Hi,

since I have a lot of crashes since quite a few versions of amule, and I just learned how to send you backtraces, I'll will send you all the backtraces I can produce :-). I hope it will help to make this great program perfect.

This time the process was blocked, but amule did not crash.

Here the Backtrace:


-------------------------------------------------------------------------------
(gdb) bt
#0  0x405c4243 in GSocket::Disable ()
   from /usr/local/lib/libwx_baseu_net-2.6.so.0
#1  0x403a2e81 in _GSocket_GDK_Input ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#2  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#3  0x0ad2a4b8 in ?? ()
#4  0x000000b8 in ~InvertibleRSAFunction (this=0x4250c3a8) at formatter.h:190
#5  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
#6  0x40fb734c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#7  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#8  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#10 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#11 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#12 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#13 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#14 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#15 0x081dab8d in main (argc=1, argv=0xbfb75df4) at amule-gui.cpp:143
(gdb)
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
 bt full
#0  0x405c4243 in GSocket::Disable ()
   from /usr/local/lib/libwx_baseu_net-2.6.so.0
No symbol table info available.
#1  0x403a2e81 in _GSocket_GDK_Input ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#2  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x0ad2a4b8 in ?? ()
No symbol table info available.
#4  0x000000b8 in ~InvertibleRSAFunction (this=0x4250c3a8) at formatter.h:190
No locals.
#5  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x40fb734c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
---Type to continue, or q to quit---
No symbol table info available.
#10 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#11 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#12 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#13 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#14 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#15 0x081dab8d in main (argc=1, argv=0xbfb75df4) at amule-gui.cpp:143
No locals.
-------------------------------------------------------------------------------



-------------------------------------------------------------------------------
thread apply all bt

Thread 4 (Thread 1111817136 (LWP 5636)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40035cec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#2  0x406bdb2a in wxConditionInternal::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#3  0x406bdbb0 in wxCondition::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#4  0x406be07f in wxSemaphoreInternal::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#5  0x406c06e6 in wxSemaphore::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#6  0x082d2358 in CTimerThread::Entry (this=0xa76ed18) at Timer.cpp:66
#7  0x406bf5ad in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#8  0x406bf69d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.6.so.0
#9  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#10 0x408fa37e in clone () from /lib/tls/libc.so.6
#11 0x4244fbb0 in ?? ()

Thread 2 (Thread 1105103792 (LWP 5634)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40038c26 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#2  0x406c5626 in wxMicroSleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#3  0x406c5669 in wxMilliSleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#4  0x406be6e2 in wxThread::Sleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#5  0x081884fd in UploadBandwidthThrottler::Entry (this=0xa6e7390)
    at UploadBandwidthThrottler.cpp:354
#6  0x406bf5ad in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#7  0x406bf69d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.6.so.0
#8  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#9  0x408fa37e in clone () from /lib/tls/libc.so.6
#10 0x41de8bb0 in ?? ()

Thread 1 (Thread 1092154944 (LWP 5626)):
#0  0x405c4243 in GSocket::Disable ()
   from /usr/local/lib/libwx_baseu_net-2.6.so.0
#1  0x403a2e81 in _GSocket_GDK_Input ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#2  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#3  0x0ad2a4b8 in ?? ()
#4  0x000000b8 in ~InvertibleRSAFunction (this=0x4250c3a8) at formatter.h:190
#5  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#6  0x40fb734c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#7  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#8  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#10 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#11 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#12 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#13 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#14 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#15 0x081dab8d in main (argc=1, argv=0xbfb75df4) at amule-gui.cpp:143
-------------------------------------------------------------------------------



I hope it helps.

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: phoenix on June 13, 2006, 04:28:42 AM
KarlSinn,

Unfortunately, your backtrace does not make much sense. A wild guess of mine is that you are using a bogus version of CryptoPP library. Try to use our built in support.

But that is a really wild guess, because your backtrace does not provide enough information.

Good luck!
Title: Re: amule crashes all the time / this time he was blocked
Post by: Kry on June 13, 2006, 01:36:33 PM
Backtrace makes perfect sense for a wx socket developer :P

Update wxWidgets-
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 13, 2006, 03:33:13 PM
Quote
Originally posted by phoenix
Unfortunately, your backtrace does not make much sense. A wild guess of mine is that you are using a bogus version of CryptoPP library. Try to use our built in support.

How do I do this?

I have the following installed:

rpm -qa | grep -i crypt
libgcrypt-1.2.1-5
perl-Crypt-SmbHash-0.12-2
libxcrypt-2.2-5
libmcrypt-2.5.7-125
php4-mcrypt-4.4.0-6


Thanks
Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 13, 2006, 03:35:39 PM
Quote
Originally posted by Kry
Backtrace makes perfect sense for a wx socket developer :P

Update wxWidgets-

This is what I have:

rpm -qa | grep -i wx
aMule-wxGTK-2.6.3-1


Isn't that the one I need?
How should I update this?

Thanks
Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: Kry on June 13, 2006, 05:31:12 PM
Ok, that's a problem. it means wxWidgets is *still* bugged on socket deletion, even when I do my best on fixing that. Ohwell.

can you compile wxWidgets with --enable-debug and get a backtrace again?
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 13, 2006, 06:16:18 PM
Quote
Originally posted by Kry
Ok, that's a problem. it means wxWidgets is *still* bugged on socket deletion, even when I do my best on fixing that. Ohwell.

can you compile wxWidgets with --enable-debug and get a backtrace again?

Compiling wxWidgets is a little bit to hard for me.
But if IhmSelbst or somebody else can compile it for SuSE 10.0 then I will use it and send you the backtraces.

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 13, 2006, 10:51:04 PM
Hi again,

I had another crash :-)

here the backtrace:

--------------------------------------------------------------------------
(gdb) bt
#0  0x0b843da7 in ?? ()
#1  0x0b843da8 in ?? ()
#2  0x40034d07 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#3  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#4  0x0b843da8 in ?? ()
#5  0x00000099 in ~InvertibleRSAFunction (this=0x42505b60) at formatter.h:190
#6  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
#7  0x40fb734c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#8  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#10 0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#11 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#12 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#13 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#14 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#15 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#16 0x081dab8d in main (argc=1, argv=0xbfc4fa34) at amule-gui.cpp:143
-------------------------------------------------------------------------------
(gdb) bt full
#0  0x0b843da7 in ?? ()
No symbol table info available.
#1  0x0b843da8 in ?? ()
No symbol table info available.
#2  0x40034d07 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x0b843da8 in ?? ()
No symbol table info available.
#5  0x00000099 in ~InvertibleRSAFunction (this=0x42505b60) at formatter.h:190
No locals.
#6  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x40fb734c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
---Type to continue, or q to quit---
No symbol table info available.
#11 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#12 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#13 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#14 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#15 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#16 0x081dab8d in main (argc=1, argv=0xbfc4fa34) at amule-gui.cpp:143
No locals.


-------------------------------------------------------------------------
(gdb) thread apply all bt

Thread 4 (Thread 1111817136 (LWP 9386)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40035cec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#2  0x406bdb2a in wxConditionInternal::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#3  0x406bdbb0 in wxCondition::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#4  0x406be07f in wxSemaphoreInternal::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#5  0x406c06e6 in wxSemaphore::WaitTimeout ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#6  0x082d2358 in CTimerThread::Entry (this=0xa899b98) at Timer.cpp:66
#7  0x406bf5ad in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#8  0x406bf69d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.6.so.0
#9  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#10 0x408fa37e in clone () from /lib/tls/libc.so.6
#11 0x4244fbb0 in ?? ()

Thread 2 (Thread 1105103792 (LWP 9381)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40038c26 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#2  0x406c5626 in wxMicroSleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#3  0x406c5669 in wxMilliSleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#4  0x406be6e2 in wxThread::Sleep () from /usr/local/lib/libwx_baseu-2.6.so.0
#5  0x081884fd in UploadBandwidthThrottler::Entry (this=0xa6e5330)
    at UploadBandwidthThrottler.cpp:354
#6  0x406bf5ad in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_baseu-2.6.so.0
#7  0x406bf69d in wxPthreadStart () from /usr/local/lib/libwx_baseu-2.6.so.0
#8  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#9  0x408fa37e in clone () from /lib/tls/libc.so.6
#10 0x41de8bb0 in ?? ()

Thread 1 (Thread 1092154944 (LWP 9367)):
#0  0x0b843da7 in ?? ()
#1  0x0b843da8 in ?? ()
#2  0x40034d07 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#3  0x40c6c6be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#4  0x0b843da8 in ?? ()
#5  0x00000099 in ~InvertibleRSAFunction (this=0x42505b60) at formatter.h:190
#6  0x40fe11df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
#7  0x40fb734c in g_main_context_dispatch ()
---Type to continue, or q to quit---
   from /opt/gnome/lib/libglib-2.0.so.0
#8  0x40fba7bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40fbaad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#10 0x40a8d861 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#11 0x403a0ac0 in wxEventLoop::Run ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#12 0x4042d409 in wxAppBase::MainLoop ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#13 0x4042d595 in wxAppBase::OnRun ()
   from /usr/local/lib/libwx_gtk2u_core-2.6.so.0
#14 0x4066446d in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#15 0x40664546 in wxEntry () from /usr/local/lib/libwx_baseu-2.6.so.0
#16 0x081dab8d in main (argc=1, argv=0xbfc4fa34) at amule-gui.cpp:143
-----------------------------------------------------------------------------------


does this also lead to a problem in wxWidgets?

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 12:20:19 AM
Quote
Originally posted by KarlSinn
Quote
Originally posted by Kry
Ok, that's a problem. it means wxWidgets is *still* bugged on socket deletion, even when I do my best on fixing that. Ohwell.

can you compile wxWidgets with --enable-debug and get a backtrace again?

Compiling wxWidgets is a little bit to hard for me.
But if IhmSelbst or somebody else can compile it for SuSE 10.0 then I will use it and send you the backtraces.

Karl

Hi,

I tried it, I followed the instructions from the wiki. Compiling was not complicated. Uninstalling was, because of some dependencies I couldn't erase the package. I did the quick and dirty way.

I installed after, and i run ldconfig.

When I tried to start amule, this is what I got:

Starting program: /home/Karl/download/aMule-2.1.3/src/amule
/home/Karl/download/aMule-2.1.3/src/amule: error while loading shared libraries: libwx_gtk2u_adv-2.6.so.0: cannot open shared object file: No such file or directory

Program exited with code 0177.


Where is my mistake?

Thanks
Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: wuischke on June 14, 2006, 08:43:15 AM
Could you please execute ls /usr/local/lib | grep wx and post the output here? (Well, if there are as expected many files, then the first three lines should be sufficent.)
Title: Re: amule crashes all the time / this time he was blocked
Post by: stefanero on June 14, 2006, 09:10:37 AM
easier would be to check if

/usr/local/lib/

is also in his

/etc/ld.so.conf file...
Title: Re: amule crashes all the time / this time he was blocked
Post by: Gerd78 on June 14, 2006, 10:05:57 AM
It is in /etc/ld.so.conf, but he forgot to run ldconfig.
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 10:07:46 AM
ls /usr/local/lib | grep wx
libwx_baseud-2.6.so
libwx_baseud-2.6.so.0
libwx_baseud-2.6.so.0.3.1
libwx_baseud_net-2.6.so
libwx_baseud_net-2.6.so.0
libwx_baseud_net-2.6.so.0.3.1
libwx_baseud_xml-2.6.so
libwx_baseud_xml-2.6.so.0
libwx_baseud_xml-2.6.so.0.3.1
libwx_gtk2ud_adv-2.6.so
libwx_gtk2ud_adv-2.6.so.0
libwx_gtk2ud_adv-2.6.so.0.3.1
libwx_gtk2ud_core-2.6.so
libwx_gtk2ud_core-2.6.so.0
libwx_gtk2ud_core-2.6.so.0.3.1
libwx_gtk2ud_html-2.6.so
libwx_gtk2ud_html-2.6.so.0
libwx_gtk2ud_html-2.6.so.0.3.1
libwx_gtk2ud_media-2.6.so
libwx_gtk2ud_media-2.6.so.0
libwx_gtk2ud_media-2.6.so.0.3.1
libwx_gtk2ud_qa-2.6.so
libwx_gtk2ud_qa-2.6.so.0
libwx_gtk2ud_qa-2.6.so.0.3.1
libwx_gtk2ud_xrc-2.6.so
libwx_gtk2ud_xrc-2.6.so.0
libwx_gtk2ud_xrc-2.6.so.0.3.1
wx
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 10:14:30 AM
Quote
Originally posted by stefanero
easier would be to check if

/usr/local/lib/

is also in his

/etc/ld.so.conf file...

It is, and I did not forget to run ldconfig
Title: Re: amule crashes all the time / this time he was blocked
Post by: Gerd78 on June 14, 2006, 10:20:37 AM
Yes, you're right, it's something else:

You have removed your original wxWidgets libraries and compiled and installed debug-enabled wxWidgets libraries instead. These are binary incompatible with your previous ones, so you have to recompile aMule now.

Btw. there are reasons why your package manager didn't allow you to remove the previous wxWidgets installation - your other wxWidgets apps will no longer work now. And removing them was unnecessary because release and debug builds of wxWidgets are parallel installable.
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 11:27:15 AM
Quote
Originally posted by Gerd78
Yes, you're right, it's something else:

You have removed your original wxWidgets libraries and compiled and installed debug-enabled wxWidgets libraries instead. These are binary incompatible with your previous ones, so you have to recompile aMule now.

Btw. there are reasons why your package manager didn't allow you to remove the previous wxWidgets installation - your other wxWidgets apps will no longer work now. And removing them was unnecessary because release and debug builds of wxWidgets are parallel installable.

1) How can I be sure that the compiler uses the "new" wxWidgets version for compiling? Do I have to tell him where the wxWidget-soures are?

2) I am aware of the problems that can arise by deleting the wx-files in the quick and dirty way. After testing I play back the old rpm.

3) Can this quick and dirty uninstallbe a problem for compiling with the "new" version?

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: Gerd78 on June 14, 2006, 11:54:02 AM
1) You can use wx-config to find out which flavour of wxWidgets will be used:
Code: [Select]
wx-config --list2) Removing wxGTK-devel would have been sufficient in that case.

3) No.
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 12:30:05 PM
Quote
Originally posted by Gerd78
1) You can use wx-config to find out which flavour of wxWidgets will be used:
Code: [Select]
wx-config --list2) Removing wxGTK-devel would have been sufficient in that case.

3) No.


1) wx-config --list gives me no information at all

2) I have no wxGTK-devel installed

What now?
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 12:38:49 PM
sorry,

this is the output of

wx-config --list

    Default config is gtk2-unicode-release-2.6

  Default config will be used for output
Title: Re: amule crashes all the time / this time he was blocked
Post by: Gerd78 on June 14, 2006, 12:40:44 PM
1) What does that mean? Please post the complete verbatim output of wx-config --list.

2) If you never had wxGTK-devel installed, there was no need to remove anything from the beginning on.

Why not just start rebuilding aMule now?

EDIT: Thanks for the output. It is very nice, because it shows that your system is screwed up. NOW you might REALLY want to remove everything and start from scratch.
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 14, 2006, 07:32:33 PM
I knew it would be hard for me to do this :-)

I did everuthing again, and I have a amule running now. I'll send you the backtrace ASAP.

Thanks for all the Help

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 15, 2006, 11:31:27 AM
Hi again,

I did everything again wxGTK and aMule compiled and installed.
Now I got this backtrace:


--------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092638272 (LWP 29902)]
0x0a9a6553 in ?? ()
(gdb) bt
#0  0x0a9a6553 in ?? ()
#1  0x00000002 in ?? ()
#2  0xbfd1e5b8 in ?? ()
#3  0xbfd1e58c in ?? ()
#4  0x40d491d0 in ?? () from /opt/gnome/lib/libgdk-x11-2.0.so.0
#5  0x4250f490 in ?? ()
#6  0x0000000c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0  0x0a9a6553 in ?? ()
No symbol table info available.
#1  0x00000002 in ?? ()
No symbol table info available.
#2  0xbfd1e5b8 in ?? ()
No symbol table info available.
#3  0xbfd1e58c in ?? ()
No symbol table info available.
#4  0x40d491d0 in ?? () from /opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#5  0x4250f490 in ?? ()
No symbol table info available.
#6  0x0000000c in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1112300464 (LWP 29912)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40035cec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#2  0x40712158 in wxConditionInternal::WaitTimeout (this=0x8845450,
    milliseconds=95) at threadpsx.cpp:402
#3  0x40712237 in wxCondition::WaitTimeout (this=0x884c2ec, milliseconds=95)
    at thrimpl.cpp:255
#4  0x4071284d in wxSemaphoreInternal::WaitTimeout (this=0x884c2e8,
    milliseconds=95) at threadpsx.cpp:549
#5  0x40715865 in wxSemaphore::WaitTimeout (this=0xa8b8440, milliseconds=95)
    at thrimpl.cpp:319
#6  0x082da9be in CTimerThread::Entry (this=0xa8b8420) at Timer.cpp:66
#7  0x40714303 in wxThreadInternal::PthreadStart (thread=0xa8b8420)
    at threadpsx.cpp:763
#8  0x4071444d in wxPthreadStart (ptr=0xa8b8420) at threadpsx.cpp:715
#9  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#10 0x4097037e in clone () from /lib/tls/libc.so.6
#11 0x424c5bb0 in ?? ()

Thread 2 (Thread 1105587120 (LWP 29910)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40038c26 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#2  0x4071ad26 in wxMicroSleep (microseconds=8000) at utilsunx.cpp:180
#3  0x4071ad69 in wxMilliSleep (milliseconds=8) at utilsunx.cpp:201
#4  0x4071304c in wxThread::Sleep (milliseconds=8) at threadpsx.cpp:974
#5  0x0818afa1 in UploadBandwidthThrottler::Entry (this=0xa6adc40)
    at UploadBandwidthThrottler.cpp:354
#6  0x40714303 in wxThreadInternal::PthreadStart (thread=0xa6adc40)
    at threadpsx.cpp:763
#7  0x4071444d in wxPthreadStart (ptr=0xa6adc40) at threadpsx.cpp:715
#8  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#9  0x4097037e in clone () from /lib/tls/libc.so.6
#10 0x41e5ebb0 in ?? ()

Thread 1 (Thread 1092638272 (LWP 29902)):
#0  0x0a9a6553 in ?? ()
#1  0x00000002 in ?? ()
#2  0xbfd1e5b8 in ?? ()
#3  0xbfd1e58c in ?? ()
#4  0x40d491d0 in ?? () from /opt/gnome/lib/libgdk-x11-2.0.so.0
#5  0x4250f490 in ?? ()
#6  0x0000000c in ?? ()
Previous frame inner to this frame (corrupt stack?)
-----------------------------------------------------------------------

Is there something wrong with the debuginformation????
Or is this a usefull backtrace?

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: phoenix on June 15, 2006, 05:22:35 PM
KarlSinn,

You did everything correctly now. But unfortunately, the thread that crashed is not giving enough information :( The other threads show that you did compile aMule and wxWidgets with debug information.

Is this a normal place to install this lib:
/opt/gnome/lib/libgdk-x11-2.0.so.0

This is suspect number one, why is it installed under /opt ? Try to reinstall or update libgdk.

Cheers!
Title: Re: amule crashes all the time / this time he was blocked
Post by: Gerd78 on June 15, 2006, 05:27:59 PM
Quote
Originally posted by phoenix
Is this a normal place to install this lib:
/opt/gnome/lib/libgdk-x11-2.0.so.0
Yes: http://www.novell.com/products/linuxpackages/suselinux/gtk2.html

Never seen it before? That's strange because all SuSE users have it there. It's in many backtraces that were posted here.
Quote
Originally posted by phoenix
This is suspect number one, why is it installed under /opt ? Try to reinstall or update libgdk.
No, this will not help, it's OK there and it doesn't have anything to do with the crash.

Btw. it might help if KarlSinn installs the gtk2-debuginfo package before reproducing the crash.
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 17, 2006, 01:23:02 PM
Hi,

sorry, it took a while until aMule crashed again :-)

I did install the gtk2-debuginfo package and now I have this output:


) run
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 1092638272 (LWP 18802)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread 1105587120 (LWP 18810)]
Loading temp files from /home/Karl/media/data2/Temp.
Loading PartFile 63 of 63
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/Karl/media/data2/Temp/035.part.met to shares
Adding file /home/Karl/media/data2/Temp/036.part.met to shares
Adding file /home/Karl/media/data2/Temp/039.part.met to shares
Adding file /home/Karl/media/data2/Temp/040.part.met to shares
Adding file /home/Karl/media/data2/Temp/041.part.met to shares
Adding file /home/Karl/media/data2/Temp/042.part.met to shares
Adding file /home/Karl/media/data2/Temp/043.part.met to shares
Adding file /home/Karl/media/data2/Temp/044.part.met to shares
Adding file /home/Karl/media/data2/Temp/045.part.met to shares
Adding file /home/Karl/media/data2/Temp/046.part.met to shares
Adding file /home/Karl/media/data2/Temp/047.part.met to shares
Adding file /home/Karl/media/data2/Temp/048.part.met to shares
Adding file /home/Karl/media/data2/Temp/049.part.met to shares
Adding file /home/Karl/media/data2/Temp/050.part.met to shares
Adding file /home/Karl/media/data2/Temp/052.part.met to shares
Adding file /home/Karl/media/data2/Temp/054.part.met to shares
Adding file /home/Karl/media/data2/Temp/055.part.met to shares
Adding file /home/Karl/media/data2/Temp/056.part.met to shares
Adding file /home/Karl/media/data2/Temp/059.part.met to shares
Adding file /home/Karl/media/data2/Temp/060.part.met to shares
Adding file /home/Karl/media/data2/Temp/061.part.met to shares
Adding file /home/Karl/media/data2/Temp/064.part.met to shares
Adding file /home/Karl/media/data2/Temp/065.part.met to shares
Adding file /home/Karl/media/data2/Temp/001.part.met to shares
Adding file /home/Karl/media/data2/Temp/002.part.met to shares
Adding file /home/Karl/media/data2/Temp/003.part.met to shares
Adding file /home/Karl/media/data2/Temp/006.part.met to shares
Adding file /home/Karl/media/data2/Temp/007.part.met to shares
Adding file /home/Karl/media/data2/Temp/008.part.met to shares
Adding file /home/Karl/media/data2/Temp/009.part.met to shares
Adding file /home/Karl/media/data2/Temp/011.part.met to shares
Adding file /home/Karl/media/data2/Temp/012.part.met to shares
Adding file /home/Karl/media/data2/Temp/013.part.met to shares
Adding file /home/Karl/media/data2/Temp/014.part.met to shares
Adding file /home/Karl/media/data2/Temp/015.part.met to shares
Adding file /home/Karl/media/data2/Temp/016.part.met to shares
Adding file /home/Karl/media/data2/Temp/017.part.met to shares
Adding file /home/Karl/media/data2/Temp/018.part.met to shares
Adding file /home/Karl/media/data2/Temp/020.part.met to shares
Adding file /home/Karl/media/data2/Temp/021.part.met to shares
Adding file /home/Karl/media/data2/Temp/023.part.met to shares
Adding file /home/Karl/media/data2/Temp/024.part.met to shares
Adding file /home/Karl/media/data2/Temp/025.part.met to shares
Adding file /home/Karl/media/data2/Temp/028.part.met to shares
Adding file /home/Karl/media/data2/Temp/029.part.met to shares
Adding file /home/Karl/media/data2/Temp/030.part.met to shares
Adding file /home/Karl/media/data2/Temp/032.part.met to shares
Adding file /home/Karl/media/data2/Temp/033.part.met to shares
Adding file /home/Karl/media/data2/Temp/034.part.met to shares
[New Thread 1110199216 (LWP 18812)]
[New Thread 1122032560 (LWP 18826)]
[Thread 1110199216 (zombie) exited]
[New Thread 1110199216 (LWP 18868)]
[Thread 1110199216 (zombie) exited]
Error on CKademliaUDPListener::processPublishRequest received from: 72.156.180.80:4672
No ip match

(amule:18802): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Mauvais descripteur de fichier (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092638272 (LWP 18802)]
0x0b93c993 in ?? ()
(gdb) bt
#0  0x0b93c993 in ?? ()
#1  0x403adc11 in _GSocket_GDK_Input (data=0xb93c998, source=208,
    condition=GDK_INPUT_WRITE) at gsockgtk.cpp:35
#2  0x40ce26be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#3  0x0b93c998 in ?? ()
#4  0x000000d0 in ~InvertibleRSAFunction (this=0x42f1b088) at formatter.h:190
#5  0x410571df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
#6  0x4102d34c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#7  0x410307bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#8  0x41030ad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40b03861 in gtk_main () at gtkmain.c:976
#10 0x403ab5d8 in wxEventLoop::Run (this=0xb4060f0) at evtloop.cpp:80
#11 0x4043f1e1 in wxAppBase::MainLoop (this=0x8741b60) at appcmn.cpp:272
#12 0x4043f36d in wxAppBase::OnRun (this=0x8741b60) at appcmn.cpp:340
#13 0x406b2b49 in wxEntry (argc=@0xbf9007b0, argv=0x8730830) at init.cpp:439
#14 0x406b2c22 in wxEntry (argc=@0xbf9007b0, argv=0xbf900824) at init.cpp:451
#15 0x081de0c1 in main (argc=1, argv=0xbf900824) at amule-gui.cpp:143
(gdb) bt full
#0  0x0b93c993 in ?? ()
No symbol table info available.
#1  0x403adc11 in _GSocket_GDK_Input (data=0xb93c998, source=208,
    condition=GDK_INPUT_WRITE) at gsockgtk.cpp:35
        socket = (class GSocket *) 0xb93c998
#2  0x40ce26be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x0b93c998 in ?? ()
No symbol table info available.
#4  0x000000d0 in ~InvertibleRSAFunction (this=0x42f1b088) at formatter.h:190
No locals.
#5  0x410571df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x4102d34c in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x410307bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x41030ad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x40b03861 in gtk_main () at gtkmain.c:976
        tmp_list = (GList *) 0x40015cc0
---Type to continue, or q to quit---
        functions = (GList *) 0x0
        init = (GtkInitFunction *) 0xb405d60
        loop = (GMainLoop *) 0xb405d70
#10 0x403ab5d8 in wxEventLoop::Run (this=0xb4060f0) at evtloop.cpp:80
        oldLoop = (wxEventLoop *) 0x0
        exitcode = 1078197292
#11 0x4043f1e1 in wxAppBase::MainLoop (this=0x8741b60) at appcmn.cpp:272
        mainLoop = { = {m_ptr = 0xb4060f0}, m_pp = 0x8741ba0,
  m_pOld = 0x0}
#12 0x4043f36d in wxAppBase::OnRun (this=0x8741b60) at appcmn.cpp:340
No locals.
#13 0x406b2b49 in wxEntry (argc=@0xbf9007b0, argv=0x8730830) at init.cpp:439
        callOnExit = {}
        cleanupOnExit = {}
#14 0x406b2c22 in wxEntry (argc=@0xbf9007b0, argv=0xbf900824) at init.cpp:451
No locals.
#15 0x081de0c1 in main (argc=1, argv=0xbf900824) at amule-gui.cpp:143
No locals.
(gdb) thread apply all bt

Thread 4 (Thread 1122032560 (LWP 18826)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40035cec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#2  0x40712158 in wxConditionInternal::WaitTimeout (this=0x8854038,
    milliseconds=95) at threadpsx.cpp:402
#3  0x40712237 in wxCondition::WaitTimeout (this=0x8853e3c, milliseconds=95)
    at thrimpl.cpp:255
#4  0x4071284d in wxSemaphoreInternal::WaitTimeout (this=0x8853e38,
    milliseconds=95) at threadpsx.cpp:549
#5  0x40715865 in wxSemaphore::WaitTimeout (this=0xa73a5e8, milliseconds=95)
    at thrimpl.cpp:319
#6  0x082da9be in CTimerThread::Entry (this=0xa73a5c8) at Timer.cpp:66
#7  0x40714303 in wxThreadInternal::PthreadStart (thread=0xa73a5c8)
    at threadpsx.cpp:763
#8  0x4071444d in wxPthreadStart (ptr=0xa73a5c8) at threadpsx.cpp:715
#9  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#10 0x4097037e in clone () from /lib/tls/libc.so.6
#11 0x42e0dbb0 in ?? ()

Thread 2 (Thread 1105587120 (LWP 18810)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0x40038c26 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#2  0x4071ad26 in wxMicroSleep (microseconds=23000) at utilsunx.cpp:180
#3  0x4071ad69 in wxMilliSleep (milliseconds=23) at utilsunx.cpp:201
#4  0x4071304c in wxThread::Sleep (milliseconds=23) at threadpsx.cpp:974
#5  0x0818afa1 in UploadBandwidthThrottler::Entry (this=0xa6c87d0)
    at UploadBandwidthThrottler.cpp:354
#6  0x40714303 in wxThreadInternal::PthreadStart (thread=0xa6c87d0)
    at threadpsx.cpp:763
#7  0x4071444d in wxPthreadStart (ptr=0xa6c87d0) at threadpsx.cpp:715
#8  0x40033297 in start_thread () from /lib/tls/libpthread.so.0
#9  0x4097037e in clone () from /lib/tls/libc.so.6
#10 0x41e5ebb0 in ?? ()

Thread 1 (Thread 1092638272 (LWP 18802)):
#0  0x0b93c993 in ?? ()
#1  0x403adc11 in _GSocket_GDK_Input (data=0xb93c998, source=208,
    condition=GDK_INPUT_WRITE) at gsockgtk.cpp:35
#2  0x40ce26be in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#3  0x0b93c998 in ?? ()
#4  0x000000d0 in ~InvertibleRSAFunction (this=0x42f1b088) at formatter.h:190
#5  0x410571df in g_vasprintf () from /opt/gnome/lib/libglib-2.0.so.0
#6  0x4102d34c in g_main_context_dispatch ()
---Type to continue, or q to quit---
   from /opt/gnome/lib/libglib-2.0.so.0
#7  0x410307bb in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#8  0x41030ad7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#9  0x40b03861 in gtk_main () at gtkmain.c:976
#10 0x403ab5d8 in wxEventLoop::Run (this=0xb4060f0) at evtloop.cpp:80
#11 0x4043f1e1 in wxAppBase::MainLoop (this=0x8741b60) at appcmn.cpp:272
#12 0x4043f36d in wxAppBase::OnRun (this=0x8741b60) at appcmn.cpp:340
#13 0x406b2b49 in wxEntry (argc=@0xbf9007b0, argv=0x8730830) at init.cpp:439
#14 0x406b2c22 in wxEntry (argc=@0xbf9007b0, argv=0xbf900824) at init.cpp:451
#15 0x081de0c1 in main (argc=1, argv=0xbf900824) at amule-gui.cpp:143


I hope this time it helps

Karl
Title: Re: amule crashes all the time / this time he was blocked
Post by: KarlSinn on June 20, 2006, 01:42:23 PM
Hi again,

amule crashes quite often. I didn't send the backtraces, because I don't have any answer on my last post.

Do you work on it, or are my backtraces useless?

Anyway, I just have this result:

--------------------------------------------begin
[New Thread 1110199216 (LWP 6694)]
[New Thread 1122032560 (LWP 6695)]
[Thread 1110199216 (zombie) exited]
[New Thread 1110199216 (LWP 6723)]
[Thread 1110199216 (zombie) exited]
Couldn't get registers: Aucun processus de ce type.
(gdb) bt
Cannot fetch general-purpose registers for thread 1110199216: generic error
(gdb) bt full
Cannot fetch general-purpose registers for thread 1110199216: generic error
(gdb) thread apply all bt
Cannot find new threads: generic error
----------------------------------------------end

What is this about?
gdb doesn't get any information?

And one more thing: Sometimes after amule crashed no window has a border any more. What can this be?

Thanks
Karl