aMule Forum

Deutsch => de_Bugs => Topic started by: Kampfzwerg on July 13, 2007, 04:28:27 PM

Title: Absturzt beim Schließen des Tabs
Post by: Kampfzwerg on July 13, 2007, 04:28:27 PM
Wenn man man das erste Tab, das bei der Suche erscheint, entfernt wird aMule geschlossen.

Sämtliche andere Tabs hinter dem Ersten kann man bedenkenlos schliessen.


Wollte ich nur mal sagen  ;D
Title: Re: Absturzt beim Schließen des Tabs
Post by: wuischke on July 13, 2007, 08:17:03 PM
Bug bei Kombination wxGTK 2.6 und GTK 2.10, gibt einen Patch für wxGTK, empfohlen ist ein Upgrade auf wxGTK 2.8.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on July 13, 2007, 08:36:14 PM
Ich hab wx2.8, und dasselbe Problem. Dachte das wäre bekannt, ich behalts mal im Auge.
Title: Re: Absturzt beim Schließen des Tabs
Post by: wuischke on July 13, 2007, 09:15:59 PM
Wenn das der Fall ist, so wäre ein Backtrace sehr nett. Dieser Fehler sollte ja leicht reproduzierbar sein. Ich kann das Problem bei mir nicht nachvollziehen.
Title: Re: Absturzt beim Schließen des Tabs
Post by: amuleline on August 25, 2007, 02:54:39 PM
hatte das Problem auch aber bei mir geht jetzt alles wieder  :-\
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 26, 2007, 05:25:30 PM
Selbes Problem hier auf Fedora 7 ... bisher keine Lösung gefunden ...

Problem mit wxGTK 2.8.3 und 2.8.4.

Habs eben nochmal mit der aMule-CVS-20070826.tar.bz2 probiert ...

1. Versuch mit embedded Crypto
Crash bei letzten Searchtab schließen.

2. Versuch ... Crypto++ selbst kompilliert und Amule mit --disable crypto
Crash bei letzten Searchtab schließen.

3. Amule mit disable optimize und enable debug kompilliert

Siehe Backtrace !

Code: [Select]
(gdb) bt
#0  0x07998257 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x0797bc90 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7  0x07a90bf8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x07975053 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x07976257 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x07c2a15a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x079766d4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x006bbb5c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x0075d43e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x0075ca31 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x0028480a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x002848c7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x0814a2e5 in main () at smartptr.h:12
(gdb) bt full
#0  0x07998257 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0x0797bc90 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x07a90bf8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0x07975053 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x07976257 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x07c2a15a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x079766d4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x006bbb5c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0x0075d43e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#17 0x0075ca31 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x0028480a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x002848c7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x0814a2e5 in main () at smartptr.h:12
        CryptoPP::Singleton<CryptoPP::Integer, CryptoPP::NewLastSmallPrimeSquared, 0>::Ref() const::s_pObject = {m_p = 0x0}
        CryptoPP::Singleton<CryptoPP::Integer, CryptoPP::NewLastSmallPrimeSquared, 0>::Ref() const::s_objectState = 0 '\0'
        CryptoPP::Singleton<std::vector<unsigned short, std::allocator<unsigned short> >, CryptoPP::NewPrimeTable, 0>::Ref() const::s_pObject = {m_p = 0x0}
        CryptoPP::Singleton<std::vector<unsigned short, std::allocator<unsigned short> >, CryptoPP::NewPrimeTable, 0>::Ref() const::s_objectState = 0 '\0'
(gdb) thread apply all bt

Thread 4 (Thread -1249715312 (LWP 26796)):
#0  0x00dd9402 in __kernel_vsyscall ()
#1  0x00b4c3ac in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x002eeb1c in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x002eeb6f in wxCondition::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x002ef82c in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x002ef8bf in wxSemaphore::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x082445e3 in CTimerThread::Entry () at smartptr.h:12
#7  0x002efe88 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x002efefd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00b482fb in start_thread () from /lib/libpthread.so.0
#10 0x00a8b93e in clone () from /lib/libc.so.6

Thread 2 (Thread -1228735600 (LWP 26770)):
#0  0x00dd9402 in __kernel_vsyscall ()
#1  0x00b4f506 in nanosleep () from /lib/libpthread.so.0
#2  0x002f5948 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x002f5971 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x002ee22d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x0810c142 in UploadBandwidthThrottler::Entry () at smartptr.h:12
#6  0x002efe88 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x002efefd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00b482fb in start_thread () from /lib/libpthread.so.0
#9  0x00a8b93e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208367408 (LWP 26752)):
#0  0x07998257 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x0797bc90 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#7  0x07a90bf8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x07975053 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x07976257 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x07c2a15a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x079766d4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x006bbb5c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x0075d43e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x0075ca31 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x0028480a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x002848c7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x0814a2e5 in main () at smartptr.h:12
(gdb) 

Vielleicht hilfts ja ...

gruß,
                Marcus ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 26, 2007, 06:31:02 PM
Ich habs grade probiert und es ging. Der Fehler scheint also zumindest nicht auf 2.8.3 oder external-crypto zurückzuführen zu sein.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 27, 2007, 10:44:46 AM
Sehe ich auch so.  Mit beiden wxGTK Versionen sowie mit embedded sowie einem externen crypto++ ist der Fehler ja identisch ...

Mal sehen was die Entwickler sagen, bzw. vielleicht hilft ja der Backtrace weiter ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 27, 2007, 11:57:10 AM
Was hast du den für ne gtk Version, vielleicht ist das ja der Auslöser
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 27, 2007, 07:55:56 PM
Problem trat erst auf mit Fedora 7.

Bei Fedora 5 welches vorher lief gings, da hatte ich ein selbst kompilliertes wxGTK  2.6.3 am rennen.

Ab F7 ist das Problem mit wxGTK 2.8.3 und 2.8.4 (diese beiden sind die Distri Pakete).

(2.8.4 kam die Tage, da hab ich dann mal neu kompilliert um zu sehen obs daran lag ...)

Die wxGTK Versionen rausgeschmissen und auf FC7 wieder ein altes wxGTK z.B. 2.6.3 zu packen hab ich nicht versucht ...

Seltsam, dieses Problem scheint ja inzwischen seit 3-4 Monaten zu bestehen ... mich wunderts schon, warum das noch nicht gefixt ist bzw. woran es überhaupt liegt ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 27, 2007, 09:45:25 PM
GTK != wxGTK. Hast du GTK1 oder GTK2 und in welchen Versionen?
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 27, 2007, 10:23:23 PM
Auf F7 läuft gtk2 in Version 2.4.13
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 28, 2007, 07:16:30 AM
Ich hab hier 2.10.13 und keinerlei Probleme.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 28, 2007, 11:08:26 AM
Ahhh Fuck ich hab mich vertan ...

Ich hatte die GTK Version von meiner Centos 4.4 Kiste ermittelt.

Auf F7 läuft die 2.10.11

Hab mich schon gewundert, da Fedora eigentlich ne recht aktuelle Distri ist ...

Mit dem gtk Zeugs kenn ich mich nicht aus ...

auf der Seite http://www.gtk.org find ich nur gtk+ 2.

Ist das identisch mit gtk2 ? kann ich das nehmen, dann würd ich das mal kompillieren und dann amule neu bauen um zu sehen obs besser wird.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 28, 2007, 05:13:24 PM
Aus der Beschreigun von libgtk2-common:

The GTK+ is a multi-platform toolkit

Also denke ich deine Frage mit "Ja" beantworten zu können.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 28, 2007, 06:01:48 PM
Hab gerade mal nachgesen was meine Distri macht.

Es waren neue Pakete da ...

Hab jetzt 2.10.14 drauf und neu kompilliert ...

was soll ich sagen ... immer noch das selbe ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 28, 2007, 07:26:52 PM
Den aktuellen Tarball?
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 28, 2007, 08:38:40 PM
das cvs von heute ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 29, 2007, 04:55:29 PM
Hallo, liebe Entwickler ... any hints ??? :D :D :D

Nu kommt, jetzt habt ihr schon einen Backtrace :D
Title: Re: Absturzt beim Schließen des Tabs
Post by: wuischke on August 29, 2007, 05:20:32 PM
Die meisten Entwickler sprechen leider kein Deutsch. Und ich persönlich bin mir nicht sicher, ob das Problem wirklich aMule ist.

Kannst du bitte die wxWidgets und aMule noch einmal mit voller Debug-Unterstützung (und ohne Optimierung) kompilieren und einen neuen Backtrace erstellen?
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 29, 2007, 06:29:12 PM
wxGTK hab ich im mom von Fedora drauf ... wollte das jetzt erstmal nicht neu kompillieren ...

langt auch erstmal der aMule im Debug -disable-opti Mode ???
Dann kann ich nochmal schnell nen BT machen !

Naja Ubuntu hab ich gelesen hat oder hatte das Prob ja auch mal ...

Und Fedora und Ubuntu sind ja jetzt nicht soooo unbekannte Distri´s.  Auf denen sollte das ganze schon rennen !
Ich denke da sollte man dem Problem schon auf den Grund gehen. Mich persönlich störts noch nicht mal so ... ich meine, läßt man den tab halt stehen, schmierts auch nicht ab ...

Aber das ist ja keine Lösung des Problems sondern eine Tolerierung. Und da die "modernen" Distri´s das Prob haben, kann es schon möglich sein, das in Zukunft noch andere Distri´s das selbe Problem bekommen.
Ergo, da sollte was passieren ...

Ich hab im mom ne Menge Zeit, und wenn ich mit Backtraces helfen kann, mach ich das gerne.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on August 29, 2007, 06:57:58 PM
Gibts von Fedora nicht auch Pakete mit Debuggingsymbolen?

Wenn Ubuntu das Problem hat, dann müsste man das in Debian auch feststellen können. Vor allem, da mein Pakete im Prinzip baugleich mit denen von Ubuntu sind, und für Debian atm die einzige Alternative, hätte ich mitbekommen müssen falls da etwas in der Art ist.

Wenn du wirklich so viel Zeit hast, dann kannst du auch wx kompilieren. Vor allem da im Wiki auch ein Artikel ist, der Beschreibt wie du wx in deinem home installieren kannst, sodass der Rest vom System nicht betroffen ist. Ich glaube den gibt es auch schon auf Deutsch, falls nicht wird sich das in nicht allzuferner Zukunft ändern.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 29, 2007, 08:05:39 PM
Gut ich kompilliere wxGTK mit --enable-debug

und amule von heute ... dauert jetzt etwas :D
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on August 29, 2007, 11:55:39 PM
Voila :

Jetzt mit Kryto++ und wxGTK 2.8.4 selbstkompilliert. wxGTK mit disable-optimise und debug enabled.
Amule auch mit disable-optimise und debug enabled.

Als Amule wurde das Paket aMule-CVS-20070829.tar.bz2 genommen ...

1. BT in gdb schmiert Amule ab, schließt sich aber nicht.

Code: [Select]
(gdb) bt
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00ea51ed in wxEventLoop::Run (this=0x9bc8d58) at ./src/gtk/evtloop.cpp:76
#16 0x00f4c69c in wxAppBase::MainLoop (this=0x978c060)
    at ./src/common/appcmn.cpp:308
#17 0x00f4c389 in wxAppBase::OnRun (this=0x978c060)
    at ./src/common/appcmn.cpp:363
#18 0x001c19d0 in wxEntry (argc=@0x2cdeac, argv=0x977b2a8)
    at ./src/common/init.cpp:449
#19 0x001c1a9b in wxEntry (argc=@0xbfbed190, argv=0xbfbed214)
---Type <return> to continue, or q <return> to quit---
    at ./src/common/init.cpp:461
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
(gdb) bt full
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00ea51ed in wxEventLoop::Run (this=0x9bc8d58) at ./src/gtk/evtloop.cpp:76
        activate = {m_evtLoopOld = 0x0}
        exitcode = 18038856
        __FUNCTION__ = "Run"
#16 0x00f4c69c in wxAppBase::MainLoop (this=0x978c060)
    at ./src/common/appcmn.cpp:308
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x9bc8d58}, m_pp = 0x978c0a0,
  m_pOld = 0x0}
#17 0x00f4c389 in wxAppBase::OnRun (this=0x978c060)
    at ./src/common/appcmn.cpp:363
No locals.
#18 0x001c19d0 in wxEntry (argc=@0x2cdeac, argv=0x977b2a8)
    at ./src/common/init.cpp:449
        callOnExit = {<No data fields>}
        cleanupOnExit = {<No data fields>}
#19 0x001c1a9b in wxEntry (argc=@0xbfbed190, argv=0xbfbed214)
---Type <return> to continue, or q <return> to quit---
    at ./src/common/init.cpp:461
No locals.
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
No locals.
(gdb) thread apply all bt

Thread 4 (Thread -1251456112 (LWP 3341)):
#0  0x00d3c402 in __kernel_vsyscall ()
#1  0x00b4c3ac in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x0022faef in wxConditionInternal::WaitTimeout (this=0x97ab448,
    milliseconds=99) at ./src/unix/threadpsx.cpp:405
#3  0x0022fbd4 in wxCondition::WaitTimeout (this=0x97d09dc, milliseconds=99)
    at ./include/wx/thrimpl.cpp:256
#4  0x00230a1d in wxSemaphoreInternal::WaitTimeout (this=0x97d09d8,
    milliseconds=99) at ./src/unix/threadpsx.cpp:552
#5  0x00230b06 in wxSemaphore::WaitTimeout (this=0x9be0338, milliseconds=99)
    at ./include/wx/thrimpl.cpp:320
#6  0x08362d41 in CTimerThread::Entry (this=0x9be0318) at Timer.cpp:63
#7  0x00231dce in wxThreadInternal::PthreadStart (thread=0x9be0318)
    at ./src/unix/threadpsx.cpp:766
#8  0x00231f39 in wxPthreadStart (ptr=0x9be0318)
    at ./src/unix/threadpsx.cpp:718
#9  0x00b482fb in start_thread () from /lib/libpthread.so.0
#10 0x00a8b93e in clone () from /lib/libc.so.6

Thread 2 (Thread -1230476400 (LWP 3338)):
#0  0x00d3c402 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0x00b4f506 in nanosleep () from /lib/libpthread.so.0
#2  0x0023b967 in wxMicroSleep (microseconds=125000)
    at ./src/unix/utilsunx.cpp:191
#3  0x0023b991 in wxMilliSleep (milliseconds=125)
    at ./src/unix/utilsunx.cpp:212
#4  0x0022f76f in wxThread::Sleep (milliseconds=125)
    at ./src/unix/threadpsx.cpp:986
#5  0x081bcb7e in UploadBandwidthThrottler::Entry (this=0x9c21cf0)
    at UploadBandwidthThrottler.cpp:321
#6  0x00231dce in wxThreadInternal::PthreadStart (thread=0x9c21cf0)
    at ./src/unix/threadpsx.cpp:766
#7  0x00231f39 in wxPthreadStart (ptr=0x9c21cf0)
    at ./src/unix/threadpsx.cpp:718
#8  0x00b482fb in start_thread () from /lib/libpthread.so.0
#9  0x00a8b93e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208973616 (LWP 3321)):
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00ea51ed in wxEventLoop::Run (this=0x9bc8d58) at ./src/gtk/evtloop.cpp:76
#16 0x00f4c69c in wxAppBase::MainLoop (this=0x978c060)
    at ./src/common/appcmn.cpp:308
#17 0x00f4c389 in wxAppBase::OnRun (this=0x978c060)
    at ./src/common/appcmn.cpp:363
#18 0x001c19d0 in wxEntry (argc=@0x2cdeac, argv=0x977b2a8)
    at ./src/common/init.cpp:449
#19 0x001c1a9b in wxEntry (argc=@0xbfbed190, argv=0xbfbed214)
    at ./src/common/init.cpp:461
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
(gdb)

2.  BT in gdb schmiert Amule ab, schließt sich aber nicht. Ich schließe per Hand (beenden erzwingen)

Code: [Select]
(gdb) bt
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x006161ed in wxEventLoop::Run (this=0xacea6e0) at ./src/gtk/evtloop.cpp:76
#16 0x006bd69c in wxAppBase::MainLoop (this=0xa89b060)
    at ./src/common/appcmn.cpp:308
#17 0x006bd389 in wxAppBase::OnRun (this=0xa89b060)
    at ./src/common/appcmn.cpp:363
#18 0x00c0c9d0 in wxEntry (argc=@0xd18eac, argv=0xa88a2a8)
    at ./src/common/init.cpp:449
#19 0x00c0ca9b in wxEntry (argc=@0xbf8a7a90, argv=0xbf8a7b14)
---Type <return> to continue, or q <return> to quit---
    at ./src/common/init.cpp:461
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
(gdb) bt full
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x006161ed in wxEventLoop::Run (this=0xacea6e0) at ./src/gtk/evtloop.cpp:76
        activate = {m_evtLoopOld = 0x0}
        exitcode = 9064520
        __FUNCTION__ = "Run"
#16 0x006bd69c in wxAppBase::MainLoop (this=0xa89b060)
    at ./src/common/appcmn.cpp:308
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0xacea6e0}, m_pp = 0xa89b0a0,
  m_pOld = 0x0}
#17 0x006bd389 in wxAppBase::OnRun (this=0xa89b060)
    at ./src/common/appcmn.cpp:363
No locals.
#18 0x00c0c9d0 in wxEntry (argc=@0xd18eac, argv=0xa88a2a8)
    at ./src/common/init.cpp:449
        callOnExit = {<No data fields>}
        cleanupOnExit = {<No data fields>}
#19 0x00c0ca9b in wxEntry (argc=@0xbf8a7a90, argv=0xbf8a7b14)
---Type <return> to continue, or q <return> to quit---
    at ./src/common/init.cpp:461
No locals.
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
No locals.
(gdb) thread apply all bt

Thread 4 (Thread -1251001456 (LWP 3417)):
#0  0x004ad402 in __kernel_vsyscall ()
#1  0x00b4c3ac in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x00c7aaef in wxConditionInternal::WaitTimeout (this=0xa8df9d0,
    milliseconds=99) at ./src/unix/threadpsx.cpp:405
#3  0x00c7abd4 in wxCondition::WaitTimeout (this=0xa8df99c, milliseconds=99)
    at ./include/wx/thrimpl.cpp:256
#4  0x00c7ba1d in wxSemaphoreInternal::WaitTimeout (this=0xa8df998,
    milliseconds=99) at ./src/unix/threadpsx.cpp:552
#5  0x00c7bb06 in wxSemaphore::WaitTimeout (this=0xa9acd90, milliseconds=99)
    at ./include/wx/thrimpl.cpp:320
#6  0x08362d41 in CTimerThread::Entry (this=0xa9acd70) at Timer.cpp:63
#7  0x00c7cdce in wxThreadInternal::PthreadStart (thread=0xa9acd70)
    at ./src/unix/threadpsx.cpp:766
#8  0x00c7cf39 in wxPthreadStart (ptr=0xa9acd70)
    at ./src/unix/threadpsx.cpp:718
#9  0x00b482fb in start_thread () from /lib/libpthread.so.0
#10 0x00a8b93e in clone () from /lib/libc.so.6

Thread 2 (Thread -1230021744 (LWP 3414)):
#0  0x004ad402 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0x00b4f506 in nanosleep () from /lib/libpthread.so.0
#2  0x00c86967 in wxMicroSleep (microseconds=1000000)
    at ./src/unix/utilsunx.cpp:191
#3  0x00c86991 in wxMilliSleep (milliseconds=1000)
    at ./src/unix/utilsunx.cpp:212
#4  0x00c7a76f in wxThread::Sleep (milliseconds=1000)
    at ./src/unix/threadpsx.cpp:986
#5  0x081bcb7e in UploadBandwidthThrottler::Entry (this=0xad30cf0)
    at UploadBandwidthThrottler.cpp:321
#6  0x00c7cdce in wxThreadInternal::PthreadStart (thread=0xad30cf0)
    at ./src/unix/threadpsx.cpp:766
#7  0x00c7cf39 in wxPthreadStart (ptr=0xad30cf0)
    at ./src/unix/threadpsx.cpp:718
#8  0x00b482fb in start_thread () from /lib/libpthread.so.0
#9  0x00a8b93e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208518960 (LWP 3407)):
#0  0x070afb27 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x07093500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x077f1589 in ?? () from /lib/libgobject-2.0.so.0
#3  0x077f2d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#4  0x07803a83 in ?? () from /lib/libgobject-2.0.so.0
#5  0x0780471f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x07804b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#7  0x071a8298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0708c8c3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0708dac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x06ad241a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x073da622 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x073dd5ff in ?? () from /lib/libglib-2.0.so.0
#13 0x073dd9a9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x0708df44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x006161ed in wxEventLoop::Run (this=0xacea6e0) at ./src/gtk/evtloop.cpp:76
#16 0x006bd69c in wxAppBase::MainLoop (this=0xa89b060)
    at ./src/common/appcmn.cpp:308
#17 0x006bd389 in wxAppBase::OnRun (this=0xa89b060)
    at ./src/common/appcmn.cpp:363
#18 0x00c0c9d0 in wxEntry (argc=@0xd18eac, argv=0xa88a2a8)
    at ./src/common/init.cpp:449
#19 0x00c0ca9b in wxEntry (argc=@0xbf8a7a90, argv=0xbf8a7b14)
    at ./src/common/init.cpp:461
#20 0x0823d775 in main (argc=0, argv=0x60104009) at amule-gui.cpp:95
(gdb)

evtl. sind die beiden BT identisch ... k.a.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on September 03, 2007, 07:40:53 PM
Hallo,

ich wollt mal nachfragen ... sind die Traces an die Entwickler weitergeleitet worden ?

gruß,
                 Marcus ...
Title: Re: Absturzt beim Schließen des Tabs
Post by: wuischke on September 03, 2007, 10:05:15 PM
Nein, aber ich qualifiziere mich auch als Entwickler.

Das Problem ist dem Backtrace nach nicht von aMule verursacht und da ist wenig, was wir machen können. Du könntest allerdings mal probieren den Ordner ~/.aMule (~ ist dein Benutzerverzeichnis, z.B. /home/gorescore/) umzubenennen um das weiter zu testen. (Bitte NICHT löschen!)
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on September 04, 2007, 06:20:22 AM
Btw. ich bin LPIC-1, also das mit dem ~ kenn ich schon :D

Mhh kein Problem von aMule ... ok ... aehhh ich hab dein Posting nicht ganz verstanden ...

sollte ich das Verz, .amule Backuppen ? oder warum soll ichs umbenennen. Ich meine aMule legt sich dann ja ein neues an. Und was sollte ich testen ?

Ich könnte euch bzw. dir nen root ssh Zugang auf die Kiste geben, bzw. ich kann dir die Kiste einrichten mit Fedora 8 drauf. Wenns hilft ... ist meine Distri Testkiste, die wird ehh alle 3 Wochen plattgemacht und was neues draufgezimmert :D

PS: Wenn du VNC über SSH Tunnel oder was anders brauchst ... ist auch kein Prob.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Vollstrecker on September 04, 2007, 06:57:38 AM
Du hast das richtig verstanden. .aMule nach <such dir lutigen Backup Namen> umbenennen und aMule ein neues anlegen lassen. Dadurch kann man schonmal Fehler in den Dateien die in diesem Ordner liegen ausschließen. Wenn das läuft, einfach die Cryptkey.dat wieder zurück kopieren. Die parts würde ich aber mit der Importfunktion rüberholen, hat mir auch schon ein paar mal den Arsch gerettet.
Title: Re: Absturzt beim Schließen des Tabs
Post by: wuischke on September 04, 2007, 09:40:51 AM
Wenn aMule abstürzt, kann man das meist durch eine neue Konfiguration beheben.

Sollte das Problem nun wirklich von irgendwas in der Konfiguration verursacht werden, würde ich dich um ein paar mehr Tests bitten um die Ursache herauszufinden, bzw. dich um die Konfiguration bitten um selbst testen zu können. Also ja, du sollst das Verzeichnis sichern. Wenn nicht, dann bin ich leider mit meinem Latein am Ende, da z.B. Skolnick aMule auf Fedora problemfrei laufen hat.
Title: Re: Absturzt beim Schließen des Tabs
Post by: Gorescore on September 04, 2007, 08:23:01 PM
Hab das Verzeichnis mal umbenannt neu gestartet.
Selber Fehler ... schließe letzten Tab ... aMule schmiert ab.

Ich finde es seltsam das Skolnick problemlos am laufen hat.
Mein Fedora ist eine minimal standart Installation. Mit nahezu nix installiert (n paar tools wie krusader, gkrellm, mc).
Allerdings hab ich keine Updates gezogen. Da mir das zu lange dauert bzw. das Ding ehh hinter ner Firewall sitzt und ehh nur aMule drauf läuft.

Die Probleme hab ich übrigens "nur" mit den cvs Versionen. Die letzte Stable hat das Problem nicht.
Title: Re: Absturzt beim Schließen des Tabs
Post by: allCuExpMa on July 29, 2008, 04:00:08 PM
hatte selbes problem.. eigentlich hab ich es noch, wenn ich "Desktop Effects -> Custom Effekts" (Compiz) laufen hab, dann stuertzt aMule, ab wenn ich den letzten Tab im "Search" schliesse.....
hat mich mal genervt und hab ich im Netz nach ner Loesung gesucht, keine gefunden so far......
hab Desktop Effect eh selten laufen.......
halte aber immer noch min. ein Aug danach auf, Post's wenn ich was gefunden hab.......

T[m]

Kubuntu 8.04_64 KDE 3.5.9 / KDE 4 (ist bei beiden KDE's das selbe)
XFX nForce 630i  7150 GeForce
Intel P4 3.4 Core Dual
Nvidia GeForce 7900 PCI-E