aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 23 24 [25] 26 27 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 165812 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #360 on: December 20, 2009, 05:15:16 PM »

Can i do that with this version?
Maybe by calling something like $ gdb ./amule ?
Sure, please try it.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #361 on: December 20, 2009, 05:18:20 PM »

Yes, i did that already. thank you.
and, stupid me...
it should be "ps axl | grep ./amule" !!!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #362 on: December 20, 2009, 05:36:45 PM »

grep amule will actually work, too. (grep looks for lines containing the word "amule" and "./amule" contains "amule")

You can't get this information after the crash, because the application doesn't run any more. If it crashes inside gdb, everything will be saved as it was when it crashed and you can check memory usage.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #363 on: December 20, 2009, 05:46:59 PM »

Aaaaah, great tool!!
Thank you for the info!
nice stuff...
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #364 on: December 20, 2009, 06:02:42 PM »

Hey, we got ourselves a low-VSZ crash for a change...

$ ps axl | grep amule
Code: [Select]
0  1000 12896 12864  20   0  88344 40416 poll_s S+   pts/0      0:01 gdb ./amule
0  1000 12898 12896  20   0 181920 53496 ptrace Tl   pts/0     19:45 /home/rrm/tmp/amule
0  1000 13222 13076  20   0   3036   788 -      R+   pts/1      0:00 grep amule

Program received signal SIGSEGV, Segmentation fault.
0x085acf43 in wxSocket_GDK_Input ()
(gdb) bt full
Code: [Select]
#0  0x085acf43 in wxSocket_GDK_Input ()
No symbol table info available.
#1  0x009fcf7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x003a1d5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x0036ae78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x0036e720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x0036eb8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00f21419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x085a9816 in wxGUIEventLoop::Run() ()
No symbol table info available.
#8  0x08630190 in wxAppConsoleBase::MainLoop() ()
No symbol table info available.
#9  0x086ae605 in wxEntry(int&, wchar_t**) ()
No symbol table info available.
#10 0x0824147b in main (argc=1, argv=0xbffff504)
    at ../../trunk/src/amule-gui.cpp:94
No locals.

(gdb) thread apply all bt full
Code: [Select]
Thread 6 (Thread 0xb1a14b70 (LWP 12930)):
#0  0x00316422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x032caba6 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x016d3cc2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x016c0e09 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x016c2c23 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x016c2cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x016d3bc3 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x02029ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
No symbol table info available.
#8  0x0031e80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0x032d87ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 5 (Thread 0xb6be9b70 (LWP 12929)):
#0  0x00316422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00323142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x0875cbee in wxConditionInternal::WaitTimeout(unsigned long) ()
No symbol table info available.
#3  0x0875d8b3 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
No symbol table info available.
#4  0x083600a2 in CTimerThread::Entry() ()
No symbol table info available.
#5  0x0876273d in wxThreadInternal::PthreadStart(wxThread*) ()
No symbol table info available.
#6  0x0031e80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x032d87ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb7eb0b70 (LWP 12925)):
#0  0x00316422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00326466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x0876489c in wxMicroSleep(unsigned long) ()
No symbol table info available.
#3  0x081cf044 in UploadBandwidthThrottler::Entry (this=0x9575798)
    at ../../trunk/src/UploadBandwidthThrottler.cpp:320
        timeSinceLastLoop = 2
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 51200
        sleepTime = 25
        thisLoopTick = 2901404066
        realBytesToSpend = 35840999
        extraSleepTime = 25
        lastLoopTick = 2901404066
        allowedDataRate = <value optimized out>
        rememberedSlotCounter = 56
        sendLock = {m_isOk = 88, m_mutex = @0x807d3d6}
#4  0x0876273d in wxThreadInternal::PthreadStart(wxThread*) ()
No symbol table info available.
#5  0x0031e80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0x032d87ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0xb7fdf7e0 (LWP 12898)):
#0  0x085acf43 in wxSocket_GDK_Input ()
No symbol table info available.
#1  0x009fcf7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x003a1d5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x0036ae78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x0036e720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x0036eb8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00f21419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x085a9816 in wxGUIEventLoop::Run() ()
No symbol table info available.
#8  0x08630190 in wxAppConsoleBase::MainLoop() ()
No symbol table info available.
#9  0x086ae605 in wxEntry(int&, wchar_t**) ()
No symbol table info available.
#10 0x0824147b in main (argc=1, argv=0xbffff504)
---Type <return> to continue, or q <return> to quit---
    at ../../trunk/src/amule-gui.cpp:94
No locals.

Do you need another bt from ./amule?
« Last Edit: December 20, 2009, 06:04:26 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #365 on: December 20, 2009, 06:08:30 PM »

oh shit, i forgot to do the "$ cat /proc/PID/maps"
(for the ? in the first few lines of the bt)
« Last Edit: December 20, 2009, 06:19:38 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #366 on: December 20, 2009, 06:39:00 PM »

OK, I think wx 2.9 is no help either.  :(
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #367 on: December 20, 2009, 06:59:14 PM »

Sorry about that...
On a lighter note,  ;D wanne see a crash in slow motion?  ;D
As aMule started freezin a bit, i grabbed the camera and took this shot:

ps axl | grep amule

Code: [Select]
0  1000 13277 13275  20   0 1332184 1212796 -   Rl+  pts/0     21:14 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1349344 1230020 -   Rl+  pts/0     21:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1370068 1250740 -   Rl+  pts/0     21:17 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1395148 1275760 -   Rl+  pts/0     21:19 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1409800 1290500 -   Rl+  pts/0     21:20 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1426828 1307436 -   Rl+  pts/0     21:21 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1449268 1329860 -   Rl+  pts/0     21:23 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1466164 1346756 -   Rl+  pts/0     21:24 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1483192 1363804 -   Rl+  pts/0     21:25 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1498768 1379360 -   Rl+  pts/0     21:26 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1515268 1395856 -   Rl+  pts/0     21:28 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1532428 1413104 -   Rl+  pts/0     21:29 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1554604 1435220 -   Rl+  pts/0     21:31 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1579156 1459780 -   Rl+  pts/0     21:32 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1596712 1477368 -   Rl+  pts/0     21:34 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1612552 1493172 -   Rl+  pts/0     21:35 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1633540 1514204 -   Rl+  pts/0     21:36 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1651624 1532200 -   Rl+  pts/0     21:38 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1669708 1550316 -   Rl+  pts/0     21:39 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1695844 1576540 -   Rl+  pts/0     21:41 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1715380 1596048 -   Rl+  pts/0     21:42 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1734256 1614948 -   Rl+  pts/0     21:43 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1751860 1632828 -   Rl+  pts/0     21:44 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1771316 1651664 -   Rl+  pts/0     21:46 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1789748 1670136 -   Rl+  pts/0     21:47 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1808180 1689156 -   Rl+  pts/0     21:48 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1827636 1708940 -   Rl+  pts/0     21:50 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1849140 1729504 -   Rl+  pts/0     21:51 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1867572 1748020 -   Rl+  pts/0     21:52 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1886004 1766296 -   Rl+  pts/0     21:53 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1914676 1795048 -   Rl+  pts/0     21:55 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1943348 1824288 -   Rl+  pts/0     21:57 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1962804 1843192 -   Rl+  pts/0     21:59 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 1981236 1862196 -   Rl+  pts/0     22:00 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2000692 1881168 -   Rl+  pts/0     22:01 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2022196 1903492 -   Rl+  pts/0     22:03 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2040628 1921156 -   Rl+  pts/0     22:04 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2058036 1939320 -   Rl+  pts/0     22:05 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2075444 1956336 -   Rl+  pts/0     22:06 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2092852 1973612 -   Rl+  pts/0     22:07 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2119476 2000384 -   Rl+  pts/0     22:09 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2137908 2018848 -   Rl+  pts/0     22:10 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2155316 2035940 -   Rl+  pts/0     22:11 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2173748 2054404 -   Rl+  pts/0     22:12 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2191156 2071448 -   Rl+  pts/0     22:13 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2207540 2088776 -   Rl+  pts/0     22:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2225972 2106276 -   Rl+  pts/0     22:16 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2247476 2128032 -   Rl+  pts/0     22:17 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2272052 2152688 -   Rl+  pts/0     22:19 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2292532 2173808 -   Rl+  pts/0     22:20 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2314036 2194636 -   Rl+  pts/0     22:21 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2332468 2213564 -   Rl+  pts/0     22:23 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2353972 2234212 -   Rl+  pts/0     22:24 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2377524 2258476 -   Rl+  pts/0     22:26 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2407220 2288112 -   Rl+  pts/0     22:27 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2435852 2316168 -   Rl+  pts/0     22:29 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2455256 2335364 -   Rl+  pts/0     22:30 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2485616 2365332 -   Rl+  pts/0     22:32 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2503964 2383792 -   Rl+  pts/0     22:34 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2538416 2417788 -   Rl+  pts/0     22:36 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2556368 2435728 -   Rl+  pts/0     22:37 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2576300 2455664 -   Rl+  pts/0     22:38 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2595968 2474252 -   Rl+  pts/0     22:39 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2614844 2492404 -   Rl+  pts/0     22:41 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2633588 2511192 -   Rl+  pts/0     22:42 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2651804 2528556 -   Rl+  pts/0     22:43 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2666852 2543168 -   Rl+  pts/0     22:44 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2679132 2554948 -   Rl+  pts/0     22:45 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2694492 2570436 -   Rl+  pts/0     22:46 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2709852 2586200 -   Rl+  pts/0     22:47 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2723164 2599384 -   Rl+  pts/0     22:48 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2736476 2612724 -   Rl+  pts/0     22:49 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2749788 2625924 -   Rl+  pts/0     22:49 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2768220 2644488 -   Rl+  pts/0     22:51 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2780508 2656524 -   Rl+  pts/0     22:52 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2792796 2668928 -   Rl+  pts/0     22:52 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2807132 2682576 -   Rl+  pts/0     22:53 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2822492 2698484 -   Rl+  pts/0     22:54 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2840924 2716904 -   Rl+  pts/0     22:56 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2858332 2733900 -   Rl+  pts/0     22:57 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2868572 2743740 conges Dl+ pts/0   22:57 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2877788 2750148 conges Dl+ pts/0   22:58 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2885980 2750104 -   Rl+  pts/0     22:58 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2905436 2763812 -   Rl+  pts/0     23:00 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2934108 2782024 -   Rl+  pts/0     23:01 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2952540 2797000 -   Rl+  pts/0     23:03 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2968924 2809380 -   Rl+  pts/0     23:04 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2986332 2813544 -   Rl+  pts/0     23:05 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3005788 2822364 -   Rl+  pts/0     23:06 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3022172 2826840 -   Rl+  pts/0     23:07 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3040604 2825984 -   Rl+  pts/0     23:08 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3056988 2826048 -   Rl+  pts/0     23:09 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3075816 2828108 -   Rl+  pts/0     23:10 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3091176 2828548 -   Rl+  pts/0     23:11 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3114728 2826104 -   Dl+  pts/0     23:13 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3130088 2828268 -   Rl+  pts/0     23:14 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2825208 sync_b Dl+ pts/0   23:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2822940 ptrace Tl+ pts/0   23:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2816060 ptrace Tl+ pts/0   23:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2813052 ptrace Tl pts/0    23:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2812388 ptrace Tl pts/0    23:15 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 3145724 2810576 ptrace Tl pts/0    23:15 /home/rrm/tmp/amule
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #368 on: December 20, 2009, 07:05:35 PM »

Terminated after throwing an instance of 'std::bad_alloc'
   what(): std::bad_alloc
* Could not get symbol names for backtrace
   backtrace:


Program received signal SIGABRT, Aborted.
0x0053c422 in __kernel_vsyscall ()
(gdb) bt full
Code: [Select]
#0  0x0053c422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0668f4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x06692932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x0836480d in OnUnhandledException ()
    at ../../../../trunk/src/libs/common/MuleDebug.cpp:103
        t = 0x0
        output = 0x67a5560
#4  0x005f7415 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x005f7452 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x005f7591 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x005f7c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x0840f7d3 in wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&) ()
No symbol table info available.
#9  0x086c2267 in wxListBase::Append(void*) ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x0876e22f in wxEvtHandler::QueueEvent(wxEvent*) ()
No symbol table info available.
#11 0x08619d15 in wxSocketBase::OnRequest(wxSocketNotify) ()
No symbol table info available.
#12 0x08623c3e in wxSocketImplUnix::OnStateChange(wxSocketNotify) ()
No symbol table info available.
#13 0x08623ea1 in wxSocketImplUnix::OnWriteWaiting() ()
No symbol table info available.
#14 0x0012cf7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#15 0x00366d5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x0032fe78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x00333720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x00333b8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#19 0x03991419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x085a9816 in wxGUIEventLoop::Run() ()
No symbol table info available.
#21 0x08630190 in wxAppConsoleBase::MainLoop() ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#22 0x086ae605 in wxEntry(int&, wchar_t**) ()
No symbol table info available.
#23 0x0824147b in main (argc=1, argv=0xbffff504)
    at ../../trunk/src/amule-gui.cpp:94
No locals.

(gdb) thread apply all bt full
Code: [Select]
Thread 6 (Thread 0xb23e7b70 (LWP 13309)):
#0  0x0053c422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x06723ba6 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00afbcc2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00ae8e09 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00aeac23 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00aeacf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00afbbc3 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x00b6cac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
No symbol table info available.
#8  0x00a4480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0x067317ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 5 (Thread 0xb6be9b70 (LWP 13308)):
#0  0x0053c422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00a49142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x0875cbee in wxConditionInternal::WaitTimeout(unsigned long) ()
No symbol table info available.
#3  0x0875d8b3 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
No symbol table info available.
#4  0x083600a2 in CTimerThread::Entry() ()
No symbol table info available.
#5  0x0876273d in wxThreadInternal::PthreadStart(wxThread*) ()
No symbol table info available.
#6  0x00a4480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x067317ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb73ebb70 (LWP 13304)):
#0  0x0053c422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00a4c466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x0876489c in wxMicroSleep(unsigned long) ()
No symbol table info available.
#3  0x081cf044 in UploadBandwidthThrottler::Entry (this=0x957ef00)
    at ../../trunk/src/UploadBandwidthThrottler.cpp:320
        timeSinceLastLoop = 1
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 3118080
        sleepTime = 1000
        thisLoopTick = 2905923846
        realBytesToSpend = 46080999
        extraSleepTime = 1000
        lastLoopTick = 2905923846
        allowedDataRate = <value optimized out>
        rememberedSlotCounter = 34
        sendLock = {m_isOk = 88, m_mutex = @0x807d3d6}
#4  0x0876273d in wxThreadInternal::PthreadStart(wxThread*) ()
No symbol table info available.
#5  0x00a4480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0x067317ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0xb7fdf7e0 (LWP 13277)):
#0  0x0053c422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0668f4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x06692932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x0836480d in OnUnhandledException ()
    at ../../../../trunk/src/libs/common/MuleDebug.cpp:103
        t = 0x0
        output = 0x67a5560
#4  0x005f7415 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x005f7452 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x005f7591 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x005f7c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x0840f7d3 in wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&) ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9  0x086c2267 in wxListBase::Append(void*) ()
No symbol table info available.
#10 0x0876e22f in wxEvtHandler::QueueEvent(wxEvent*) ()
No symbol table info available.
#11 0x08619d15 in wxSocketBase::OnRequest(wxSocketNotify) ()
No symbol table info available.
#12 0x08623c3e in wxSocketImplUnix::OnStateChange(wxSocketNotify) ()
No symbol table info available.
#13 0x08623ea1 in wxSocketImplUnix::OnWriteWaiting() ()
No symbol table info available.
#14 0x0012cf7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#15 0x00366d5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x0032fe78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x00333720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x00333b8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#19 0x03991419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x085a9816 in wxGUIEventLoop::Run() ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#21 0x08630190 in wxAppConsoleBase::MainLoop() ()
No symbol table info available.
#22 0x086ae605 in wxEntry(int&, wchar_t**) ()
No symbol table info available.
#23 0x0824147b in main (argc=1, argv=0xbffff504)
    at ../../trunk/src/amule-gui.cpp:94
No locals.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #369 on: December 20, 2009, 07:11:03 PM »

$ cat /proc/13277/maps

Up till this first line it was all 0000, so here's the rest:

(ehrr, this shot includes file ID's, so i better delete them; if you need them after all, i pm them to you)
Code: [Select]
b1700000-b1800000 rw-p 00000000 00:00 0
b1800000-b18ff000 rw-p 00000000 00:00 0
b18ff000-b1900000 ---p 00000000 00:00 0
b1900000-b1a00000 rw-p 00000000 00:00 0
b1a00000-b1b00000 rw-p 00000000 00:00 0
b1b00000-b1b3f000 rw-p 00000000 00:00 0
b1b3f000-b1b42000 rw-s 4417b000 08:11 23920933   /home/rrm/.aMule/Temp/004.part
b1b42000-b1b45000 rw-p 00000000 00:00 0
b1b45000-b1b49000 rw-s 31969000 08:11 23920730   /home/rrm/.aMule/Temp/002.part
b1b49000-b1b4d000 rw-s 3a84b000 08:11 23920730   /home/rrm/.aMule/Temp/002.part
b1b4d000-b1b50000 rw-s 1a0f6000 08:11 23920730   /home/rrm/.aMule/Temp/002.part
b1b50000-b1b54000 rw-s 322b8000 08:11 23920933   /home/rrm/.aMule/Temp/004.part
b1b54000-b1b57000 rw-s 4417e000 08:11 23920933   /home/rrm/.aMule/Temp/004.part
b1b57000-b1b5b000 rw-s 322bb000 08:11 23920933   /home/rrm/.aMule/Temp/004.part
b1b5b000-b1be7000 r--p 00000000 08:11 14895905   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b1be7000-b1be8000 ---p 00000000 00:00 0
b1be8000-b23e8000 rw-p 00000000 00:00 0
b23e8000-b63e9000 rw-s 00000000 00:11 896651     /dev/shm/pulse-shm-594648316
b63e9000-b63ea000 ---p 00000000 00:00 0
b63ea000-b6beb000 rw-p 00000000 00:00 0
b6beb000-b6bec000 ---p 00000000 00:00 0
b6bec000-b73ec000 rw-p 00000000 00:00 0
b73ec000-b73ef000 rw-s 00000000 00:09 10092565   /SYSV00000000 (deleted)
b73ef000-b7487000 r--p 00000000 08:11 14895904   /usr/share/fonts/truetype/...deleted..
b7487000-b7488000 r--s 00000000 08:11 46989320   /var/cache/fontconfig/...deleted..
b7488000-b748e000 r--s 00000000 08:11 47022229   /var/cache/fontconfig/...deleted..
b748e000-b7490000 r--s 00000000 08:11 46989316   /var/cache/fontconfig/...deleted..
b7490000-b7492000 r--s 00000000 08:11 41804529   /var/cache/fontconfig/...deleted..
b7492000-b7495000 r--s 00000000 08:11 41805236   /var/cache/fontconfig/...deleted..
b7495000-b7498000 r--s 00000000 08:11 41804923   /var/cache/fontconfig/...deleted..
b7498000-b7499000 r--s 00000000 08:11 41805234   /var/cache/fontconfig/...deleted..
b7499000-b749d000 r--s 00000000 08:11 46989317   /var/cache/fontconfig/...deleted..
b749d000-b74a0000 r--s 00000000 08:11 41805232   /var/cache/fontconfig/...deleted...
b74a0000-b7500000 rw-s 00000000 00:09 10059796   /SYSV00000000 (deleted)
b7500000-b75e2000 rw-p 00000000 00:00 0
b75e2000-b7600000 ---p 00000000 00:00 0
b7600000-b7601000 rw-p 00000000 00:00 0
b7601000-b7604000 r--s 00000000 08:11 41805179   /var/cache/fontconfig/...deleted..
b7604000-b760c000 r--s 00000000 08:11 41805229   /var/cache/fontconfig/...deleted..
b760c000-b7617000 r--s 00000000 08:11 47023527   /var/cache/fontconfig/...deleted..
b7617000-b7619000 r--s 00000000 08:11 41805178   /var/cache/fontconfig/...deleted..
b7619000-b761a000 r--s 00000000 08:11 47023526   /var/cache/fontconfig/...deleted..
b761a000-b763c000 r--s 00000000 08:11 41805659   /var/cache/fontconfig/...deleted..
b763c000-b763e000 r--s 00000000 08:11 46989318   /var/cache/fontconfig/...deleted..
b763e000-b7646000 r--s 00000000 08:11 41805150   /var/cache/fontconfig/...deleted..
b7646000-b764c000 r--s 00000000 08:11 41805223   /var/cache/fontconfig/...deleted..
b764c000-b764e000 r--s 00000000 08:11 46989321   /var/cache/fontconfig/...deleted..
b764e000-b7650000 r--s 00000000 08:11 41805657   /var/cache/fontconfig/...deleted..
b7650000-b76b0000 rw-s 00000000 00:09 10027027   /SYSV00000000 (deleted)
b76b0000-b76b1000 ---p 00000000 00:00 0
b76b1000-b7eb3000 rw-p 00000000 00:00 0
b7eb3000-b7fa0000 r--p 00000000 08:11 15057930   /usr/lib/locale/en_US.utf8/LC_COLLATE
b7fa0000-b7fdf000 r--p 00000000 08:11 14779364   /usr/lib/locale/en_US.utf8/LC_CTYPE
b7fdf000-b7fed000 rw-p 00000000 00:00 0
b7fed000-b7fee000 r--p 00000000 08:11 14779369   /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7fee000-b7fef000 r--p 00000000 08:11 14779081   /usr/lib/locale/en_US.utf8/LC_TIME
b7fef000-b7ff0000 r--p 00000000 08:11 14779082   /usr/lib/locale/en_US.utf8/LC_MONETARY
b7ff0000-b7ff1000 r--p 00000000 08:11 14786562   /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7ff1000-b7ff2000 r--p 00000000 08:11 14779235   /usr/lib/locale/en_US.utf8/LC_PAPER
b7ff2000-b7ff3000 r--p 00000000 08:11 14779258   /usr/lib/locale/en_US.utf8/LC_NAME
b7ff3000-b7ff4000 r--p 00000000 08:11 14779083   /usr/lib/locale/en_US.utf8/LC_ADDRESS
b7ff4000-b7ff5000 r--p 00000000 08:11 14779084   /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7ff5000-b7ff6000 r--p 00000000 08:11 14779344   /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7ff6000-b7ff7000 r--p 00000000 08:11 14779085   /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b7ff7000-b7ffe000 r--s 00000000 08:11 14762000   /usr/lib/gconv/gconv-modules.cache
b7ffe000-b8000000 rw-p 00000000 00:00 0
b8000000-bca00000 rw-p 00000000 00:00 0
bca00000-bcc00000 rw-p 00000000 00:00 0
bcc00000-bff00000 rw-p 00000000 00:00 0
bff00000-bffeb000 rw-p 00000000 00:00 0
bffeb000-c0000000 rw-p 00000000 00:00 0          [stack]

Ok, im taking my foot off the gaspedal again...
Slow down baby, hoooo, easy mule....
easy now....
« Last Edit: December 20, 2009, 07:23:41 PM by RRM »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #370 on: December 20, 2009, 07:14:33 PM »

Quote
0  1000 13277 13275  20   0 2868572 2743740 conges Dl+ pts/0   22:57 /home/rrm/tmp/amule
0  1000 13277 13275  20   0 2877788 2750148 conges Dl+ pts/0   22:58 /home/rrm/tmp/amule
These lines look interesting.

Notice the "conges"? And the state of  "D    Uninterruptible sleep (usually IO)"?

Unfortunately I don't know exactly what "conges" refers to, but I think it's interesting.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #371 on: December 20, 2009, 07:30:00 PM »

In dutch there is this expression
(translated) giving somebody the conges (/translated)
Meaning: ending the relationship between you and that person...
So... basically i get dumped a lot....

by mules...
« Last Edit: December 20, 2009, 07:32:20 PM by RRM »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #372 on: December 20, 2009, 07:34:55 PM »

Well, my guess was rather "congested" since it's related to IO, but if I was your mule, I would probably dump you, too, if you always put the food on the gas pedal and expected me to run and run and run. Mules are stubborn like that. ;)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #373 on: December 20, 2009, 10:55:05 PM »

Just did some code reading of the UploadbandwidthThrottler, and boy, it's a mess. See the comment of 4406.  :(
I really don't understand that "bytesToSpend / realBytesToSpend" logic. And part of that int32/int64 arithmetic is fishy or even buggy. It's plain eMule code at its core.
But I'm rather suspecting the socket code. It's also pretty similar to eMule's and pretty unmaintainable and I'm not sure the MFC sockets and the wx sockets are similar enough for that, especially on Linux. Maybe something there causes the socket's event notification mechanism to backfire in an infinite loop.

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #374 on: December 22, 2009, 12:58:36 AM »

Cleaned up the UploadbandwidthThrottler mess (9907). I don't think there was anything in it that could have caused RRM's problem. Well - there was that strange setting bytesToSpend to 2^32, though I doubt it ever triggered. Anyway, RRM please check it out. Here is the modified file for you to recompile.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 ... 23 24 [25] 26 27 ... 37