aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: amule crashes all the time / this time he was blocked  (Read 11688 times)

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #15 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
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: amule crashes all the time / this time he was blocked
« Reply #16 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.
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #17 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?
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #18 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
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: amule crashes all the time / this time he was blocked
« Reply #19 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.
« Last Edit: June 14, 2006, 12:43:36 PM by Gerd78 »
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #20 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
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #21 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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amule crashes all the time / this time he was blocked
« Reply #22 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!
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: amule crashes all the time / this time he was blocked
« Reply #23 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.
« Last Edit: June 15, 2006, 05:30:19 PM by Gerd78 »
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #24 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
Logged

KarlSinn

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: amule crashes all the time / this time he was blocked
« Reply #25 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
Logged
Pages: 1 [2]