aMule Forum
English => en_Bugs => Topic started by: ZoTyA on May 06, 2004, 09:50:32 PM
-
Hello!
I compiled amule with packages that I downloaded from this site (wxGTK, wxBase, crypto).
I compiled amule with these option:
./configure --enable-safetray --disable-debug --enable-optimise
But I get this error:
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
- amule(_ZN9CamuleApp16OnFatalExceptionEv+0xcc) [0x81d54dc]
[1] /usr/lib/libwx_gtk-2.4.so(wxFatalSignalHandler+0x2b)
[0x403b987b]
[2] /lib/tls/libpthread.so.0 [0x40f8a218]
[3] amule(_ZN13CUpDownClient17CalculateKBpsDownEv+0x18e) [0x80db4be]
[4] amule(_ZN9CPartFile7ProcessEjh+0x435) [0x81719a5]
[5] amule(_ZN14CDownloadQueue7ProcessEv+0x15e) [0x80eb7de]
[6] amule(_Z9TimerProcv+0x72) [0x81cfe42]
[7] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xc0) [0x402cb4b0]
[8] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x81) [0x402cb2d1]
[9] /usr/lib/libwx_gtk-2.4.so(_ZN11wxTimerBase6NotifyEv+0x73) [0x40372433]
[10] /usr/lib/libwx_gtk-2.4.so(timeout_callback+0x28) [0x40281738]
[11] /usr/lib/libglib-1.2.so.0 [0x4067ba22]
Aborted
My system is Mandrake cooker.
What's the problem?
Thanks a lot
ZoTyA
ps: sorry, if it is a known bug
-
ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
-
ls -l /usr/bin/wx*
-rwxr-xr-x 1 root root 4864 máj 6 19:24 /usr/bin/wxbase-2.4-config*
lrwxrwxrwx 1 root root 26 máj 6 19:24 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config*
lrwxrwxrwx 1 root root 25 máj 6 19:24 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x 1 root root 5046 máj 6 19:16 /usr/bin/wxgtk-2.4-config*
ls -l /usr/local/bin/wx*
-rwxr-xr-x 1 root root 197353 máj 6 21:45 /usr/local/bin/wxcas*
-
looks good, but your bt doesn't help much.. plz take a look at the first thread in backtraces forum
greets
-
(gdb) bt
#0 0x080d829c in CEMSocket::IsConnected() (this=0x1000000) at EMSocket.h:51
#1 0x080d79b7 in CEMSocket::SendPacket(Packet*, bool, bool) (this=0x1000000,
packet=0x8cf9438, delpacket=true, controlpacket=true) at EMSocket.cpp:332
#2 0x0810aae3 in CUpDownClient::CalculateKBpsDown() (this=0x8ba6188)
at DownloadClient.cpp:1042
#3 0x081b85c1 in CPartFile::Process(unsigned, unsigned char) (this=0x8a2ba50,
reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1721
#4 0x0811ac94 in CDownloadQueue::Process() (this=0x85cb300)
at DownloadQueue.cpp:376
#5 0x0821bc62 in TimerProc() () at UploadQueue.cpp:704
#6 0x08224973 in CamuleDlg::OnUQTimer(wxTimerEvent&) (this=0x855acd0)
at amuleDlg.cpp:344
#7 0x402cb4b0 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
from /usr/lib/libwx_gtk-2.4.so
#8 0x402cb2d1 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_gtk-2.4.so
#9 0x40372433 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so
#10 0x40281738 in timeout_callback () from /usr/lib/libwx_gtk-2.4.so
#11 0x4067ba22 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#12 0x089861b0 in ?? ()
#13 0x4068e2e8 in ?? () from /usr/lib/libglib-1.2.so.0
(gdb) bt full
#0 0x080d829c in CEMSocket::IsConnected() (this=0x1000000) at EMSocket.h:51
No locals.
#1 0x080d79b7 in CEMSocket::SendPacket(Packet*, bool, bool) (this=0x1000000,
packet=0x8cf9438, delpacket=true, controlpacket=true) at EMSocket.cpp:332
bCheckControlQueue = 8
#2 0x0810aae3 in CUpDownClient::CalculateKBpsDown() (this=0x8ba6188)
at DownloadClient.cpp:1042
packet = (Packet *) 0x8cf9438
tcLoop = 0.100000001
tcInit = 0.400000006
tcFinal = 50
tcReduce = 5
fInit = 0.25
fFinal = 0.00200000009
fReduce = 0.907940686
msCur = 1544997893
#3 0x081b85c1 in CPartFile::Process(unsigned, unsigned char) (this=0x8a2ba50,
reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1721
kBpsClient = 4.39257811e-34
download_state = 0 '\0'
sl = 86
pos1 = 0x0
pos2 = 0x8bf8430
-
tell me plz when it crash (aftre X mins, hours.. ) and is it only running or do you"play" with amule a bit
-
About after the first 5 minutes. I didn't play amule, I see the prg when it will crash.
-
And here's a new bt. Maybe my system is broken?
(gdb) bt
#0 0x41004a36 in mallopt () from /lib/tls/libc.so.6
#1 0x410024bf in malloc () from /lib/tls/libc.so.6
#2 0x4067bc9c in g_malloc () from /usr/lib/libglib-1.2.so.0
(gdb) bt full
#0 0x41004a36 in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x410024bf in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x4067bc9c in g_malloc () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
-
can u try 1.2.6 and see if it crash too ?
-
1.2.6 seems OK after half an hour working.
-
Originally posted by ZoTyA
And here's a new bt. Maybe my system is broken?
(gdb) bt
#0 0x41004a36 in mallopt () from /lib/tls/libc.so.6
#1 0x410024bf in malloc () from /lib/tls/libc.so.6
#2 0x4067bc9c in g_malloc () from /usr/lib/libglib-1.2.so.0
(gdb) bt full
#0 0x41004a36 in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x410024bf in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x4067bc9c in g_malloc () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
malloc errors make 50% of he crashes on my system ;) (SuSE 9.0)
and there are many SEGfaults, so I guess there is a problem with amule
-
RSB
-
rsb -> random socket bug
-
1.2.6 is working without problem today.
-
i had the same problem(s) as you with amule on SuSE 9.0
http://www.amule.org/amule/thread.php?threadid=1603&sid=
i couldnt use any of the 2.0rcs with SuSE til i upgraded to 9.1, now it works without any (major) problems (except 1 crash every 2 days vs. 1 crash every 2 hours on 9.0)
-
1.2.6 is working fine. Use the older version (never crashed for me)