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: amuled crashes after some time  (Read 8063 times)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled crashes after some time
« Reply #15 on: January 19, 2005, 11:51:06 AM »

sounds like it works betten with udp disabled? nice...
yesterday I manages 6h but then gdb crashed  8o

keep is informed please what you get for best uptime ;) I am curious :)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: amuled crashes after some time
« Reply #16 on: January 19, 2005, 01:10:16 PM »

Quote
#8  0x08060069 in CUpDownClient::SetSocket (this=0x0, socket=0x0)
    at updownclient.h:434
#9  0x0805384e in CClientReqSocket::Disconnect (this=0x8b0b588, strReason=@0x0)
    at ListenSocket.cpp:177

That's nice - I will check offending code !
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: amuled crashes after some time
« Reply #17 on: January 19, 2005, 02:30:09 PM »

Fixed now in rc8 and HEAD.
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: amuled crashes after some time
« Reply #18 on: January 21, 2005, 11:42:37 AM »

It's running and running and running, great!  :D
Even if I'm not sure what UDPDisabled does  ?(
Thank you!

Lenni
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled crashes after some time
« Reply #19 on: January 21, 2005, 11:49:51 AM »

lol

good to know ;)
disabled UDP makes sources finding a little slower, thats about it....
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: amuled crashes after some time
« Reply #20 on: January 21, 2005, 04:21:18 PM »

Is it possible that disabling the UDP-port is increasing CPU-usage?
I had a usage of 20-30% before, now it's about 50-60% on a Celeron 400 MHz.
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: amuled crashes after some time
« Reply #21 on: January 21, 2005, 04:37:02 PM »

Lenni,

Should be the opposite, disabling UDP should decrease you CPU and bandwidth usage, if you can feel any difference.

Btw, if you use a recent tarball, please enable UDP, i think i have fixed the crash and it would be nice if you could test. ;)

Cheers!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled crashes after some time
« Reply #22 on: January 21, 2005, 11:00:30 PM »

well I think its deamon itself after a while....
i get up to 30-60% here sometimes aswell, when i watch amuled in top

with amule-gui its under 10% all the time...even after 2days
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: amuled crashes after some time
« Reply #23 on: January 22, 2005, 09:50:24 AM »

Amuled crashed after 4 1/2 hours with UDP-port enabled.  ;( With UDPDisabled=1 it's running for 10 hours yet.
edit: using CVS20050121 now.

bt-output:
Code: [Select]
#0  0x4042eac1 in kill () from /lib/libc.so.6
#1  0x400249ed in pthread_kill () from /lib/libpthread.so.0
#2  0x40024d0b in raise () from /lib/libpthread.so.0
#3  0x4042e6fa in raise () from /lib/libc.so.6
#4  0x40430127 in abort () from /lib/libc.so.6
#5  0x4016216e in wxFatalSignalHandler () from /usr/lib/libwx_base-2.5.so.3
#6  0x40027c45 in pthread_barrierattr_setpshared () from /lib/libpthread.so.0
#7  
#8  0x0805fc46 in CUpDownClient::GetIP (this=0xb404e9dc) at updownclient.h:188
#9  0x0809a185 in CDownloadQueue::GetDownloadClientByIP (this=0x852d380,
    dwIP=2861173842) at DownloadQueue.cpp:915
#10 0x0808f872 in CClientUDPSocket::ProcessPacket (this=0x856a4f0,
    packet=0xbebfe6ae "", size=65534, opcode=145 '\221', host=2861173842,
    port=65534) at ClientUDPSocket.cpp:200
#11 0x0808f25f in CClientUDPSocket::OnReceive (this=0x856a4f0)
    at ClientUDPSocket.cpp:100
#12 0x0808fe1e in CClientUDPSocket::Entry (this=0x856a4f0)
    at ClientUDPSocket.cpp:314
#13 0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
#14 0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
#15 0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
#16 0x404e6c97 in clone () from /lib/libc.so.6
bt full-output:
Code: [Select]
#0  0x4042eac1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400249ed in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40024d0b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x4042e6fa in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x40430127 in abort () from /lib/libc.so.6
No symbol table info available.
#5  0x4016216e in wxFatalSignalHandler () from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#6  0x40027c45 in pthread_barrierattr_setpshared () from /lib/libpthread.so.0
No symbol table info available.
#7  
No symbol table info available.
#8  0x0805fc46 in CUpDownClient::GetIP (this=0xb404e9dc) at updownclient.h:188
No locals.
#9  0x0809a185 in CDownloadQueue::GetDownloadClientByIP (this=0x852d380,
    dwIP=2861173842) at DownloadQueue.cpp:915
        it = { = {
    _M_node = 0x89d4df0}, }
        i = 24
        size = 34
#10 0x0808f872 in CClientUDPSocket::ProcessPacket (this=0x856a4f0,
    packet=0xbebfe6ae "", size=65534, opcode=145 '\221', host=2861173842,
    port=65534) at ClientUDPSocket.cpp:200
        data_in = { = { = {_vptr.CFile = 0x406514e4,
      m_fd = 13, m_error = 4, fFilePath = },
    m_GrowBytes = 3200247436, m_position = 4619423500795380736,
    m_BufferSize = 4638707688111334980, m_FileSize = 1079201728,
    m_delete = false, m_buffer = 0x40537d24 "8,\023"}, = {
    _vptr.CFileDataIO = 0xbebfe65c}, }
        nRank = 65534
        sender = (CUpDownClient *) 0xfffe
#11 0x0808f25f in CClientUDPSocket::OnReceive (this=0x856a4f0)
    at ClientUDPSocket.cpp:100
        buffer = "Å\221\000\000õ\001\226ŵ\215À\222\200\016Ú\000ùº&\000o~ãÛ/C\000A\206\t>\002", '\0' , "\016H\002@\000\000\000\000$}S@î\n\002@\206-O@\030Ì\002@.S\002@î\n\002@\030Ì\002@ø÷¿¾ËR\002@°\a\002@\001\000\000\000äù¿¾\017\204\002@\v\000\000\000äù¿¾ô_\033@Pÿ\033@Cø¿¾\001\000\000\000\002", '\0' , "Lø¿¾Ìø¿¾\000\000\000\000Lù¿¾", '\0' , "Å\001", '\0' , "\002", '\0' , "\002", '\0' , "%Ìa"...
        addr = {<> = {}, }
        length = 0
#12 0x0808fe1e in CClientUDPSocket::Entry (this=0x856a4f0)
    at ClientUDPSocket.cpp:314
No locals.
#13 0x40158adf in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#14 0x4015899c in wxPthreadStart () from /usr/lib/libwx_base-2.5.so.3
No symbol table info available.
#15 0x40021ca3 in pthread_detach () from /lib/libpthread.so.0
No symbol table info available.
#16 0x404e6c97 in clone () from /lib/libc.so.6
No symbol table info available.

Lenni
« Last Edit: January 22, 2005, 09:51:12 AM by Lenni »
Logged
Pages: 1 [2]