aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 4 5 [6] 7 8 ... 37

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

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #75 on: March 26, 2009, 04:06:55 PM »

Thank you, i will try to install that now.
Here'ś the last crash BEFORE installing Festorś latest package:

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.
[Switching to Thread 0xb6821700 (LWP 31376)]
0xb8002430 in __kernel_vsyscall ()
(gdb) BT
Code: [Select]
#0  0xb8002430 in __kernel_vsyscall ()
#1  0xb72848a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7286268 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0x083dad76 in OnUnhandledException ()
    at ../../../../src/libs/common/MuleDebug.cpp:103
#4  0xb74a7655 in __cxxabiv1::__terminate (
    handler=0x83daa05 <OnUnhandledException()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
#5  0xb74a7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
#6  0xb74a77ca in __cxa_throw (obj=0xb74d68f0, tinfo=0x86aa38c,
    dest=0xb74a7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
#7  0xb74a7e23 in operator new (sz=44)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
#8  0xb766eb79 in wxSocketEvent::Clone ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0xb75e7965 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb766e7e8 in wxSocketBase::OnRequest ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#11 0xb766e8e4 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
#12 0xb7672e3b in GSocket::Detected_Write ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu_net-2.8.so.0
#13 0xb77b56f7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0xb6e454af in gdk_io_invoke (source=0xb5b20720,
    condition=<value optimized out>, data=0xb10d9768)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#15 0xb6be371d in g_io_unix_dispatch (source=0xb2517e98,
    callback=0xb6e45450 <gdk_io_invoke>, user_data=0xb10d9768)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#16 0xb6bac718 in IA__g_main_context_dispatch (context=0xa60f8d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#17 0xb6bafdc3 in g_main_context_iterate (context=0xa60f8d0, block=1,
    dispatch=1, self=0xa610e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#18 0xb6bb02e2 in IA__g_main_loop_run (loop=0xb5b00f78)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#19 0xb6fde3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#20 0xb77b3e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb784a5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb784a1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#23 0xb7582a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#24 0xb7582c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#25 0x082a5c39 in main (argc=Cannot access memory at address 0x7a90
) at ../../src/amule-gui.cpp:95
(gdb) BT FULL
Code: [Select]
#0  0xb8002430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb72848a0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7286268 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x083dad76 in OnUnhandledException ()
    at ../../../../src/libs/common/MuleDebug.cpp:103
t = (class std::type_info *) 0x86aa38c
output = (FILE *) 0xb73b3560
#4  0xb74a7655 in __cxxabiv1::__terminate (
    handler=0x83daa05 <OnUnhandledException()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
No locals.
#5  0xb74a7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
No locals.
#6  0xb74a77ca in __cxa_throw (obj=0xb74d68f0, tinfo=0x86aa38c,
    dest=0xb74a7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
header = <value optimized out>
#7  0xb74a7e23 in operator new (sz=44)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
---Type <return> to continue, or q <return> to quit---
handler = <value optimized out>
p = <value optimized out>
#8  0xb766eb79 in wxSocketEvent::Clone ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0xb75e7965 in wxEvtHandler::AddPendingEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xb766e7e8 in wxSocketBase::OnRequest ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0xb766e8e4 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#12 0xb7672e3b in GSocket::Detected_Write ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#13 0xb77b56f7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0xb6e454af in gdk_io_invoke (source=0xb5b20720,
    condition=<value optimized out>, data=0xb10d9768)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = GDK_INPUT_WRITE
#15 0xb6be371d in g_io_unix_dispatch (source=0xb2517e98,
---Type <return> to continue, or q <return> to quit---
    callback=0xb6e45450 <gdk_io_invoke>, user_data=0xb10d9768)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 6
#16 0xb6bac718 in IA__g_main_context_dispatch (context=0xa60f8d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#17 0xb6bafdc3 in g_main_context_iterate (context=0xa60f8d0, block=1,
    dispatch=1, self=0xa610e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 300
timeout = 0
some_ready = 1
nfds = 10
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xaeda450
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#18 0xb6bb02e2 in IA__g_main_loop_run (loop=0xb5b00f78)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0xa610e58
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#19 0xb6fde3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
---Type <return> to continue, or q <return> to quit---
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xb5b006f8
loop = (GMainLoop *) 0xb5b00f78
#20 0xb77b3e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb784a5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0xb784a1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#23 0xb7582a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0xb7582c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#25 0x082a5c39 in main (argc=Cannot access memory at address 0x7a90
) at ../../src/amule-gui.cpp:95
No locals.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #76 on: March 26, 2009, 04:28:17 PM »

Im very sorry that i still dont get it...
I know that you gave me the public key for 1F7CABE920A90F1A,
but how / where do i get the public key for 9633A5BB0EB83DCE?
Is there some kind of standard method to retrieve that key?
« Last Edit: March 26, 2009, 04:41:03 PM by RRM »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
RRM's epic struggle for a better aMule on high-speed connections
« Reply #77 on: March 26, 2009, 04:33:31 PM »

Is there some kind of standard method to retrieve that key?

For Ubuntu and PPA Launchpad gpg keys:
Code: [Select]
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com put_here_gpg_key
Or.. this url:
Code: [Select]
http://keyserver.ubuntu.com:11371/pks/lookup?search=0xPUT_HERE_GPG_KEY&op=index

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #78 on: March 26, 2009, 04:42:21 PM »

Thank you.
So, like this, right?
Code: [Select]
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9633A5BB0EB83DCEand instead of
Code: [Select]
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50F03E95F33A4402BAAC9BA71F7CA8E920A90F1Ai could have used this shorter version?:
Code: [Select]
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1F7CA8E920A90F1A
« Last Edit: March 26, 2009, 04:48:08 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #79 on: March 26, 2009, 05:02:55 PM »

All right RRM.

Once you update amule, please check the output of "dpkg -l amule*" Post it here.

Also, could you post the output of "dpkg -l libstdc++*"

Please be sure you have installed the libstdc++6-4.3-dbg package.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #80 on: March 26, 2009, 05:04:41 PM »

One more thing RRM, as the bug seems related to threading, please, also post the output of "thread apply all bt full" in gdb.

Cheers!
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
RRM's epic struggle for a better aMule on high-speed connections
« Reply #81 on: March 26, 2009, 05:06:52 PM »

Thank you.
So, like this, right?

Every ways works well.

RRM

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

Oh, i hadnt seen your replies...
So, i will do the above now.
In the meantime, 9536 crashed.

"Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb673d700 (LWP 26484)]
0x43900692 in ?? ()"
(gdb) bt
Code: [Select]
#0  0x43900692 in ?? ()
#1  0xb6d614af in gdk_io_invoke (source=0xb5aed968,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#2  0xb6aff71d in g_io_unix_dispatch (source=0xb5ac2918,
    callback=0xb6d61450 <gdk_io_invoke>, user_data=0xb261f500)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#3  0xb6ac8718 in IA__g_main_context_dispatch (context=0xa2c2918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#4  0xb6acbdc3 in g_main_context_iterate (context=0xa2c2918, block=1,
    dispatch=1, self=0xa2c3ec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#5  0xb6acc2e2 in IA__g_main_loop_run (loop=0xaad4220)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#6  0xb6efa3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#7  0xb771710b in wxEventLoop::Run (this=0xa3223c0)
    at ../src/gtk/evtloop.cpp:76
#8  0xb77bb3dc in wxAppBase::MainLoop (this=0xa2c27d0)
    at ../src/common/appcmn.cpp:312
#9  0xb77bb131 in wxAppBase::OnRun (this=0x0) at ../src/common/appcmn.cpp:367
#10 0xb74b03fa in wxEntry (argc=@0xb75a86cc, argv=0xa2b0e38)
    at ../src/common/init.cpp:460
---Type <return> to continue, or q <return> to quit---
#11 0xb74b04b7 in wxEntry (argc=@0xbfac2860, argv=0xbfac28e4)
    at ../src/common/init.cpp:472
#12 0x082ac21d in main (argc=1, argv=0xb6b45460) at ../../src/amule-gui.cpp:95
(gdb) bt full
Code: [Select]
#0  0x43900692 in ?? ()
No symbol table info available.
#1  0xb6d614af in gdk_io_invoke (source=0xb5aed968,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 2985979680
#2  0xb6aff71d in g_io_unix_dispatch (source=0xb5ac2918,
    callback=0xb6d61450 <gdk_io_invoke>, user_data=0xb261f500)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 0
#3  0xb6ac8718 in IA__g_main_context_dispatch (context=0xa2c2918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6acbdc3 in g_main_context_iterate (context=0xa2c2918, block=1,
    dispatch=1, self=0xa2c3ec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 2147483647
timeout = 19
some_ready = 1
nfds = 274
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xb155d208
__PRETTY_FUNCTION__ = "g_main_context_iterate"
---Type <return> to continue, or q <return> to quit---
#5  0xb6acc2e2 in IA__g_main_loop_run (loop=0xaad4220)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0xa2c3ec0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb6efa3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xa3223c0
loop = (GMainLoop *) 0xaad4220
#7  0xb771710b in wxEventLoop::Run (this=0xa3223c0)
    at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#8  0xb77bb3dc in wxAppBase::MainLoop (this=0xa2c27d0)
    at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0xa3223c0}, m_pp = 0xa2c2810,
  m_pOld = 0x0}
#9  0xb77bb131 in wxAppBase::OnRun (this=0x0) at ../src/common/appcmn.cpp:367
No locals.
#10 0xb74b03fa in wxEntry (argc=@0xb75a86cc, argv=0xa2b0e38)
    at ../src/common/init.cpp:460
No locals.
---Type <return> to continue, or q <return> to quit---
#11 0xb74b04b7 in wxEntry (argc=@0xbfac2860, argv=0xbfac28e4)
    at ../src/common/init.cpp:472
No locals.
#12 0x082ac21d in main (argc=1, argv=0xb6b45460) at ../../src/amule-gui.cpp:95
No locals.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #83 on: March 26, 2009, 05:26:03 PM »

Well, I had a quick look to the set of backtraces and it is clear what is going on: amule runs out of memory!

RRM, the next time amule crashes could you post the output of

Code: [Select]
$ free
$ ps axl | grep amule

I guess this could be related: http://www.amule.org/amule/index.php?topic=16714.0

Some advice, play with the "maximum connections" setting and see if the crash happens more often when the value is low and if it goes away when the value is high.

Cheers!
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #84 on: March 26, 2009, 05:29:23 PM »

Quote
the output of "dpkg -l amule*"

No packages found that match amule.py

Quote
the output of "dpkg -l libstdc++*"

Code: [Select]
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Verion         Description
+++-==============-==============-============================================
un  libstdc++-dev  <none>         (no description available)
un  libstdc++2.10- <none>         (no description available)
un  libstdc++2.8-d <none>         (no description available)
un  libstdc++2.9-d <none>         (no description available)
un  libstdc++2.9-g <none>         (no description available)
un  libstdc++3.0-d <none>         (no description available)
un  libstdc++5-3.3 <none>         (no description available)
un  libstdc++5-dbg <none>         (no description available)
ii  libstdc++6     4.3.2-1ubuntu1 The GNU Standard C++ Library v3
un  libstdc++6-4.0 <none>         (no description available)
un  libstdc++6-4.1 <none>         (no description available)
pn  libstdc++6-4.2 <none>         (no description available)
pn  libstdc++6-4.2 <none>         (no description available)
un  libstdc++6-4.2 <none>         (no description available)
ii  libstdc++6-4.3 4.3.2-1ubuntu1 The GNU Standard C++ Library v3 (debugging f
ii  libstdc++6-4.3 4.3.2-1ubuntu1 The GNU Standard C++ Library v3 (development
un  libstdc++6-4.3 <none>         (no description available)
un  libstdc++6-dbg <none>         (no description available)

Quote
Please be sure you have installed the libstdc++6-4.3-dbg package.

Yes, that one had been installed already.
Logged

RRM

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

Quote
RRM, the next time amule crashes could you post the output of

Code: [Select]
$ free

                    total       used              free        shared    buffers     cached
Mem:       3111840    2999368     112472          0       294048    1987268
   -/+ buffers/cache:     718052    2393788
Swap:      9100780      490140    8610640

Code: [Select]
$ ps axl | grep amule
0  1000  2448  1770  20   0   3236   788 -      S+   pts/1      0:00 grep amule
0  1000 26476 26438  20   0 195356 190608 poll  S+   pts/0      0:02 gdb amule
0  1000 26484 26476  20   0 150456 74936 ptrace Tl   pts/0     16:19 /usr/bin/amule

Quote
Some advice, play with the "maximum connections" setting and see if the
crash happens more often when the value is low and if it goes away when the value is high.

Its the other way around. If the value is low enough (below 200; depending on the number of downloads)
amule doesnt crash, but the higher it is, the faster it crashes.
Cheers!
« Last Edit: March 26, 2009, 05:42:40 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #86 on: March 26, 2009, 05:45:08 PM »

One more thing RRM, as the bug seems related to threading, please, also post the output of "thread apply all bt full" in gdb.

thread apply all bt full:
Code: [Select]
Thread 5 (Thread 0xb45aeb90 (LWP 26538)):
#0  0xb7fc1430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb75216e1 in wxConditionInternal::WaitTimeout (this=0xa3068e8,
    milliseconds=100) at ../src/unix/threadpsx.cpp:405
tspec = {tv_sec = 1238084103, tv_nsec = 286000000}
err = <value optimized out>
#3  0xb752176a in wxCondition::WaitTimeout (this=0xa322374, milliseconds=100)
    at ../include/wx/thrimpl.cpp:256
__FUNCTION__ = "WaitTimeout"
#4  0xb7523524 in wxSemaphoreInternal::WaitTimeout (this=0xa322370,
    milliseconds=100) at ../src/unix/threadpsx.cpp:552
remainingTime = -516
locker = {m_isOk = true, m_mutex = @0xa322370}
#5  0xb75235aa in wxSemaphore::WaitTimeout (this=0xa9c7308, milliseconds=100)
    at ../include/wx/thrimpl.cpp:320
__FUNCTION__ = "WaitTimeout"
#6  0x083e39d4 in CTimerThread::Entry (this=0xa9c72e8)
    at ../../src/Timer.cpp:64
---Type <return> to continue, or q <return> to quit---
now = 1133521938
sinceLast = 0
timeout = 100
evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x85c7608,
      static ms_classInfo = {m_className = 0xb75551a4, m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
        static sm_first = 0xb7a528cc, m_next = 0xb75a98c4,
        static sm_classTable = 0xa2953e8}, m_refData = 0x0},
    m_eventObject = 0x0, m_eventType = 10244, m_timeStamp = 0, m_id = 6128,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false,
    m_isCommandEvent = false, static ms_classInfo = {m_className = 0xb7566708,
      m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0xb75a9858,
      m_baseInfo2 = 0x0, static sm_first = 0xb7a528cc, m_next = 0xb75aa908,
      static sm_classTable = 0xa2953e8}}, <No data fields>}
lastEvent = 1133521938
#7  0xb7524036 in wxThreadInternal::PthreadStart (thread=0xa9c72e8)
    at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0xaad41a8
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#8  0xb752413d in wxPthreadStart (ptr=0xa9c72e8)
    at ../src/unix/threadpsx.cpp:718
---Type <return> to continue, or q <return> to quit---
No locals.
#9  0xb7f8150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#10 0xb7256a0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb55b0b90 (LWP 26524)):
#0  0xb7fc1430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f88906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb752b168 in wxMicroSleep (microseconds=0) at ../src/unix/utilsunx.cpp:191
tmReq = {tv_sec = 0, tv_nsec = 1000000}
#3  0xb752b191 in wxMilliSleep (milliseconds=1) at ../src/unix/utilsunx.cpp:212
No locals.
#4  0xb752141d in wxThread::Sleep (milliseconds=1)
    at ../src/unix/threadpsx.cpp:986
No locals.
#5  0x081fd133 in UploadBandwidthThrottler::Entry (this=0xa94cb80)
    at ../../src/UploadBandwidthThrottler.cpp:324
timeSinceLastLoop = 4
minFragSize = 1300
doubleSendSize = 2600
---Type <return> to continue, or q <return> to quit---
bytesToSpend = 70656
sleepTime = 5
thisLoopTick = 1133522017
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 1133522017
realBytesToSpend = 64512999
allowedDataRate = 1536000
rememberedSlotCounter = 107
extraSleepTime = 5
sendLock = {m_isOk = false, m_mutex = @0xb7f90ff4}
#6  0xb7524036 in wxThreadInternal::PthreadStart (thread=0xa94cb80)
    at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0xa955fd8
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#7  0xb752413d in wxPthreadStart (ptr=0xa94cb80)
    at ../src/unix/threadpsx.cpp:718
No locals.
#8  0xb7f8150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb7256a0e 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 0xb673d700 (LWP 26484)):
#0  0x43900692 in ?? ()
No symbol table info available.
#1  0xb6d614af in gdk_io_invoke (source=0xb5aed968,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 2985979680
#2  0xb6aff71d in g_io_unix_dispatch (source=0xb5ac2918,
    callback=0xb6d61450 <gdk_io_invoke>, user_data=0xb261f500)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 0
#3  0xb6ac8718 in IA__g_main_context_dispatch (context=0xa2c2918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6acbdc3 in g_main_context_iterate (context=0xa2c2918, block=1,
    dispatch=1, self=0xa2c3ec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 2147483647
timeout = 19
some_ready = 1
nfds = 274
allocated_nfds = <value optimized out>
---Type <return> to continue, or q <return> to quit---
fds = (GPollFD *) 0xb155d208
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#5  0xb6acc2e2 in IA__g_main_loop_run (loop=0xaad4220)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0xa2c3ec0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb6efa3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xa3223c0
loop = (GMainLoop *) 0xaad4220
#7  0xb771710b in wxEventLoop::Run (this=0xa3223c0)
    at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#8  0xb77bb3dc in wxAppBase::MainLoop (this=0xa2c27d0)
    at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0xa3223c0}, m_pp = 0xa2c2810,
  m_pOld = 0x0}
#9  0xb77bb131 in wxAppBase::OnRun (this=0x0) at ../src/common/appcmn.cpp:367
No locals.
#10 0xb74b03fa in wxEntry (argc=@0xb75a86cc, argv=0xa2b0e38)
---Type <return> to continue, or q <return> to quit---
    at ../src/common/init.cpp:460
No locals.
#11 0xb74b04b7 in wxEntry (argc=@0xbfac2860, argv=0xbfac28e4)
    at ../src/common/init.cpp:472
No locals.
#12 0x082ac21d in main (argc=1, argv=0xb6b45460) at ../../src/amule-gui.cpp:95
No locals.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #87 on: March 26, 2009, 10:28:45 PM »

and another crash:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6741700 (LWP 3589)]
0xb7fc5430 in __kernel_vsyscall ()

bt
Code: [Select]
bt
#0  0xb7fc5430 in __kernel_vsyscall ()
#1  0xb71a48a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb71a6268 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73c7655 in __cxxabiv1::__terminate (handler=0x808a378 <abort@plt>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
#4  0xb73c7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
#5  0xb73c77ca in __cxa_throw (obj=0xb73f68f0, tinfo=0x86e5a6c,
    dest=0xb73c7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
#6  0xb73c7e23 in operator new (sz=24)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
#7  0xb74ac556 in wxObjectList::CreateNode (this=0xa7e2be0, prev=0x4fff70,
    next=0x0, data=0x4fffb0, key=@0xb75ac750) at ../include/wx/list.h:1178
#8  0xb74c1759 in wxListBase::Append (this=0xa7e2be0, object=0x4fffb0)
    at ../src/common/list.cpp:244
#9  0xb7529be7 in wxEvtHandler::AddPendingEvent (this=0x86e80c0,
    event=@0xbfcc6ef0) at ../include/wx/list.h:1178
#10 0xb75cdd58 in wxSocketBase::OnRequest (this=0xaef0450,
    notification=wxSOCKET_OUTPUT) at ../src/common/socket.cpp:1006
#11 0xb75cde54 in wx_socket_callback (notification=GSOCK_OUTPUT,
    cdata=0xaef0450 "\b-M\b") at ../src/common/socket.cpp:942
#12 0xb75d26bb in GSocket::Detected_Write (this=0xa9ea440)
---Type <return> to continue, or q <return> to quit---
    at ../src/unix/gsocket.cpp:1836
#13 0xb771cbe7 in _GSocket_GDK_Input (data=0xa9ea440, source=97,
    condition=GDK_INPUT_WRITE) at ../src/gtk/gsockgtk.cpp:36
#14 0xb6d654af in gdk_io_invoke (source=0xb5abdad0,
    condition=<value optimized out>, data=0xb5a269e0)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#15 0xb6b0371d in g_io_unix_dispatch (source=0xb5aee5d8,
    callback=0xb6d65450 <gdk_io_invoke>, user_data=0xb5a269e0)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#16 0xb6acc718 in IA__g_main_context_dispatch (context=0x9e6a918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#17 0xb6acfdc3 in g_main_context_iterate (context=0x9e6a918, block=1,
    dispatch=1, self=0x9e6bec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#18 0xb6ad02e2 in IA__g_main_loop_run (loop=0xb5a02a98)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#19 0xb6efe3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#20 0xb771b10b in wxEventLoop::Run (this=0xb5a00668)
    at ../src/gtk/evtloop.cpp:76
#21 0xb77bf3dc in wxAppBase::MainLoop (this=0x9e6a7d0)
    at ../src/common/appcmn.cpp:312
#22 0xb77bf131 in wxAppBase::OnRun (this=0x6) at ../src/common/appcmn.cpp:367
---Type <return> to continue, or q <return> to quit---
#23 0xb74b43fa in wxEntry (argc=@0xb75ac6cc, argv=0x9e58e38)
    at ../src/common/init.cpp:460
#24 0xb74b44b7 in wxEntry (argc=@0xbfcc7260, argv=0xbfcc72e4)
    at ../src/common/init.cpp:472
#25 0x082ac21d in main (argc=Cannot access memory at address 0xe05
) at ../../src/amule-gui.cpp:95

bt full

Code: [Select]
#0  0xb7fc5430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb71a48a0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb71a6268 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb73c7655 in __cxxabiv1::__terminate (handler=0x808a378 <abort@plt>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
No locals.
#4  0xb73c7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
No locals.
#5  0xb73c77ca in __cxa_throw (obj=0xb73f68f0, tinfo=0x86e5a6c,
    dest=0xb73c7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
header = <value optimized out>
#6  0xb73c7e23 in operator new (sz=24)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
handler = <value optimized out>
p = <value optimized out>
#7  0xb74ac556 in wxObjectList::CreateNode (this=0xa7e2be0, prev=0x4fff70,
    next=0x0, data=0x4fffb0, key=@0xb75ac750) at ../include/wx/list.h:1178
No locals.
---Type <return> to continue, or q <return> to quit---
#8  0xb74c1759 in wxListBase::Append (this=0xa7e2be0, object=0x4fffb0)
    at ../src/common/list.cpp:244
node = <value optimized out>
__FUNCTION__ = "Append"
#9  0xb7529be7 in wxEvtHandler::AddPendingEvent (this=0x86e80c0,
    event=@0xbfcc6ef0) at ../include/wx/list.h:1178
eventCopy = <value optimized out>
__FUNCTION__ = "AddPendingEvent"
#10 0xb75cdd58 in wxSocketBase::OnRequest (this=0xaef0450,
    notification=wxSOCKET_OUTPUT) at ../src/common/socket.cpp:1006
event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x86e1488,
      static ms_classInfo = {m_className = 0xb75591a4, m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
        static sm_first = 0xb7a568cc, m_next = 0xb75ad8c4,
        static sm_classTable = 0x9e3d3e8}, m_refData = 0x0},
    m_eventObject = 0xaef0450, m_eventType = 10002, m_timeStamp = 0,
    m_id = 6123, m_callbackUserData = 0x0, m_propagationLevel = 0,
    m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0xb756a708, m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0xb75ad858, m_baseInfo2 = 0x0,
      static sm_first = 0xb7a568cc, m_next = 0xb75ae908,
      static sm_classTable = 0x9e3d3e8}}, m_event = wxSOCKET_OUTPUT,
  m_clientData = 0x0, static ms_classInfo = {m_className = 0xb75d5008,
---Type <return> to continue, or q <return> to quit---
    m_objectSize = 44,
    m_objectConstructor = 0xb75cbe00 <wxSocketEvent::wxCreateObject()>,
    m_baseInfo1 = 0xb75ae920, m_baseInfo2 = 0x0, static sm_first = 0xb7a568cc,
    m_next = 0xb75de54c, static sm_classTable = 0x9e3d3e8}}
flag = <value optimized out>
#11 0xb75cde54 in wx_socket_callback (notification=GSOCK_OUTPUT,
    cdata=0xaef0450 "\b-M\b") at ../src/common/socket.cpp:942
No locals.
#12 0xb75d26bb in GSocket::Detected_Write (this=0xa9ea440)
    at ../src/unix/gsocket.cpp:1836
No locals.
#13 0xb771cbe7 in _GSocket_GDK_Input (data=0xa9ea440, source=97,
    condition=GDK_INPUT_WRITE) at ../src/gtk/gsockgtk.cpp:36
No locals.
#14 0xb6d654af in gdk_io_invoke (source=0xb5abdad0,
    condition=<value optimized out>, data=0xb5a269e0)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = GDK_INPUT_WRITE
#15 0xb6b0371d in g_io_unix_dispatch (source=0xb5aee5d8,
    callback=0xb6d65450 <gdk_io_invoke>, user_data=0xb5a269e0)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 6
#16 0xb6acc718 in IA__g_main_context_dispatch (context=0x9e6a918)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#17 0xb6acfdc3 in g_main_context_iterate (context=0x9e6a918, block=1,
    dispatch=1, self=0x9e6bec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 110
timeout = 0
some_ready = 1
nfds = 10
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xae0ca70
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#18 0xb6ad02e2 in IA__g_main_loop_run (loop=0xb5a02a98)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x9e6bec0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#19 0xb6efe3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xb5a00668
loop = (GMainLoop *) 0xb5a02a98
#20 0xb771b10b in wxEventLoop::Run (this=0xb5a00668)
---Type <return> to continue, or q <return> to quit---
    at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#21 0xb77bf3dc in wxAppBase::MainLoop (this=0x9e6a7d0)
    at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0xb5a00668}, m_pp = 0x9e6a810,
  m_pOld = 0x0}
#22 0xb77bf131 in wxAppBase::OnRun (this=0x6) at ../src/common/appcmn.cpp:367
No locals.
#23 0xb74b43fa in wxEntry (argc=@0xb75ac6cc, argv=0x9e58e38)
    at ../src/common/init.cpp:460
No locals.
#24 0xb74b44b7 in wxEntry (argc=@0xbfcc7260, argv=0xbfcc72e4)
    at ../src/common/init.cpp:472
No locals.
#25 0x082ac21d in main (argc=Cannot access memory at address 0xe05
) at ../../src/amule-gui.cpp:95
No locals.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #88 on: March 26, 2009, 10:34:42 PM »

thread apply all bt full

Code: [Select]
Thread 5 (Thread 0xb45aeb90 (LWP 3606)):
#0  allocator (this=0xb45ae12f) at /usr/include/c++/4.3/bits/allocator.h:98
No locals.
#1  0x083e8562 in get_backtrace (n=1)
    at ../../../../src/libs/common/MuleDebug.cpp:327
bt_array = {0x83e84ab, 0x83e9d9f, 0xb73c7655, 0xb73c7692, 0xb73c77ca,
  0xb73c7e23, 0x83e3555, 0xb7529bb5, 0x8190990, 0x83e3a04, 0xb7528036,
  0xb752813d, 0xb7f8550f, 0xb725aa0e, 0xb45ae104, 0x0, 0xb45ae108, 0xb45ae130,
  0xb45addd8, 0xb45ae138, 0xb45ae134, 0xb45ae114, 0xb45ae13c, 0x0, 0x0, 0x0,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb45ae140, 0x83e9b8e, 0x86a340c, 0x0, 0x0,
  0x83e9ae0, 0x40000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb45adfd4, 0x0,
  0xb45adfd8, 0xb45adfdc, 0x0, 0xb45adfe8, 0xb45adfe0, 0xb45adfe4, 0xb45adfec,
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb45adff0, 0xb72df5e5, 0x0,
  0x0, 0x0, 0xb72df430, 0x40000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
  0xbe85fe00, 0x4, 0xb73f3ff4, 0xbe85fe00, 0xb73fa8a4, 0xb45ae1a8, 0x83e9b8e,
  0xbe85fe00, 0xb45ae0e0, 0xb7fb42af, 0xb45ae0d0, 0x8052780, 0xb45ae0c4,
  0xb7fc77c4, 0x0, 0xb6744040, 0x5, 0x0, 0x1, 0x0, 0x0, 0x0}
bt_strings = (char **) 0xb17ae38
num_entries = 14
libname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxStrin---Type <return> to continue, or q <return> to quit---
g>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x5,
        _M_end_of_storage = 0xb8e}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0xb6744d50,
      _M_const_iterators = 0xb798cb00,
      _M_version = 3073535547}, <No data fields>},
  _M_guaranteed_capacity = 3073522812}
funcname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0x31d027d,
        _M_finish = 0xb45ae110,
        _M_end_of_storage = 0xb7fc7668}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x808225f,
      _M_const_iterators = 0x0, _M_version = 0}, <No data fields>},
  _M_guaranteed_capacity = 0}
address = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
      _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
        _M_end_of_storage = 0xb7fc2bbc}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu---Type <return> to continue, or q <return> to quit---
_debug::_Safe_sequence_base> = {_M_iterators = 0xb45ae0d0,
      _M_const_iterators = 0xb45ae0c4,
      _M_version = 1671450557}, <No data fields>},
  _M_guaranteed_capacity = 3080243968}
AllAddresses = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb73c6a7b}, <No data fields>}
out = {m_nSize = 3073515996, m_nCount = 1, m_pItems = 0xb7fc6ff4,
  m_autoSort = 189}
hasLineNumberInfo = 183
trace = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb6744d50}, <No data fields>}
__FUNCTION__ = "get_backtrace"
#2  0x083e9d9f in OnUnhandledException ()
    at ../../../../src/libs/common/MuleDebug.cpp:101
status = 0
dem = 0xb15780e0 "\bw��P"
name = 0xb73d1c73 "St9bad_alloc"
t = (class std::type_info *) 0x86e5a6c
output = (FILE *) 0xb72d3560
#3  0xb73c7655 in __cxxabiv1::__terminate (
    handler=0x83e9ae0 <OnUnhandledException()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
No locals.
---Type <return> to continue, or q <return> to quit---
#4  0xb73c7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
No locals.
#5  0xb73c77ca in __cxa_throw (obj=0xbe85fe20, tinfo=0x86e5a6c,
    dest=0xb73c7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
header = <value optimized out>
#6  0xb73c7e23 in operator new (sz=36)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
handler = <value optimized out>
p = <value optimized out>
#7  0x083e3555 in CTimerEvent::Clone (this=0xb45ae2ec)
    at ../../src/Timer.cpp:158
No locals.
#8  0xb7529bb5 in wxEvtHandler::AddPendingEvent (this=0x9e6a7d0,
    event=@0xb45ae2ec) at ../src/common/event.cpp:1130
eventCopy = <value optimized out>
__FUNCTION__ = "AddPendingEvent"
#9  0x08190990 in wxPostEvent (dest=0x9e6a7d0, event=@0xb45ae2ec)
    at /usr/include/wx-2.8/wx/event.h:2565
__FUNCTION__ = "wxPostEvent"
#10 0x083e3a04 in CTimerThread::Entry (this=0xa6824c0)
    at ../../src/Timer.cpp:68
---Type <return> to continue, or q <return> to quit---
now = 1139345247
sinceLast = 0
timeout = 100
evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x85c7608,
      static ms_classInfo = {m_className = 0xb75591a4, m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
        static sm_first = 0xb7a568cc, m_next = 0xb75ad8c4,
        static sm_classTable = 0x9e3d3e8}, m_refData = 0x0},
    m_eventObject = 0x0, m_eventType = 10244, m_timeStamp = 0, m_id = 6128,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false,
    m_isCommandEvent = false, static ms_classInfo = {m_className = 0xb756a708,
      m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0xb75ad858,
      m_baseInfo2 = 0x0, static sm_first = 0xb7a568cc, m_next = 0xb75ae908,
      static sm_classTable = 0x9e3d3e8}}, <No data fields>}
lastEvent = 1139345347
#11 0xb7528036 in wxThreadInternal::PthreadStart (thread=0xa6824c0)
    at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0xa681738
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#12 0xb752813d in wxPthreadStart (ptr=0xa6824c0)
    at ../src/unix/threadpsx.cpp:718
---Type <return> to continue, or q <return> to quit---
No locals.
#13 0xb7f8550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0xb725aa0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb55b0b90 (LWP 3604)):
#0  0xb7fc5430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f8c906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb752f168 in wxMicroSleep (microseconds=0) at ../src/unix/utilsunx.cpp:191
tmReq = {tv_sec = 0, tv_nsec = 625000000}
#3  0xb752f191 in wxMilliSleep (milliseconds=625)
    at ../src/unix/utilsunx.cpp:212
No locals.
#4  0xb752541d in wxThread::Sleep (milliseconds=625)
    at ../src/unix/threadpsx.cpp:986
No locals.
#5  0x081fd133 in UploadBandwidthThrottler::Entry (this=0xa4e9200)
    at ../../src/UploadBandwidthThrottler.cpp:324
timeSinceLastLoop = 0
minFragSize = 1300
---Type <return> to continue, or q <return> to quit---
doubleSendSize = 2600
bytesToSpend = 250368
sleepTime = 625
thisLoopTick = 1139346047
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 1139346047
realBytesToSpend = 58368999
allowedDataRate = 1536000
rememberedSlotCounter = 83
extraSleepTime = 625
sendLock = {m_isOk = false, m_mutex = @0xb7f94ff4}
#6  0xb7528036 in wxThreadInternal::PthreadStart (thread=0xa4e9200)
    at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0xa516358
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#7  0xb752813d in wxPthreadStart (ptr=0xa4e9200)
    at ../src/unix/threadpsx.cpp:718
No locals.
#8  0xb7f8550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb725aa0e in clone () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 1 (Thread 0xb6741700 (LWP 3589)):
#0  0xb7fc5430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb71a48a0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb71a6268 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb73c7655 in __cxxabiv1::__terminate (handler=0x808a378 <abort@plt>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
No locals.
#4  0xb73c7692 in std::terminate ()
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53
No locals.
#5  0xb73c77ca in __cxa_throw (obj=0xb73f68f0, tinfo=0x86e5a6c,
    dest=0xb73c7d00 <~bad_alloc>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:76
header = <value optimized out>
#6  0xb73c7e23 in operator new (sz=24)
    at ../../../../src/libstdc++-v3/libsupc++/new_op.cc:63
handler = <value optimized out>
p = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#7  0xb74ac556 in wxObjectList::CreateNode (this=0xa7e2be0, prev=0x4fff70,
    next=0x0, data=0x4fffb0, key=@0xb75ac750) at ../include/wx/list.h:1178
No locals.
#8  0xb74c1759 in wxListBase::Append (this=0xa7e2be0, object=0x4fffb0)
    at ../src/common/list.cpp:244
node = <value optimized out>
__FUNCTION__ = "Append"
#9  0xb7529be7 in wxEvtHandler::AddPendingEvent (this=0x86e80c0,
    event=@0xbfcc6ef0) at ../include/wx/list.h:1178
eventCopy = <value optimized out>
__FUNCTION__ = "AddPendingEvent"
#10 0xb75cdd58 in wxSocketBase::OnRequest (this=0xaef0450,
    notification=wxSOCKET_OUTPUT) at ../src/common/socket.cpp:1006
event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x86e1488,
      static ms_classInfo = {m_className = 0xb75591a4, m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
        static sm_first = 0xb7a568cc, m_next = 0xb75ad8c4,
        static sm_classTable = 0x9e3d3e8}, m_refData = 0x0},
    m_eventObject = 0xaef0450, m_eventType = 10002, m_timeStamp = 0,
    m_id = 6123, m_callbackUserData = 0x0, m_propagationLevel = 0,
    m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0xb756a708, m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0xb75ad858, m_baseInfo2 = 0x0,
---Type <return> to continue, or q <return> to quit---
      static sm_first = 0xb7a568cc, m_next = 0xb75ae908,
      static sm_classTable = 0x9e3d3e8}}, m_event = wxSOCKET_OUTPUT,
  m_clientData = 0x0, static ms_classInfo = {m_className = 0xb75d5008,
    m_objectSize = 44,
    m_objectConstructor = 0xb75cbe00 <wxSocketEvent::wxCreateObject()>,
    m_baseInfo1 = 0xb75ae920, m_baseInfo2 = 0x0, static sm_first = 0xb7a568cc,
    m_next = 0xb75de54c, static sm_classTable = 0x9e3d3e8}}
flag = <value optimized out>
#11 0xb75cde54 in wx_socket_callback (notification=GSOCK_OUTPUT,
    cdata=0xaef0450 "\b-M\b") at ../src/common/socket.cpp:942
No locals.
#12 0xb75d26bb in GSocket::Detected_Write (this=0xa9ea440)
    at ../src/unix/gsocket.cpp:1836
No locals.
#13 0xb771cbe7 in _GSocket_GDK_Input (data=0xa9ea440, source=97,
    condition=GDK_INPUT_WRITE) at ../src/gtk/gsockgtk.cpp:36
No locals.
#14 0xb6d654af in gdk_io_invoke (source=0xb5abdad0,
    condition=<value optimized out>, data=0xb5a269e0)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = GDK_INPUT_WRITE
#15 0xb6b0371d in g_io_unix_dispatch (source=0xb5aee5d8,
    callback=0xb6d65450 <gdk_io_invoke>, user_data=0xb5a269e0)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 6
#16 0xb6acc718 in IA__g_main_context_dispatch (context=0x9e6a918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#17 0xb6acfdc3 in g_main_context_iterate (context=0x9e6a918, block=1,
    dispatch=1, self=0x9e6bec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 110
timeout = 0
some_ready = 1
nfds = 10
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xae0ca70
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#18 0xb6ad02e2 in IA__g_main_loop_run (loop=0xb5a02a98)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x9e6bec0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#19 0xb6efe3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
---Type <return> to continue, or q <return> to quit---
init = (GtkInitFunction *) 0xb5a00668
loop = (GMainLoop *) 0xb5a02a98
#20 0xb771b10b in wxEventLoop::Run (this=0xb5a00668)
    at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#21 0xb77bf3dc in wxAppBase::MainLoop (this=0x9e6a7d0)
    at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0xb5a00668}, m_pp = 0x9e6a810,
  m_pOld = 0x0}
#22 0xb77bf131 in wxAppBase::OnRun (this=0x6) at ../src/common/appcmn.cpp:367
No locals.
#23 0xb74b43fa in wxEntry (argc=@0xb75ac6cc, argv=0x9e58e38)
    at ../src/common/init.cpp:460
No locals.
#24 0xb74b44b7 in wxEntry (argc=@0xbfcc7260, argv=0xbfcc72e4)
    at ../src/common/init.cpp:472
No locals.
#25 0x082ac21d in main (argc=Cannot access memory at address 0xe05
) at ../../src/amule-gui.cpp:95
No locals.

$ free

Code: [Select]
             total       used         free        shared    buffers   cached
Mem:        3111840    2995664        116176         0      32608    1426584
-/+ buffers/cache:     1536472       1575368
Swap:       9100780    2803216       6297564

$ ps axl | grep amule
Code: [Select]
0  1000  3575  3554  20   0 208212 63244 poll   S+   pts/0      0:03 gdb amule
0  1000  3589  3575  20   0 3144528 1045644 ptrace Tl pts/0    55:34 /usr/bin/amule
0  1000 22213 20750  20   0   3240   808 pipe_w S+   pts/1      0:00 grep amule

« Last Edit: March 26, 2009, 10:42:28 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #89 on: March 27, 2009, 02:47:50 AM »

$ free

Code: [Select]
            total
Mem:        3111840

$ ps axl | grep amule
Code: [Select]
F  UID   PID   PPID PRI  NI VSZ     RSS     WCHAN  STAT TTY    TIME COMMAND
0  1000  3589  3575  20   0 3144528 1045644 ptrace Tl pts/0    55:34 /usr/bin/amule

Good job RRM. Look, amule VSZ is more than 3Gb! This for one is a memory leak, or maybe you have more work than your system can handle memory-wise?

I'm going to bed right now, I'll have a closer look in the next days. Any expert in memory debugging?

[Puzzling, some other of your crashes doesn't seem related]
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 37