aMule Forum
English => aMule crashes => Topic started by: Schuttwegraeumer on January 25, 2010, 02:49:49 AM
-
I used the amuled not in the last time.
And today, I tried to start it and after the listings of the donwloads in the temp dir i got the message "OnInit - Zeitmesser wird gestartet"
Not more.
The aMuleGUI ist startable but lists only a handfull of the Downloads and crashes.
I tested a lot of older TARs and the R9961 is OK, without this error.
-
The Logfile:
2010-01-25 01:55:58: Initialising aMuleD SVN using wxGTK2 v2.8.10 (Snapshot: rev. 9971)
2010-01-25 01:55:58: Checking if there is an instance already running...
2010-01-25 01:55:58: Deleted stale lock file '/home/schutti/.aMule/muleLock'.
2010-01-25 01:55:58: No other instances are running.
2010-01-25 01:55:59: Credit-Datei geladen, 1451 Clients sind bekannt
2010-01-25 01:55:59: Lade IP-Filter 'ipfilter.dat'·und·'ipfilter_static.dat'.
2010-01-25 01:56:02: 196538 IP-Bereiche von /home/schutti/.aMule/ipfilter.dat geladen. 0 fehlerhafte Zeilen wurden ignoriert.
2010-01-25 01:56:02: 0 IP-Bereiche von /home/schutti/.aMule/ipfilter_static.dat geladen. 0 fehlerhafte Zeilen wurden ignoriert.
2010-01-25 01:56:02: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2010-01-25 01:56:02: Created Server UDP-Socket at port 4109
2010-01-25 01:56:02: ListenSocket: OK
2010-01-25 01:56:02: Created Client UDP-Socket at port 4115
2010-01-25 01:56:02: Lade Datei server.met: /home/schutti/.aMule/server.met
!2010-01-25 01:56:02: 29 Server in server.met gefunden
2010-01-25 01:56:02: Lade temporäre Dateien von /media/crypt2/crypt/Programme/amule/Temp.
2010-01-25 01:56:02: Lade unfertige Datei 1 von 423
-----------------------------------------cut--------------------------------------------------------------
2010-01-25 01:56:04: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/166.part.met zu freigegebenen Dateien hinzu
2010-01-25 01:56:04: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/164.part.met zu freigegebenen Dateien hinzu
2010-01-25 01:56:08: 1156 bekannte Dateien gefunden, 29 unbekannt
!2010-01-25 01:56:10: Verbinden
2010-01-25 01:56:10: Verbinde mit·StormShare 2·(83.140.191.161·-·83.140.191.161:4500)·verwende Protokollverschleierung.
2010-01-25 01:56:10: Lese 200 Kad-Kontakte
2010-01-25 01:56:10: amuled: OnInit - Zeitmesser wird gestartet
2010-01-25 01:56:10: Deine Kopie von aMule ist aktuell.
!2010-01-25 01:56:10: Kad verbunden (firewalled)
2010-01-25 01:56:10: Verbunden mit StormShare 2 (83.140.191.161:4500)
!2010-01-25 01:56:10: Verbindung hergestellt mit StormShare 2
!2010-01-25 01:56:10: Verbunden zu StormShare 2 mit hoher ID
2010-01-25 01:56:10: Neue Benutzer-ID ist 805917277
2010-01-25 01:56:10: Servernachricht: server version 17.15 (lugdunum)
2010-01-25 01:56:10: Servernachricht: Free Sex=====Free Sex=====Free Sex--=====Free Sex=====Free Sex
2010-01-25 01:56:10: Servernachricht: Free Sex Free Sex Free Sex
2010-01-25 01:56:10: Servernachricht: www.StormSex.net/1/free/21 www.StormSex.net/1/free/21 www.StormSex.net/1/free/21
2010-01-25 01:56:10: Servernachricht: Free Sex Free Sex Free Sex
2010-01-25 01:56:10: Servernachricht: www.StormSex.net/1/free/21 www.StormSex.net/1/free/21 www.StormSex.net/1/free/21
2010-01-25 01:56:10: Servernachricht: Free Sex Free Sex Free Sex
2010-01-25 01:56:10: Servernachricht: www.StormSex.net/1/free/21 www.StormSex.net/1/free/21 www.StormSex.net/1/free/21
2010-01-25 01:56:10: Speichern der Serverliste abgeschlossen.
!2010-01-25 01:56:26: Kad verbunden (ok)
-
System is a Ubuntu 9.10 32bit.
-
Did you use amuled and amulegui of the same SVN version? I've been doing some work on EC lately.
-
Yes.
I dont use different SVN Versions at the same time.
Uninstalling the old, installing the new.
I compiled a lot of the older TARs for testing reason.
I found this error in 9969, 9970 and 9971.
Not found in 9961.
Is it helpfull to test the other TARs?
-
From what I see, amuled is running just fine. Only amulegui appears to have a problem.
First try 9972 or newer, it fixes a bug (which shouldn't be that critical, but who knows?).
(Yes, it's not available as I write this. Give GonoszTopi a little time.)
If that doesn't work try to move some of your downloads out of your temp dir and see if that helps.
-
i am building the 9962 to find the last working version and the first broken version.
9961 was OK.
-
First try 9972 or newer, it fixes a bug
-
First try 9972 or newer, it fixes a bug
I have 9962 as a tar.
I dont have 9972.
-
First try 9972 or newer, it fixes a bug
9962 is OK.
I have 9962 as a tar.
I dont have 9972.
-
9963 is OK.
-
Schuttwegräumer: "It's dark here. I'll replace the bad light bulb with a pear."
Stu: "That won't help. Replace it with a new bulb."
Schuttwegräumer: "I don't have a new bulb. So I'll just use the pear."
;)
I guess the bug introduced in 9964 (and fixed in 9972) is causing your problem. Try:
Modified: trunk/src/libs/ec/cpp/ECTag.cpp
===================================================================
--- trunk/src/libs/ec/cpp/ECTag.cpp 2010-01-21 01:36:58 UTC (rev 9971)
+++ trunk/src/libs/ec/cpp/ECTag.cpp 2010-01-24 17:41:57 UTC (rev 9972)
@@ -249,7 +249,8 @@
{
std::ostringstream double_str;
double_str << data;
- const char * double_chr = double_str.str().c_str();
+ std::string double_string = double_str.str();
+ const char * double_chr = double_string.c_str();
m_dataLen = (ec_taglen_t)strlen(double_chr) + 1;
NewData();
memcpy(m_tagData, double_chr, m_dataLen);
-
I tested the 9971 with your patch.
The bug is not gone.
Same Problem.
Please check the patched cpp file.
PS: Starting the amuled WITH the bug shows other output on the shell, the listing stopps at the OnInit line and dont show the normal ending.
-
Patch is fine.
Can you run amule instead of amuled for a change?
What exactly is the problem?
As far as I can see amuled is running fine and it's an EC problem. What exactly happens? Can you generate a backtrace of amulegui when it crashes? Which panel do you have open when amulegui crashes? What happens if yous witch to another one first? Can you connect with amulecmd?
You see, everything is running fine here.
And 423 downloads is pushing things near the edge (always has been).
-
The amuleGUI is starting normal, listing only a handfull of the downloads and is crashing.
The amuled ist starting normal but shows a few different lines on the shell i started it.
The amule ist working fine.
-
What if you connect amulegui to amule instead of amuled?
And I need that backtrace.
-
What if you connect amulegui to amule instead of amuled?
Connecting with amuleGUI to amule dont work.
The amuleGUI crashes with the same errors as the connection to amuled.
-
Ok, i compiled the 9971 TAR with the patch and enabled debug and disabled optimisation.
The amuleGUI don't crash and shows all (most?) of the downloads. (+ a empty line at the lower end but without crash). ::)
Here the different amuled output:
This ist the normal endig of the amuled start output:
2010-01-27 01:42:36: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/171.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:42:36: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/170.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:42:36: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/168.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:42:36: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/166.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:42:36: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/163.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:42:37: amuled: OnInit - Zeitmesser wird gestartet
2010-01-27 01:42:37: HTTP-Download-Thread gestartet.
2010-01-27 01:42:37: Host: amule.sourceforge.net:80
2010-01-27 01:42:37: URL: http://amule.sourceforge.net/lastversion
2010-01-27 01:42:37: Antwort: 200 (Fehler: 0)
2010-01-27 01:42:37: Downloadgröße: 6
2010-01-27 01:42:37: HTTP-Download-Thread beendet.
and here the broken:
2010-01-27 01:38:28: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/171.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:38:28: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/170.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:38:28: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/168.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:38:28: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/166.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:38:28: Füge Datei /media/crypt2/crypt/Programme/amule/Temp/163.part.met zu freigegebenen Dateien hinzu
2010-01-27 01:38:40: amuled: OnInit - Zeitmesser wird gestartet
EDIT: The download List is complete.
-
This is just the "download-only-if-newer" feature and not a bug.
I can't help you without the backtrace I requested. ::)
-
This is just the "download-only-if-newer" feature and not a bug.
Really?
I can't help you without the backtrace I requested. ::)
With enabled debug and disabled optimice the amulegui dont crash.
How to get a backtrace without crash?
-
Enable debug and optimize.
-
Enable debug and optimize.
Ok, but i must build a new version with this settings.
A few minutes please.
-
Ok, done.
Test: No crash of the amulegui.
WTF?
-
The crash might be unrelated to the versions you tested after all...
Keep using it. If it crashes, post the backtrace.
-
And whats the problem with the amuled shell output, the end is cut away.
-
A freeze of the gui:
(gdb) bt
#0 0x00a5b422 in __kernel_vsyscall ()
Cannot access memory at address 0xbfffe5d4
(gdb) bt full
#0 0x00a5b422 in __kernel_vsyscall ()
No symbol table info available.
Cannot access memory at address 0xbfffe5d4
(gdb) thread apply all bt
Cannot find new threads: generic error
Not really helful i think.
The freeze was not the "normal" crash but a non response freeze, I killt them.
-
Is a BT without the debug symbols helpful?
-
Ok, next BT:
(gdb) bt
#0 0x00f36422 in __kernel_vsyscall ()
#1 0x0076f3eb in msync () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x082b2dad in ?? ()
#3 0x0823a002 in ?? ()
#4 0x0823d2d6 in ?? ()
#5 0x080ea9e6 in ?? ()
#6 0x0807a7b5 in ?? ()
#7 0x007c0a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x0085f379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x00860424 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00860523 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#11 0x0085f819 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
#12 0x007c0de9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
#13 0x0806ff8e in ?? ()
#14 0x007fa7aa in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#15 0x007fa987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x0807011b in ?? ()
#17 0x00b16b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#18 0x0806dc91 in ?? ()
(gdb)
and
(gdb) bt full
#0 0x00f36422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0076f3eb in msync () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x082b2dad in ?? ()
No symbol table info available.
#3 0x0823a002 in ?? ()
No symbol table info available.
#4 0x0823d2d6 in ?? ()
No symbol table info available.
#5 0x080ea9e6 in ?? ()
No symbol table info available.
#6 0x0807a7b5 in ?? ()
No symbol table info available.
#7 0x007c0a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8 0x0085f379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9 0x00860424 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00860523 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x0085f819 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x007c0de9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0x0806ff8e in ?? ()
No symbol table info available.
#14 0x007fa7aa in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0x007fa987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x0807011b in ?? ()
No symbol table info available.
#17 0x00b16b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#18 0x0806dc91 in ?? ()
No symbol table info available.
(gdb)
and
(gdb) thread apply all bt
Thread 5 (Thread 0xb6eb4b70 (LWP 22323)):
#0 0x00f36422 in __kernel_vsyscall ()
#1 0x0076c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0085c854 in wxConditionInternal::WaitTimeout(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#3 0x0085c8af in wxCondition::WaitTimeout(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#4 0x0085daa4 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#5 0x0085db2f in wxSemaphore::WaitTimeout(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#6 0x08074642 in ?? ()
#7 0x0085ea98 in wxThreadInternal::PthreadStart(wxThread*) ()
from /usr/lib/libwx_baseu-2.8.so.0
#8 0x0085eafd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x0076780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x00bcc8de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 4 (Thread 0xb7eb6b70 (LWP 22322)):
#0 0x00b75056 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1 0x0093c000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#2 0x08294015 in ?? ()
#3 0x0821d315 in ?? ()
#4 0x0821d67c in ?? ()
#5 0x0819f357 in ?? ()
#6 0x0819fbf9 in ?? ()
#7 0x082ca839 in ?? ()
#8 0x0085ea98 in wxThreadInternal::PthreadStart(wxThread*) ()
from /usr/lib/libwx_baseu-2.8.so.0
#9 0x0085eafd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x0076780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00bcc8de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0xb76b5b70 (LWP 22321)):
#0 0x00f36422 in __kernel_vsyscall ()
#1 0x0076f466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x008643b8 in wxMicroSleep(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#3 0x008643e1 in wxMilliSleep(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#4 0x0085c69d in wxThread::Sleep(unsigned long) ()
from /usr/lib/libwx_baseu-2.8.so.0
#5 0x081a3e78 in ?? ()
#6 0x0085ea98 in wxThreadInternal::PthreadStart(wxThread*) ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libwx_baseu-2.8.so.0
#7 0x0085eafd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x0076780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0x00bcc8de in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb7fe38e0 (LWP 22313)):
#0 0x00f36422 in __kernel_vsyscall ()
#1 0x0076f3eb in msync () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x082b2dad in ?? ()
#3 0x0823a002 in ?? ()
#4 0x0823d2d6 in ?? ()
#5 0x080ea9e6 in ?? ()
#6 0x0807a7b5 in ?? ()
#7 0x007c0a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x0085f379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x00860424 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00860523 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#11 0x0085f819 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#12 0x007c0de9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
#13 0x0806ff8e in ?? ()
#14 0x007fa7aa in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#15 0x007fa987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x0807011b in ?? ()
#17 0x00b16b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#18 0x0806dc91 in ?? ()
(gdb)
-
Is a BT without the debug symbols helpful?
No. How come? Didn't you build with debug and optimize as i told you to?
And whats the problem with the amuled shell output, the end is cut away.
There is no problem. HTTP download doesn't happen, because it is not needed.
-
Is a BT without the debug symbols helpful?
No. How come? Didn't you build with debug and optimize as i told you to?
Yes, but this build don't crash like the normal builds.
And whats the problem with the amuled shell output, the end is cut away.
There is no problem. HTTP download doesn't happen, because it is not needed.
Is this officially changed?
-
The normal build GUI crashes after listing a few downloads.
With gdb the amulegui only freezes, dont crash.
-
Here is my normal (no debug symbols and with optimisation) build for i386.
(I dont have a x64 Linux here at the moment)
http://rapidshare.com/files/342132085/amule-svn_r9971-6_i386.deb.html
MD5: 70FE835B840AAD8B892E93F1BCF53915
I use
./configure --disable-debug --enable-optimize --disable-ccache --disable-upnp --disable-xas --enable-alc --enable-alcc --disable-xas --enable-amulecmd --enable-webserver --enable-amule-daemon --enable-amule-gui --enable-mmap --enable-fileview
-
With a regular crash this ist the last i can see before the crash.
-
If I trigger a crash the "target" (amuled or amule) freezes.
Its not only the amulegui that make problems.
-
Compile with debug and turn on EC logging (see here (http://forum.amule.org/index.php?topic=17593.msg95740#msg95740)). Both in amule.conf and in remote.conf. Let it crash, then mail the two logfiles to me. Don't post them, they reveal all your downloads of course.
-
Ok, moment.
Can you reproduce the error?
-
The new build is not ready.
MEanwhile here a remotelog:
2010-01-28 17:42:15 (remote-GUI): Initialising aMuleGUI SVN using wxGTK2 v2.8.10 (Snapshot: rev. 9977)
2010-01-28 17:42:15 (remote-GUI): Checking if there is an instance already running...
2010-01-28 17:42:15 (remote-GUI): No other instances are running.
2010-01-28 17:42:19 (remote-GUI): Verbinde...
2010-01-28 17:42:19 (remote-GUI): Gehe in Ereignisschleife...
2010-01-28 17:42:20 (remote-GUI): EC-Ereignissteuerung für entfernte Benutzeroberfläche
!2010-01-28 17:42:20 (remote-GUI): Gelungen! Verbindung aufgebaut zu aMule SVN
2010-01-28 17:42:20 (remote-GUI): - Dies ist aMule SVN using wxGTK2 v2.8.10 (Snapshot: rev. 9977), basierend auf eMule.
2010-01-28 17:42:21 (remote-GUI): Läuft auf Linux 2.6.31-18-generic i686
2010-01-28 17:42:21 (remote-GUI): - Besuche http://www.amule.org um zu sehen, ob eine neue Version verfügbar ist.
2010-01-28 17:42:22 (remote-GUI): Bereit
and the normal logfile:
2010-01-28 17:42:19: Neue externe Verbindung akzeptiert
2010-01-28 17:42:20: Verbinde mit Client: amule-remote 0x0001
2010-01-28 17:42:20: Zugang gewährt.
!2010-01-28 17:42:32: Kad verbunden (ok)
2010-01-28 17:42:40: Externe Verbindung getrennt.
2010-01-28 17:44:42: 200 Kad-Kontakte geschrieben.
2010-01-28 17:44:42: 1 Einstiegsquelle für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/104.part.met (...) gespeichert.
2010-01-28 17:44:42: 1 Einstiegsquelle für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/424.part.met (...) gespeichert.
2010-01-28 17:44:42: 2 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/181.part.met (...) gespeichert.
2010-01-28 17:44:42: 1 Einstiegsquelle für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/125.part.met (...) gespeichert.
2010-01-28 17:44:42: 2 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/188.part.met (...) gespeichert.
2010-01-28 17:44:43: 3 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/337.part.met (...) gespeichert.
2010-01-28 17:44:43: 2 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/106.part.met (...) gespeichert.
2010-01-28 17:44:43: 2 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/057.part.met (...) gespeichert.
2010-01-28 17:44:43: 6 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/118.part.met (...) gespeichert.
2010-01-28 17:44:43: 3 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/035.part.met (...) gespeichert.
2010-01-28 17:44:43: 4 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/023.part.met (...) gespeichert.
2010-01-28 17:44:43: 7 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/014.part.met (...) gespeichert.
2010-01-28 17:44:43: 10 Einstiegsquellen für Part-Datei /media/crypt2/crypt/Programme/amule/Temp/015.part.met (...) gespeichert.
!2010-01-28 17:44:45: eD2k getrennt
!2010-01-28 17:44:45: Kad getrennt
You can see the connect from the gui and a few lines from shutdown but no more.
The Builds with enable-debug dont crash like the normal builds.
Edit: removed file names
-
Schuttwegräumer, this is getting tiresome if you don't follow my instructions.
Can you reproduce the error?
No. (And I didn't try to download your binary. Linux binaries are not very interchangeable.)
I don't think it's related to your binary anyway, rather to your environment (your downloads).
MEanwhile here a remotelog:
I need the EC logging part, so you must compile with debug.
If it freezes instead of crashing, just wait a while, then kill it, then get me those logs (after checking there really is EC log info in them).
-
OK, I have 2 big logfiles here now.
But thee are all of my uploads and downloads with ed2k link and Filename in it viewable.
Which part of the logfile do you need?
-
All of it. That's why I told you to mail it to me. Trust me. :)
-
All of it. That's why I told you to mail it to me. Trust me. :)
done.
PS: 9978 with the same Error like 9971
-
Hmm. Logfiles show everything fine until the last two packets:
.2010-01-28 19:06:37: < EC_OP_GET_DLOAD_QUEUE 8
.2010-01-28 19:06:37: EC_TAG_DETAIL_LEVEL 1 = EC_DETAIL_INC_UPDATE
.2010-01-28 19:06:37: > EC_OP_DLOAD_QUEUE 26143
.2010-01-28 19:06:37: EC_TAG_PARTFILE 16 = F7B3...
.2010-01-28 19:06:37: EC_TAG_PARTFILE_DOWNLOAD_ACTIVE 4 = 618292
.2010-01-28 19:06:37: EC_TAG_PARTFILE_PART_STATUS 1 = EC_TAGTYPE_CUSTOM
.2010-01-28 19:06:37: EC_TAG_PARTFILE_GAP_STATUS 7 = EC_TAGTYPE_CUSTOM
.2010-01-28 19:06:37: EC_TAG_PARTFILE_REQ_STATUS 0 = EC_TAGTYPE_CUSTOM
snip
.2010-01-28 19:06:38: EC_TAG_PARTFILE_PART_STATUS 3 = EC_TAGTYPE_CUSTOM
.2010-01-28 19:06:38: EC_TAG_PARTFILE_GAP_STATUS 7 = EC_TAGTYPE_CUSTOM
.2010-01-28 19:06:38: EC_TAG_PARTFILE_REQ_STATUS 0 = EC_TAGTYPE_CUSTOM
.2010-01-28 19:06:38: < EC_OP_GET_ULOAD_QUEUE 8
.2010-01-28 19:06:38: EC_TAG_DETAIL_LEVEL 1 = EC_DETAIL_INC_UPDATE
.2010-01-28 19:06:38: > EC_OP_ULOAD_QUEUE 372
.2010-01-28 19:06:38: EC_TAG_CLIENT 4 = 1434419622
.2010-01-28 19:06:38: EC_TAG_CLIENT_UP_SPEED 2 = 4748
.2010-01-28 19:06:38: EC_TAG_CLIENT_UPLOAD_SESSION 4 = 303598
.2010-01-28 19:06:38: EC_TAG_CLIENT_UPLOAD_TOTAL 4 = 15530521
snip
.2010-01-28 19:06:38: EC_TAG_CLIENT_QUEUE_TIME 2 = 57035
.2010-01-28 19:06:38: EC_TAG_CLIENT_LAST_TIME 2 = 57034
2010-01-28 19:06:38: ExternalConn.cpp(150): Externe Verbindung getrennt.
2010-01-28 19:06:44: RoutingZone.cpp(330): 189 Kad-Kontakte geschrieben.
.2010-01-28 19:06:37 (remote-GUI): > EC_OP_GET_DLOAD_QUEUE 8
.2010-01-28 19:06:37 (remote-GUI): EC_TAG_DETAIL_LEVEL 1 = EC_DETAIL_INC_UPDATE
.2010-01-28 19:06:37 (remote-GUI): > EC_OP_GET_ULOAD_QUEUE 8
.2010-01-28 19:06:37 (remote-GUI): EC_TAG_DETAIL_LEVEL 1 = EC_DETAIL_INC_UPDATE
2010-01-28 19:06:40 (remote-GUI): amuleDlg.cpp(540): aMule Dialog zerstört.
So the core is sending correct responses, but they are not recognized by the gui.
There have been several incremental updates like this that seem to have worked fine.
Please run the gui from a console and post the output. EC lib prints errors to stdout.
-
schutti@hell5:~$ amulegui
2010-01-29 13:23:36 (remote-GUI): Initialising aMuleGUI SVN using wxGTK2 v2.8.10 (Snapshot: rev. 9979)
2010-01-29 13:23:36 (remote-GUI): Checking if there is an instance already running...
2010-01-29 13:23:36 (remote-GUI): No other instances are running.
2010-01-29 13:23:39 (remote-GUI): Verbinde...
2010-01-29 13:23:39 (remote-GUI): Gehe in Ereignisschleife...
2010-01-29 13:23:40 (remote-GUI): EC-Ereignissteuerung für entfernte Benutzeroberfläche
*** glibc detected *** amulegui: corrupted double-linked list: 0x09dcfbc0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x554ff1]
/lib/tls/i686/cmov/libc.so.6[0x55839f]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x58)[0x559898]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0x94dbb7]
/usr/lib/libstdc++.so.6(_Znaj+0x1d)[0x94dced]
amulegui[0x81a5808]
amulegui[0x81a58bc]
amulegui[0x806b114]
amulegui[0x807dcca]
amulegui[0x807f23c]
amulegui[0x81bddb7]
amulegui[0x81bc9bc]
/usr/lib/libwx_baseu-2.8.so.0(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x3f)[0x26ba9f]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x89)[0x30a379]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x84)[0x30b424]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xd3)[0x30b523]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x89)[0x30a819]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxAppConsole20ProcessPendingEventsEv+0x59)[0x26bde9]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase11ProcessIdleEv+0x1f)[0xcdcfbf]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0xc30423]
/lib/libglib-2.0.so.0[0x3beb101]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f8)[0x3bece88]
/lib/libglib-2.0.so.0[0x3bf0730]
/lib/libglib-2.0.so.0(g_main_loop_run+0x1bf)[0x3bf0b9f]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0x139c419]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN11wxEventLoop3RunEv+0x48)[0xc49c78]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase8MainLoopEv+0x4e)[0xcdce3e]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase5OnRunEv+0x21)[0xcdca31]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x6a)[0x2a57aa]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPc+0x37)[0x2a5987]
amulegui[0x8069e1b]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x500b56]
amulegui[0x8068a71]
======= Memory map: ========
00110000-0012b000 r-xp 00000000 08:04 71445 /usr/lib/libatk-1.0.so.0.2809.1
0012b000-0012c000 r--p 0001b000 08:04 71445 /usr/lib/libatk-1.0.so.0.2809.1
0012c000-0012d000 rw-p 0001c000 08:04 71445 /usr/lib/libatk-1.0.so.0.2809.1
0012d000-00154000 r-xp 00000000 08:04 75331 /usr/lib/libpangoft2-1.0.so.0.2600.0
00154000-00155000 r--p 00027000 08:04 75331 /usr/lib/libpangoft2-1.0.so.0.2600.0
00155000-00156000 rw-p 00028000 08:04 75331 /usr/lib/libpangoft2-1.0.so.0.2600.0
00156000-0015a000 r-xp 00000000 08:04 39106 /usr/lib/libgthread-2.0.so.0.2200.3
0015a000-0015b000 r--p 00003000 08:04 39106 /usr/lib/libgthread-2.0.so.0.2200.3
0015b000-0015c000 rw-p 00004000 08:04 39106 /usr/lib/libgthread-2.0.so.0.2200.3
0015c000-00163000 r-xp 00000000 08:04 9174 /lib/tls/i686/cmov/librt-2.10.1.so
00163000-00164000 r--p 00006000 08:04 9174 /lib/tls/i686/cmov/librt-2.10.1.so
00164000-00165000 rw-p 00007000 08:04 9174 /lib/tls/i686/cmov/librt-2.10.1.so
00165000-00167000 r-xp 00000000 08:04 9539 /usr/lib/libXinerama.so.1.0.0
00167000-00168000 rw-p 00001000 08:04 9539 /usr/lib/libXinerama.so.1.0.0
00168000-00184000 r-xp 00000000 08:04 4747 /lib/libgcc_s.so.1
00184000-00185000 r--p 0001b000 08:04 4747 /lib/libgcc_s.so.1
00185000-00186000 rw-p 0001c000 08:04 4747 /lib/libgcc_s.so.1
00186000-0019e000 r-xp 00000000 08:04 4384 /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
0019e000-0019f000 r--p 00017000 08:04 4384 /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
0019f000-001a0000 rw-p 00018000 08:04 4384 /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
001a0000-001a7000 r-xp 00000000 08:04 6801 /usr/lib/libSM.so.6.0.0
001a7000-001a8000 r--p 00006000 08:04 6801 /usr/lib/libSM.so.6.0.0
001a8000-001a9000 rw-p 00007000 08:04 6801 /usr/lib/libSM.so.6.0.0
001a9000-001ab000 r-xp 00000000 08:04 9144 /lib/tls/i686/cmov/libdl-2.10.1.so
001ab000-001ac000 r--p 00001000 08:04 9144 /lib/tls/i686/cmov/libdl-2.10.1.so
001ac000-001ad000 rw-p 00002000 08:04 9144 /lib/tls/i686/cmov/libdl-2.10.1.so
001ad000-001b8000 r-xp 00000000 08:04 75330 /usr/lib/libpangocairo-1.0.so.0.2600.0
001b8000-001b9000 r--p 0000a000 08:04 75330 /usr/lib/libpangocairo-1.0.so.0.2600.0
001b9000-001ba000 rw-p 0000b000 08:04 75330 /usr/lib/libpangocairo-1.0.so.0.2600.0
001ba000-001bc000 r-xp 00000000 08:04 9525 /usr/lib/libXdamage.so.1.1.0
001bc000-001bd000 rw-p 00001000 08:04 9525 /usr/lib/libXdamage.so.1.1.0
001bd000-001d8000 r-xp 00000000 08:04 20747 /lib/ld-2.10.1.so
001d8000-001d9000 r--p 0001a000 08:04 20747 /lib/ld-2.10.1.so
001d9000-001da000 rw-p 0001b000 08:04 20747 /lib/ld-2.10.1.so
001da000-001dc000 r-xp 00000000 08:04 53719 /usr/lib/libXcomposite.so.1.0.0
001dc000-001dd000 r--p 00001000 08:04 53719 /usr/lib/libXcomposite.so.1.0.0
001dd000-001de000 rw-p 00002000 08:04 53719 /usr/lib/libXcomposite.so.1.0.0
001de000-001e2000 r-xp 00000000 08:04 53061 /usr/lib/libXfixes.so.3.1.0
001e2000-001e3000 r--p 00003000 08:04 53061 /usr/lib/libXfixes.so.3.1.0
001e3000-001e4000 rw-p 00004000 08:04 53061 /usr/lib/libXfixes.so.3.1.0
001e4000-001f2000 r-xp 00000000 08:04 31434 /usr/lib/libXext.so.6.4.0
001f2000-001f3000 r--p 0000d000 08:04 31434 /usr/lib/libXext.so.6.4.0
001f3000-001f4000 rw-p 0000e000 08:04 31434 /usr/lib/libXext.so.6.4.0
001f4000-001f7000 r-xp 00000000 08:04 16537 /lib/libuuid.so.1.3.0
001f7000-001f8000 r--p 00002000 08:04 16537 /lib/libuuid.so.1.3.0
001f8000-001f9000 rw-p 00003000 08:04 16537 /lib/libuuid.so.1.3.0
001fa000-00224000 r-xp 00000000 08:04 80185 /usr/lib/libwx_baseu_net-2.8.so.0.6.0
00224000-00225000 r--p 0002a000 08:04 80185 /usr/lib/libwx_baseu_net-2.8.so.0.6.0
00225000-00226000 rw-p 0002b000 08:04 80185 /usr/lib/libwx_baseu_net-2.8.so.0.6.0
00226000-00365000 r-xp 00000000 08:04 80181 /usr/lib/libwx_baseu-2.8.so.0.6.0
00365000-00369000 r--p 0013f000 08:04 80181 /usr/lib/libwx_baseu-2.8.so.0.6.0
00369000-0036b000 rw-p 00143000 08:04 80181 /usr/lib/libwx_baseu-2.8.so.0.6.0
0036b000-00373000 rw-p 00000000 00:00 0
00373000-0043c000 r-xp 00000000 08:04 41984 /usr/lib/libbfd-2.20.so
0043c000-00445000 r--p 000c8000 08:04 41984 /usr/lib/libbfd-2.20.so
00445000-00447000 rw-p 000d1000 08:04 41984 /usr/lib/libbfd-2.20.so
00447000-0044b000 rw-p 00000000 00:00 0
0044b000-004dd000 r-xp 00000000 08:04 4383 /usr/lib/libgdk-x11-2.0.so.0.1800.3
004dd000-004df000 r--p 00092000 08:04 4383 /usr/lib/libgdk-x11-2.0.so.0.1800.3
004df000-004e0000 rw-p 00094000 08:04 4383 /usr/lib/libgdk-x11-2.0.so.0.1800.3
004e0000-004e7000 r-xp 00000000 08:04 60272 /usr/lib/libXrandr.so.2.2.0
004e7000-004e8000 r--p 00006000 08:04 60272 /usr/lib/libXrandr.so.2.2.0
004e8000-004e9000 rw-p 00007000 08:04 60272 /usr/lib/libXrandr.so.2.2.0
004e9000-004ea000 r-xp 00000000 00:00 0 [vdso]
004ea000-00628000 r-xp 00000000 08:04 9141 /lib/tls/i686/cmov/libc-2.10.1.so
00628000-00629000 ---p 0013e000 08:04 9141 /lib/tls/i686/cmov/libc-2.10.1.so
00629000-0062b000 r--p 0013e000 08:04 9141 /lib/tls/i686/cmov/libc-2.10.1.so
0062b000-0062c000 rw-p 00140000 08:04 9141 /lib/tls/i686/cmov/libc-2.10.1.so
0062c000-0062f000 rw-p 00000000 00:00 0
0062f000-00675000 r-xp 00000000 08:04 75329 /usr/lib/libpango-1.0.so.0.2600.0
00675000-00676000 r--p 00045000 08:04 75329 /usr/lib/libpango-1.0.so.0.2600.0
00676000-00677000 rw-p 00046000 08:04 75329 /usr/lib/libpango-1.0.so.0.2600.0
00677000-0069d000 r-xp 00000000 08:04 42433 /usr/lib/libpng12.so.0.37.0
0069d000-0069e000 r--p 00025000 08:04 42433 /usr/lib/libpng12.so.0.37.0
0069e000-0069f000 rw-p 00026000 08:04 42433 /usr/lib/libpng12.so.0.37.0
006a1000-006b6000 r-xp 00000000 08:04 9172 /lib/tls/i686/cmov/libpthread-2.10.1.so
006b6000-006b7000 r--p 00014000 08:04 9172 /lib/tls/i686/cmov/libpthread-2.10.1.so
006b7000-006b8000 rw-p 00015000 08:04 9172 /lib/tls/i686/cmov/libpthread-2.10.1.so
006b8000-006ba000 rw-p 00000000 00:00 0
006ba000-0074d000 r-xp 00000000 08:04 39107 /usr/lib/libgio-2.0.so.0.2200.3
0074d000-0074e000 r--p 00092000 08:04 39107 /usr/lib/libgio-2.0.so.0.2200.3Aborted
schutti@hell5:~$
PS: Its 9979 from Vollstrecker and without enable-debug and it crashed "normal"
-
Please compile it with debug and run amulegui from GDB. You say it just hangs then? Well, break it in GDB and print the backtrace. Repeat a few times so we can see where it hangs.
-
Please compile it with debug and run amulegui from GDB. You say it just hangs then? Well, break it in GDB and print the backtrace. Repeat a few times so we can see where it hangs.
I started the amuled in a shell and the amulegui in a shell, both with gdb but after the freeze and shutdown/freeze/crash of the amuled i never got a useful bt in the gdb from the amulegui but only from the amuled.
PS: 9980 with enable-debug is compiling at the moment.
-
You do have enabled optimize with your debug build?
-
You do have enabled optimize with your debug build?
the nex one: YES.
The builds with disabled optimize have not shown the error.
The builds with optimize and debug code freeze and the normal builds crashed.
-
Are you saying amulegui works without optimize? With 400 downloads?
OK. So with optimize and debug it freezes, right? Disable verbose debug messages then for a change and see if it crashes then instead of freezing.
-
Are you saying amulegui works without optimize? With 400 downloads?
Yes.
The download count should not be the problem.
But maybe one Download that causes the crash.
I removed most of the Downloads from the temp Dir and it works fine.
Maybe there is one download that cause the crash.
I neen time to finde this download.
OK. So with optimize and debug it freezes, right? Disable verbose debug messages then for a change and see if it crashes then instead of freezing.
Ok, in both config files, amule and remote?
-
Both (though remote is the important one I'd say).
Oh, and I'd like you to try the attached patch (files belong in src/libs/ec/cpp).
-
Both (though remote is the important one I'd say).
Oh, and I'd like you to try the attached patch (files belong in src/libs/ec/cpp).
9981 with your pached Files works well, no crash at the moment with amuled/amulegui.
In which Release is this patch included?
I will test this during the night.
PS: I tested if I can find a file that causes the crash, no success at the moment.
If I had more downloads that are viewable in the windows the gui crashed, i testet it with complet different downloads in the temp dir. Was the error in the code for the window or the scrollbar of the amulegui?
I testet the amule(gui)d) with no shares and other diferent configs, no success.
The 9981 with your patch dont show any error or crash or freeze.
PPS: I trashed the known* files, amuled is hashing at the moment.
-
I plan to commit the patch as soon as you tell me it improves things
(or at least doesn't make them worse).
It's actually just a further cleanup. I have no idea how it could fix anything for you. Well, maybe something dangled that I threw now out too. Anyway, please restore the condition that successfully crashed/froze/whatever before and see if that's fixed now.
-
Ok, 9983 with your files from the attachement works well, no problem found.
Without your 5 files the normals gui crash.
I will compile now 9985 and test it with and without your files.
-
Great. :)
9985 won't get new insight, there are no changes relevant for you in there.
Change was committed in 9986. More EC changes are on the way. I'm reducing EC traffic with many downloads, like in your case. Make sure to always use same core & client while EC changes are ongoing.
-
PS: Its 9979 from Vollstrecker and without enable-debug and it crashed "normal"
Not true. I always build with debug. You just have to install the -dbg packages to get the symbols.
-
Great. :)
9985 won't get new insight, there are no changes relevant for you in there.
Change was committed in 9986. More EC changes are on the way. I'm reducing EC traffic with many downloads, like in your case. Make sure to always use same core & client while EC changes are ongoing.
I tried to find the download that causes the crash and removed a lot of the downloads from the temp directory and find out the amulegui crashed with 15-30 downloads too.
-
PS: Its 9979 from Vollstrecker and without enable-debug and it crashed "normal"
Not true. I always build with debug. You just have to install the -dbg packages to get the symbols.
I mean the tar.gz from your page.
http://vollstreckernet.dyndns.org/tb/tarballs/
-
ok, so it's not 9979 from me, it's just 9979. The tarballs are just clean svn checkout with .svn-dirs removed and autogen.sh run.
-
I tried to find the download that causes the crash and removed a lot of the downloads from the temp directory and find out the amulegui crashed with 15-30 downloads too.
With the 9986 patch or without ?
-
I tried to find the download that causes the crash and removed a lot of the downloads from the temp directory and find out the amulegui crashed with 15-30 downloads too.
With the 9986 patch or without ?
This test was without the patch.
My idea was that a single download causes the crash.
Because of broken files in the temp dir or illegal characters in the filenam or other problems.
But without success.
The 9987 is working well complete without patch at the moment.
-
9987 has the patch. I committed it with 9986.