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: Technically not a crash but it hangs  (Read 9773 times)

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: Technically not a crash but it hangs
« Reply #15 on: May 17, 2005, 02:55:15 AM »

Hum, ;( I got a lock up here too, with 100% CPU, wtf? :
Code: [Select]
(gdb) thread apply all bt

Thread 2 (Thread -1210524752 (LWP 10597)):
#0  0x001a07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00406be6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#2  0x00636e40 in wxMicroSleep (microseconds=1000) at ./src/unix/utilsunx.cpp:175
#3  0x00636e83 in wxMilliSleep (milliseconds=1) at ./src/unix/utilsunx.cpp:196
#4  0x0062f68c in wxThread::Sleep (milliseconds=1) at ./src/unix/threadpsx.cpp:973
#5  0x0824c27c in UploadBandwidthThrottler::Entry (this=0x8f66968) at UploadBandwidthThrottler.cpp:382
#6  0x0062ee9d in wxThreadInternal::PthreadStart (thread=0x8f66968) at ./src/unix/threadpsx.cpp:763
#7  0x0062ed56 in wxPthreadStart (ptr=0x8f66968) at ./src/unix/threadpsx.cpp:715
#8  0x00401341 in start_thread () from /lib/tls/libpthread.so.0
#9  0x00de8fee in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1208396096 (LWP 10595)):
#0  0x001a07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00ddf404 in poll () from /lib/tls/libc.so.6
#2  0x00ad00a1 in wxapp_poll_func (ufds=0xaaf2f78, nfds=7, timeout=0) at ./src/gtk/app.cpp:363
#3  0x075741d3 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#4  0x075744ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x00f56f97 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00aefd67 in wxEventLoop::Run (this=0x99bf658) at ./src/gtk/evtloop.cpp:80
#7  0x00b7f755 in wxAppBase::MainLoop (this=0x8ea0300) at ./src/common/appcmn.cpp:272
#8  0x00b7f8c1 in wxAppBase::OnRun (this=0x8ea0300) at ./src/common/appcmn.cpp:340
#9  0x005d0fdc in wxEntry (argc=@0xbfff06d0, argv=0x8e73568) at ./src/common/init.cpp:417
#10 0x005d111f in wxEntry (argc=@0xbfff06d0, argv=0xbfff0754) at ./src/common/init.cpp:429
#11 0x08082333 in main (argc=1, argv=0xbfff0754) at amule-gui.cpp:297
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: Technically not a crash but it hangs
« Reply #16 on: May 17, 2005, 03:00:52 AM »

Xaignar,

What about that, is this ok?
Code: [Select]
Breakpoint 2, UploadBandwidthThrottler::Entry (this=0x8f66968) at UploadBandwidthThrottler.cpp:385
385                     const uint32 thisLoopTick = ::GetTickCount();
(gdb) p sleepTime
$1 = 1
(gdb) p timeSinceLastLoop
$2 = 1
(gdb) bt full
#0  UploadBandwidthThrottler::Entry (this=0x8f66968) at UploadBandwidthThrottler.cpp:385
        timeSinceLastLoop = 1
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 95000
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        sleepTime = 1
        thisLoopTick = 3896979833
        realBytesToSpend = 91136999
        lastTickReachedBandwidth = 3896978778
        lastLoopTick = 3896979833
        allowedDataRate = 7168
        rememberedSlotCounter = 2
#1  0x0062ee9d in wxThreadInternal::PthreadStart (thread=0x8f66968) at ./src/unix/threadpsx.cpp:763
        pthread = (wxThreadInternal *) 0x8f66ad0
        rc = 0
        dontRunAtAll = false
#2  0x0062ed56 in wxPthreadStart (ptr=0x8f66968) at ./src/unix/threadpsx.cpp:715
No locals.
#3  0x00401341 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#4  0x00de8fee in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Technically not a crash but it hangs
« Reply #17 on: May 17, 2005, 12:39:07 PM »

I'll take a look when I get home. ;)
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: Technically not a crash but it hangs
« Reply #18 on: May 17, 2005, 06:57:54 PM »

the same thing (or something that has the same characteristics) occurred to me, 15 minutes ago, after ~10 hours of uptime

I've been using amule 2.0.0 since the release, and it never happened before, even with uptime of 24~26 hours


EDIT: it happened again, just now (19:07)


EDIT: again (19:43)


EDIT: again (20:38)


what could it be? amule hangs after less than 20 minutes. maybe a broken client that sends bad packets?
« Last Edit: May 17, 2005, 09:11:53 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Technically not a crash but it hangs
« Reply #19 on: May 18, 2005, 08:19:49 AM »

ok fixed in 2.0.1 update all ;)
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."

tvferret

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: Technically not a crash but it hangs
« Reply #20 on: May 18, 2005, 11:52:35 AM »

I didn't get a chance yet to debug it thoroughly but since it's fixed there is no need to do so :D I'll verify this tonite. But what makes me wonder is that this does not happen (or at least it didn't happen to me) when running daemon (amuled). My impression was that both amule and amuled share the same code. How do you explain that?
Logged

egerber

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Technically not a crash but it hangs
« Reply #21 on: May 18, 2005, 12:01:18 PM »

do you have any idea how long it will take until 2.0.1 is available on volllstreckernet.de as deb-packages?
or are those packages supported by someone you got no contact with?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Technically not a crash but it hangs
« Reply #22 on: May 18, 2005, 12:11:58 PM »

send him a pm or ask in his thread about: http://forum.amule.org/thread.php?threadid=5776&sid=
Pages: 1 [2]