aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

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

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

RRM

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

It's strange, I'm working on it now.

Thank you for your work. Initially i thought it might not mean anything, but after adding
deb http://ppa.launchpad.net/amule-rc/ppa/ubuntu intrepid main
to the third party software of synaptic repositories, i got this message after reloading:
Code: [Select]
W: GPG error: deb http://ppa.launchpad.net intrepid release:
The following signatures could not be verified because the public key is not available:
NO_PUBKEY 1F7CABE920A90F1A

Amule crashed again.
bt:
Code: [Select]
#0  0x0af30419 in ?? ()
#1  0xb6e5d4af in gdk_io_invoke (source=0xb201c6e0,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#2  0xb6bfa71d in g_io_unix_dispatch (source=0xb2317a00,
    callback=0xb6e5d450 <gdk_io_invoke>, user_data=0xb202ecc0)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#3  0xb6bc3718 in IA__g_main_context_dispatch (context=0x95378d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#4  0xb6bc6dc3 in g_main_context_iterate (context=0x95378d0, block=1,
    dispatch=1, self=0x9538e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#5  0xb6bc72e2 in IA__g_main_loop_run (loop=0x95a25f8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#6  0xb6ff53a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#7  0xb77cae95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0xb78615ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb78611a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb7599a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7599c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x082a5b0d in ?? ()
---Type <return> to continue, or q <return> to quit---
#13 0xb7286685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#14 0x0808c301 in ?? ()
bt full:
Code: [Select]
#0  0x0af30419 in ?? ()
No symbol table info available.
#1  0xb6e5d4af in gdk_io_invoke (source=0xb201c6e0,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 183698448
#2  0xb6bfa71d in g_io_unix_dispatch (source=0xb2317a00,
    callback=0xb6e5d450 <gdk_io_invoke>, user_data=0xb202ecc0)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = G_IO_HUP
#3  0xb6bc3718 in IA__g_main_context_dispatch (context=0x95378d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6bc6dc3 in g_main_context_iterate (context=0x95378d0, block=1,
    dispatch=1, self=0x9538e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 2147483647
timeout = 4
some_ready = 1
nfds = 93
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xa78c688
__PRETTY_FUNCTION__ = "g_main_context_iterate"
---Type <return> to continue, or q <return> to quit---
#5  0xb6bc72e2 in IA__g_main_loop_run (loop=0x95a25f8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x9538e58
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb6ff53a9 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 *) 0x9d0dd40
loop = (GMainLoop *) 0x95a25f8
#7  0xb77cae95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0xb78615ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0xb78611a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0xb7599a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7599c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x082a5b0d in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#13 0xb7286685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#14 0x0808c301 in ?? ()
No symbol table info available.
« Last Edit: March 17, 2009, 08:23:48 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 #61 on: March 17, 2009, 11:07:00 PM »

Thank you for your work. Initially i thought it might not mean anything, but after adding
deb http://ppa.launchpad.net/amule-rc/ppa/ubuntu intrepid main
to the third party software of synaptic repositories, i got this message after reloading:
Code: [Select]
W: GPG error: deb http://ppa.launchpad.net intrepid release:
The following signatures could not be verified because the public key is not available:
NO_PUBKEY 1F7CABE920A90F1A

GPG error: = You didn't add GPG key of that repository.

Type this in a terminal to add GPG key:
Quote
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50F03E95F33A4402BAAC9BA71F7CA8E920A90F1A

And...

Ok. Done.
However, amule starts with the usual "no debugging symbols found"
Is that ok, or should it be configured differently?

Now fixed, thanks to GonoszTopi for help me;D ;D
« Last Edit: March 17, 2009, 11:09:10 PM by Festor »
Logged

RRM

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

GPG error: = You didn't add GPG key of that repository.

Type this in a terminal to add GPG key:
Quote
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50F03E95F33A4402BAAC9BA71F7CA8E920A90F1A

Man... How do you guys know all this stuff? ? ?  ::)
Do you eat code for breakfast?

Quote
Now fixed, thanks to GonoszTopi for help me;D ;D

Yes, amule very smoothly starts running now! (nothing about "no debugging symbols")
« Last Edit: March 17, 2009, 11:34:15 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 #63 on: March 18, 2009, 10:34:26 AM »

Im now trying to evoke another crash, by uploading dozens of MB/s
(I dont know why my provider lets me do that; my official uploadlimit is 10 MB/s)
downloading multiple popular files and allowing 500 connections.
So far Amule freezes every few seconds, but no glib warnings and
no crash yet...
« Last Edit: March 18, 2009, 12:03:10 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 #64 on: March 18, 2009, 12:06:53 PM »

Ah, ok, Amule SVN rev. 9522 has crashed now.
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6743700 (LWP 26439)]
0x00000000 in ?? ()

bt
Code: [Select]
#0  0x00000000 in ?? ()
#1  0xb6d674af in gdk_io_invoke (source=0xac9aaa00,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#2  0xb6b0571d in g_io_unix_dispatch (source=0xadd418c8,
    callback=0xb6d67450 <gdk_io_invoke>, user_data=0xaf99afd8)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#3  0xb6ace718 in IA__g_main_context_dispatch (context=0x89b78d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#4  0xb6ad1dc3 in g_main_context_iterate (context=0x89b78d0, block=1,
    dispatch=1, self=0x89b8e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#5  0xb6ad22e2 in IA__g_main_loop_run (loop=0x91949c8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#6  0xb6f003a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#7  0xb76d5e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0xb776c5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb776c1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb74a4a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb74a4c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x082a5c3d in main (argc=1, argv=0xb6b4b460) at ../../src/amule-gui.cpp:95

bt full; "no symbol table available"?
Code: [Select]
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb6d674af in gdk_io_invoke (source=0xac9aaa00,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 161713880
#2  0xb6b0571d in g_io_unix_dispatch (source=0xadd418c8,
    callback=0xb6d67450 <gdk_io_invoke>, user_data=0xaf99afd8)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 0
#3  0xb6ace718 in IA__g_main_context_dispatch (context=0x89b78d0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6ad1dc3 in g_main_context_iterate (context=0x89b78d0, block=1,
    dispatch=1, self=0x89b8e58)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 0
timeout = 0
some_ready = 1
nfds = 341
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xa239a50
__PRETTY_FUNCTION__ = "g_main_context_iterate"
---Type <return> to continue, or q <return> to quit---
#5  0xb6ad22e2 in IA__g_main_loop_run (loop=0x91949c8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x89b8e58
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb6f003a9 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 *) 0x8f33400
loop = (GMainLoop *) 0x91949c8
#7  0xb76d5e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0xb776c5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0xb776c1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0xb74a4a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb74a4c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x082a5c3d in main (argc=1, argv=0xb6b4b460) 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 #65 on: March 18, 2009, 12:50:15 PM »

Cut connections back to 300.
And another crash:
Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb5651b90 (LWP 17925)]
0xb7fb5430 in __kernel_vsyscall ()

an extensive bt
Code: [Select]
#0  0xb7fb5430 in __kernel_vsyscall ()
#1  0xb72378a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7239268 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb745a655 in ?? () from /usr/lib/libstdc++.so.6
#4  0xb745a692 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0xb745a74b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#6  0x0820286b in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_new_elements_at_front (this=0xa1e2c18,
    __new_elems=2) at /usr/include/c++/4.3/bits/deque.tcc:734
#7  0x082028d3 in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_reserve_elements_at_front (this=0xa1e2c18, __n=2)
    at /usr/include/c++/4.3/bits/stl_deque.h:1635
#8  0x0820381f in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_range_insert_aux<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __pos=
      {_M_cur = 0xb5650bcc, _M_first = 0xb5650bac, _M_last = 0xb5650b8c, _M_node = 0xb7f78000}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650bac, _M_version = 3043298188, _M_prior = 0xb7f78000, _M_next = 0xb7349b5f}, _M_current = {_M_cur = 0x4605, _M_first = 0x0, _M_last = 0x1, _M_node = 0xb5b00048}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650b8c, _M_vers---Type <return> to continue, or q <return> to quit---
ion = 3086450688, _M_prior = 0xb7349b5f, _M_next = 0x4605}, _M_current = {_M_cur = 0x0, _M_first = 0x1, _M_last = 0xb5b00048, _M_node = 0xb727cb74}})
    at /usr/include/c++/4.3/bits/deque.tcc:440
#9  0x08203cfe in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_insert_dispatch<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __pos=
      {_M_cur = 0xb5650c50, _M_first = 0xb5650c30, _M_last = 0xb5650c10, _M_node = 0xa2b3108}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650c30, _M_version = 3043298320, _M_prior = 0xa2b3108, _M_next = 0xb5650c50}, _M_current = {_M_cur = 0xb5650c28, _M_first = 0x81fc736, _M_last = 0xa1e2ca8, _M_node = 0x5f414}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650c10, _M_version = 170602760, _M_prior = 0xb5650c50, _M_next = 0xb5650c28}, _M_current = {_M_cur = 0x81fc736, _M_first = 0xa1e2ca8, _M_last = 0x5f414, _M_node = 0xb5650c30}}) at /usr/include/c++/4.3/bits/stl_deque.h:1544
#10 0x08203dca in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::insert<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __position=
---Type <return> to continue, or q <return> to quit---
      {_M_cur = 0xb5651090, _M_first = 0xb5651070, _M_last = 0xb5651050, _M_node = 0xb5650d38}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5651070, _M_version = 3043299408, _M_prior = 0xb5650d38, _M_next = 0xb727d951}, _M_current = {_M_cur = 0x0, _M_first = 0x1000, _M_last = 0x3, _M_node = 0x22}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5651050, _M_version = 3043298616, _M_prior = 0xb727d951, _M_next = 0x0}, _M_current = {_M_cur = 0x1000, _M_first = 0x3, _M_last = 0x22, _M_node = 0xffffffff}})
    at /usr/include/c++/4.3/bits/stl_deque.h:1301
#11 0x0820402b in std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::insert<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __position=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb56511bc, _M_version = 3043299740, _M_prior = 0xb565117c, _M_next = 0x0}, _M_current = {_M_cur = 0x0, _M_first = 0xffffff50, _M_last = 0xffffffff, _M_node = 0x0}}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb565119c, _M_version = 3043299708, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_cur = 0xffffff50, _M_first = 0xffffffff, _M_last = 0x0, _M_node = 0xaf}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb565117c, _M_version = 0, _M_prior = 0x0, _M_next = 0xffffff50}, _M_current = {_M_cur = 0xffffffff, _M_first = 0x0, _M_last = 0xaf, _M_node = 0x60e4b3e7}})
---Type <return> to continue, or q <return> to quit---
    at /usr/include/c++/4.3/debug/deque:329
#12 0x081f8a5f in UploadBandwidthThrottler::Entry (this=0xa1e2c00)
    at ../../src/UploadBandwidthThrottler.cpp:376
#13 0xb7599203 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb759927d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb7f7550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb72eda0e in clone () from /lib/tls/i686/cmov/libc.so.6

bt full ("no symbol table available")
Code: [Select]
#0  0xb7fb5430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb72378a0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7239268 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb745a655 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0xb745a692 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0xb745a74b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x0820286b in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_new_elements_at_front (this=0xa1e2c18,
    __new_elems=2) at /usr/include/c++/4.3/bits/deque.tcc:734
__new_nodes = 1
__i = 1
#7  0x082028d3 in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_reserve_elements_at_front (this=0xa1e2c18, __n=2)
    at /usr/include/c++/4.3/bits/stl_deque.h:1635
__vacancies = 0
#8  0x0820381f in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_range_insert_aux<__gnu_debug::_Safe_iterator<std::__---Type <return> to continue, or q <return> to quit---
norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __pos=
      {_M_cur = 0xb5650bcc, _M_first = 0xb5650bac, _M_last = 0xb5650b8c, _M_node = 0xb7f78000}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650bac, _M_version = 3043298188, _M_prior = 0xb7f78000, _M_next = 0xb7349b5f}, _M_current = {_M_cur = 0x4605, _M_first = 0x0, _M_last = 0x1, _M_node = 0xb5b00048}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650b8c, _M_version = 3086450688, _M_prior = 0xb7349b5f, _M_next = 0x4605}, _M_current = {_M_cur = 0x0, _M_first = 0x1, _M_last = 0xb5b00048, _M_node = 0xb727cb74}})
    at /usr/include/c++/4.3/bits/deque.tcc:440
__new_start = {_M_cur = 0xb7487c8c, _M_first = 0x7fffffff,
  _M_last = 0xa4727fff, _M_node = 0xb5650b48}
__n = 2
#9  0x08203cfe in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_insert_dispatch<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __pos=
      {_M_cur = 0xb5650c50, _M_first = 0xb5650c30, _M_last = 0xb5650c10, _M_node = 0xa2b3108}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650c30, _M_vers---Type <return> to continue, or q <return> to quit---
ion = 3043298320, _M_prior = 0xa2b3108, _M_next = 0xb5650c50}, _M_current = {_M_cur = 0xb5650c28, _M_first = 0x81fc736, _M_last = 0xa1e2ca8, _M_node = 0x5f414}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5650c10, _M_version = 170602760, _M_prior = 0xb5650c50, _M_next = 0xb5650c28}, _M_current = {_M_cur = 0x81fc736, _M_first = 0xa1e2ca8, _M_last = 0x5f414, _M_node = 0xb5650c30}}) at /usr/include/c++/4.3/bits/stl_deque.h:1544
No locals.
#10 0x08203dca in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::insert<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __position=
      {_M_cur = 0xb5651090, _M_first = 0xb5651070, _M_last = 0xb5651050, _M_node = 0xb5650d38}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5651070, _M_version = 3043299408, _M_prior = 0xb5650d38, _M_next = 0xb727d951}, _M_current = {_M_cur = 0x0, _M_first = 0x1000, _M_last = 0x3, _M_node = 0x22}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb5651050, _M_version = 3043298616, _M_prior = 0xb727d951, _M_next = 0x0}, _M_current = {_M_cur = 0x1000, _M_first = 0x3, _M_last = 0x22, _M_node = 0xffffffff}})
    at /usr/include/c++/4.3/bits/stl_deque.h:1301
No locals.
---Type <return> to continue, or q <return> to quit---
#11 0x0820402b in std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::insert<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0xa1e2c18, __position=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb56511bc, _M_version = 3043299740, _M_prior = 0xb565117c, _M_next = 0x0}, _M_current = {_M_cur = 0x0, _M_first = 0xffffff50, _M_last = 0xffffffff, _M_node = 0x0}}, __first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb565119c, _M_version = 3043299708, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_cur = 0xffffff50, _M_first = 0xffffffff, _M_last = 0x0, _M_node = 0xaf}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb565117c, _M_version = 0, _M_prior = 0x0, _M_next = 0xffffff50}, _M_current = {_M_cur = 0xffffffff, _M_first = 0x0, _M_last = 0xaf, _M_node = 0x60e4b3e7}})
    at /usr/include/c++/4.3/debug/deque:329
No locals.
#12 0x081f8a5f in UploadBandwidthThrottler::Entry (this=0xa1e2c00)
    at ../../src/UploadBandwidthThrottler.cpp:376
queueLock = {m_isOk = true, m_mutex = @0xa1e2c14}
spentBytes = 0
spentOverhead = 0
sendLock = {m_isOk = true, m_mutex = @0xa1e2c10}
maxSlot = 175
---Type <return> to continue, or q <return> to quit---
timeSinceLastLoop = 1000
minFragSize = 1300
doubleSendSize = 2600
bytesToSpend = 1625600
sleepTime = 1000
thisLoopTick = 425699792
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 425699792
realBytesToSpend = 1625600999
allowedDataRate = 1536000
rememberedSlotCounter = 10
extraSleepTime = 1000
sendLock = {m_isOk = false, m_mutex = @0x0}
#13 0xb7599203 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#14 0xb759927d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xb7f7550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#16 0xb72eda0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
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 #66 on: March 18, 2009, 01:19:21 PM »

I found something of symbol table and gdb:

http://www.cs.utah.edu/dept/old/texinfo/gdb/gdb_13.html

RRM

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

http://www.cs.utah.edu/dept/old/texinfo/gdb/gdb_13.html

I probably totally misunderstand, but does it say that by using the file command
i can have the symbol table available in/for the amule gdb?
If so, what line should i start it with?
« Last Edit: March 18, 2009, 06:50:52 PM by RRM »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
RRM's epic struggle for a better aMule on high-speed connections
« Reply #68 on: March 18, 2009, 11:07:22 PM »

Do you eat code for breakfast?
No. Not only. We eat and drink code for luch and dinner, too (and sometimes inbetween).

About "No symbol table info available.":
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
The program has made a jump to an invalid address (#00000000) which does not belong to any program. It's normal that there's no symbol table information for this address.

Code: [Select]
#0  0xb7fb5430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb72378a0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
It is also normal that you don't have debugging information for the kernel and for system libraries.

Code: [Select]
#13 0xb7599203 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
...and similar ones: Now you have full debugging support for aMule itself, but not for the libraries it uses (wxWidgets in this case). You'd need to install a debug-enabled version of wxWidgets to get symbol table information.
Logged
concordia cum veritate

Festor

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

Code: [Select]
#13 0xb7599203 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
You'd need to install a debug-enabled version of wxWidgets to get symbol table information.

In Ubuntu 8.10 -> libwxbase2.8-dbg, libwxgtk2.8-dbg and wx2.8-headers packages
« Last Edit: March 19, 2009, 06:00:22 PM by Festor »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #70 on: March 19, 2009, 07:24:42 AM »

You'd need to install a debug-enabled version of wxWidgets to get symbol table information.

In Ubuntu 8.10 -> libwxbase2.8-dbg, libwxgtk2.8-dbg and wx2.8-headers packages

Huh?, but these 3 already have been installed...
??
Maybe i need to reconfigure amule to enable debug?
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 #71 on: March 23, 2009, 07:59:35 PM »

Hi guys, sorry for the delay I was on holidays :)

Let's see:
  • RRM, you are doing a fantastic job! I guess in the next step you will get a perfect backtrace!
  • It seems you need some additional debugging packages, sudo aptitude install  libc6-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libstdc++6-4.3-dbg
  • Festor, for aMule to use correctly wx debug symbols in Ubuntu you have to configure it --with-wxdebug

So in short, RRM, install the debug libraries and wait for Festor to release fixed packages and you should finally get a perfect backtrace! Cheers and thanks for all the effort you are doing in order to improve amule.
« Last Edit: March 23, 2009, 08:01:59 PM by btkaos »
Logged

RRM

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

Thank you BTKaos, welcome back.
I hope your holiday was relaxing & fun!

Quote
It seems you need some additional debugging packages, sudo aptitude install  libc6-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libstdc++6-4.3-dbg

Thank you. Done.

Quote
Cheers and thanks for all the effort you are doing in order to improve amule.

Thank YOU
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 #73 on: March 25, 2009, 10:10:06 PM »

So in short, RRM, install the debug libraries and wait for Festor to release fixed packages and you should finally get a perfect backtrace! Cheers and thanks for all the effort you are doing in order to improve amule.

Sorry for the delay, should work fine now...  or I hope so ...  :-[

http://www.amule.org/amule/index.php?topic=16648.0

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 #74 on: March 26, 2009, 12:39:06 PM »

Fantastic work Festor! Let's see if we can debug now RRM's crash.
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 37