aMule Forum

English => en_Bugs => Topic started by: ZoTyA on May 06, 2004, 09:50:32 PM

Title: another bug?
Post 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: ==--

[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
Title: Re: another bug?
Post by: deltaHF on May 06, 2004, 09:52:09 PM
ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
Title: Re: another bug?
Post by: ZoTyA on May 06, 2004, 09:56:17 PM
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*
Title: Re: another bug?
Post by: deltaHF on May 06, 2004, 09:59:53 PM
looks good, but your bt doesn't help much.. plz take a look at the first thread in backtraces forum

greets
Title: Re: another bug?
Post by: ZoTyA on May 06, 2004, 10:58:19 PM
(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
Title: Re: another bug?
Post by: deltaHF on May 06, 2004, 11:04:08 PM
tell me plz when it crash (aftre X mins, hours.. ) and is it only running or do you"play" with amule a bit
Title: Re: another bug?
Post by: ZoTyA on May 06, 2004, 11:08:08 PM
About after the first 5 minutes. I didn't play amule, I see the prg when it will crash.
Title: Re: another bug?
Post by: ZoTyA on May 06, 2004, 11:14:06 PM
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.
Title: Re: another bug?
Post by: deltaHF on May 06, 2004, 11:28:01 PM
can u try 1.2.6 and see if it crash too ?
Title: Re: another bug?
Post by: ZoTyA on May 07, 2004, 07:21:15 AM
1.2.6 seems OK after half an hour working.
Title: Re: another bug?
Post by: greaman on May 07, 2004, 01:38:59 PM
Quote
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
Title: Re: another bug?
Post by: Kry on May 07, 2004, 02:38:27 PM
RSB
Title: Re: another bug?
Post by: deltaHF on May 07, 2004, 03:35:04 PM
rsb -> random socket bug
Title: Re: another bug?
Post by: ZoTyA on May 07, 2004, 05:51:57 PM
1.2.6 is working without problem today.
Title: Re: another bug?
Post by: diesel on May 11, 2004, 06:55:22 PM
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)
Title: Re: another bug?
Post by: ZoTyA on May 14, 2004, 08:00:45 PM
1.2.6 is working fine. Use the older version (never crashed for me)