aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

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

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

RRM

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

Another high VSZ crash,
after just over one hour:

This was before the crash
Code: [Select]
$ cd /proc/`pidof amule`
/proc/18589$ ls fd | wc
    107     107     319
/proc/18589$ cd net
/proc/18589/net$ cat sockstat
sockets: used 770
TCP: inuse 91 orphan 4 tw 2 alloc 92 mem 2403
UDP: inuse 5 mem 4
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18589/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/18589/net$ wc tcp tcp6 udp udp6
95 1610 14250 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
104 1734 15494 total
/proc/18589/net$

a little later:
Code: [Select]
$ cd /proc/`pidof amule`
/proc/18589$ ls fd | wc
    159     159     526
/proc/18589$ cd net
/proc/18589/net$ cat sockstat
sockets: used 840
TCP: inuse 147 orphan 6 tw 2 alloc 148 mem 2951
UDP: inuse 5 mem 4
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18589/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/18589/net$ wc tcp tcp6 udp udp6
151 2552 22650 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
160 2676 23894 total

GDB aMule,
also before the crash:
Code: [Select]
$ cd /proc/`pidof gdb amule`
/proc/18587$ ls fd | wc
      6       6      12
/proc/18587$ cd net
/proc/18587/net$ cat sockstat
sockets: used 819
TCP: inuse 121 orphan 1 tw 8 alloc 122 mem 2615
UDP: inuse 5 mem 4
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18587/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/18587/net$ wc tcp tcp6 udp udp6
120 1975 18000 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
129 2099 19244 total

a little later (still before the crash)
Code: [Select]
$ cd /proc/`pidof gdb amule`
/proc/18587$ ls fd | wc
      6       6      12
/proc/18587$ cd net
/proc/18587/net$ cat sockstat
sockets: used 848
TCP: inuse 150 orphan 1 tw 0 alloc 151 mem 2993
UDP: inuse 5 mem 4
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18587/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/18587/net$ wc tcp tcp6 udp udp6
151 2562 22650 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
160 2686 23894 total

$ ps axl | grep amule
Code: [Select]
0  1000 18589 18587  20   0 159084 104872 -     Rl+  pts/0     32:59 /usr/local/stow/amule-stu-opt-debug/bin/amule
0  1000 18589 18587  20   0 163324 108792 log_wa Dl+ pts/0     36:54 /usr/local/stow/amule-stu-opt-debug/bin/amule
0  1000 18589 18587  20   0 165748 111064 futex_ Rl+ pts/0     43:45 /usr/local/stow/amule-stu-opt-debug/bin/amule
0  1000 18589 18587  20   0 168376 113616 futex_ Sl+ pts/0     55:42 /usr/local/stow/amule-stu-opt-debug/bin/amule
0  1000 18589 18587  20   0 3145724 2736672 ptrace Tl pts/0    66:19 /usr/local/stow/amule-stu-opt-debug/bin/amule

And after the crash:
Code: [Select]
$ cd /proc/`pidof amule`
/proc/18589$ ls fd | wc
    162     162     540
/proc/18589$ cd net
/proc/18589/net$ cat sockstat
sockets: used 842
TCP: inuse 105 orphan 0 tw 0 alloc 150 mem 3923
UDP: inuse 5 mem 31
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18589/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/18589/net$ wc tcp tcp6 udp udp6
122 1989 18300 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
131 2113 19544 total

Code: [Select]
$ cd /proc/`pidof gdb amule`
/proc/18587$ ls fd | wc
      6       6      12
/proc/18587$ cd net
/proc/18587/net$ cat sockstat
sockets: used 842
TCP: inuse 105 orphan 0 tw 0 alloc 150 mem 3941
UDP: inuse 5 mem 31
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/18587/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/18587/net$ wc tcp tcp6 udp udp6
121 1977 18150 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
130 2101 19394 total
« Last Edit: December 18, 2009, 06:47:18 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 #346 on: December 18, 2009, 06:44:29 PM »

Terminated after throwing an instance of 'std::bad_alloc'
   what(): std::bad_alloc
Error while getting symbol table : Memory exhausted   backtrace:
Code: [Select]
[2] ?? in /usr/lib/libstdc++.so.6 [0x9a3415]
[3] ?? in /usr/lib/libstdc++.so.6 [0x9a3452]
[4] ?? in /usr/lib/libstdc++.so.6 [0x9a3591]
[5] operator new(unsigned int) in /usr/lib/libstdc++.so.6[0x9a3c0f]
[6] wxSocketEvent::Clone() const in /usr/lib/libwx_baseu_net-2.8.so.0[0x7277f9]
[7] wxEvtHandler::AddPendingEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x84b888]
[8] wxSocketBase::OnRequest(wxSocketNotify) in /usr/lib/libwx_baseu_net-2.8.so.0[0x726920]
[9] wx_socket_callback in /usr/lib/libwx_baseu_net-2.8.so.0[0x726a14]
[10] GSocket::Detected_Write() in /usr/lib/libwx_baseu_net-2.8.so.0[0x72ba8b]
[11] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xbcd427]
[12] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x3b95f7c]
[13] ?? in /lib/libglib-2.0.so.0 [0x657dd5b]
[14] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x6546e78]
[15] ?? in /lib/libglib-2.0.so.0 [0x654a720]
[16] g_main_loop_run in /lib/libglib-2.0.so.0[0x654ab8f]
[17] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x1072419]
[18] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xbcbc78]
[19] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xc5ee3e]
[20] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xc5ea31]
[21] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7e67aa]
[22] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x7e6987]
[23] ?? in /usr/local/stow/amule-stu-opt-debug/bin/amule [0x817e3eb]
[24] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xe0db56]
[25]  in start.S:122


Program received signal SIGABRT, Aborted.
0x00156422 in __kernel_vsyscall ()
(gdb) bt full
Code: [Select]
#0  0x00156422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00e214d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00e24932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x08278df5 in OnUnhandledException() ()
No symbol table info available.
#4  0x009a3415 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x009a3452 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x009a3591 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x009a3c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x007277f9 in wxSocketEvent::Clone() const ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0x0084b888 in wxEvtHandler::AddPendingEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x00726920 in wxSocketBase::OnRequest(wxSocketNotify) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0x00726a14 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#12 0x0072ba8b in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#13 0x00bcd427 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0x03b95f7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#15 0x0657dd5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x06546e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x0654a720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x0654ab8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#19 0x01072419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x00bcbc78 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#21 0x00c5ee3e in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0x00c5ea31 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#23 0x007e67aa in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0x007e6987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#25 0x0817e3eb in main ()
No symbol table info available.

(gdb) thread apply all bt full
Code: [Select]
Thread 5 (Thread 0xb63e5b70 (LWP 18605)):
#0  0x00156422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0024d142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x00848854 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#3  0x008488af in wxCondition::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0x00849aa4 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00849b2f in wxSemaphore::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x082751c2 in CTimerThread::Entry() ()
No symbol table info available.
#7  0x0084aa98 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8  0x0084aafd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x0024880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#10 0x00ec37ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb73e8b70 (LWP 18603)):
#0  0x00156422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00250466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x008503b8 in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#3  0x008503e1 in wxMilliSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0x0084869d in wxThread::Sleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x0813fe88 in UploadBandwidthThrottler::Entry() ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#6  0x0084aa98 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x0084aafd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0x0024880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0x00ec37ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb7fdd760 (LWP 18589)):
#0  0x00156422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00e214d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00e24932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x08278df5 in OnUnhandledException() ()
No symbol table info available.
#4  0x009a3415 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x009a3452 in std::terminate() () from /usr/lib/libstdc++.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#6  0x009a3591 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x009a3c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x007277f9 in wxSocketEvent::Clone() const ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0x0084b888 in wxEvtHandler::AddPendingEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x00726920 in wxSocketBase::OnRequest(wxSocketNotify) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0x00726a14 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#12 0x0072ba8b in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#13 0x00bcd427 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0x03b95f7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#15 0x0657dd5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x06546e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x0654a720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x0654ab8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#19 0x01072419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x00bcbc78 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0x00c5ee3e in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0x00c5ea31 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#23 0x007e67aa in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0x007e6987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#25 0x0817e3eb in main ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
Logged

RRM

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

And another high VSZ crash:
$ ps axl | grep amule
Code: [Select]
0  1000 19635 19605  20   0  37920  2620 poll_s S+   pts/0      0:00 gdb amule
0  1000 19637 19635  20   0 3145724 2718752 ptrace Tl pts/0   145:26 /usr/local/stow/amule-stu-opt-debug/bin/amule
0  1000 20162 20117  20   0   3036   796 pipe_w S+   pts/1      0:00 grep amule


(process:19637): GLib-ERROR (recursed) **: /build/buildd/glib2.0-2.22.2/glib/gmem.c:175: failed to allocate 32 bytes
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb73e8b70 (LWP 19655)]
0x00240422 in __kernel_vsyscall ()
(gdb) bt full
Code: [Select]
#0  0x00240422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00f944d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00f97932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x01af0036 in g_logv () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x01af0066 in g_log () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x01aee219 in g_realloc () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x01b091cf in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#7  0x01b09d48 in g_string_insert_len () from /lib/libglib-2.0.so.0
No symbol table info available.
#8  0x01b0a12c in g_string_append () from /lib/libglib-2.0.so.0
No symbol table info available.
#9  0x01aef661 in g_log_default_handler () from /lib/libglib-2.0.so.0
No symbol table info available.
#10 0x01aefbfa in g_logv () from /lib/libglib-2.0.so.0
No symbol table info available.
#11 0x01af0066 in g_log () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x01aee295 in g_malloc0 () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x01ae5570 in g_source_new () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x01b1ce89 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x01ada819 in g_io_create_watch () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x01add703 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x002e1e8b in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#18 0x002e1ede in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#19 0x00ab56c5 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0x003a975d in GSocket::Enable(GSocketEvent) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#21 0x003aab2a in GSocket::Write(char const*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#22 0x003a5db6 in wxSocketBase::_Write(void const*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#23 0x003a5f27 in wxSocketBase::Write(void const*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#24 0x0823832d in CSocketClientProxy::Write(void const*, unsigned int) ()
No symbol table info available.
#25 0x080f017c in CEncryptedStreamSocket::Write(void const*, unsigned int) ()
No symbol table info available.
#26 0x080ef477 in CEMSocket::Send(unsigned int, unsigned int, bool) ()
No symbol table info available.
#27 0x080b6c44 in CClientTCPSocket::SendFileAndControlData(unsigned int, unsigned int) ()
No symbol table info available.
#28 0x0813f50a in UploadBandwidthThrottler::Entry() ()
No symbol table info available.
#29 0x00f00a98 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#30 0x00f00afd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#31 0x002b180e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#32 0x010367ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt full
Code: [Select]

Thread 5 (Thread 0xb63e5b70 (LWP 19657)):
#0  0x00240422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x002b8829 in __lll_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x002b3f4a in _L_lock_832 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#3  0x002b3dc8 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#4  0x0106c7f9 in dl_iterate_phdr () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0x002366ff in _Unwind_Find_FDE () from /lib/libgcc_s.so.1
No symbol table info available.
#6  0x00233d4d in ?? () from /lib/libgcc_s.so.1
No symbol table info available.
#7  0x00234be0 in _Unwind_RaiseException () from /lib/libgcc_s.so.1
No symbol table info available.
#8  0x00904584 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#9  0x00904c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#10 0x00e95463 in wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxLi---Type <return> to continue, or q <return> to quit---
stKey const&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x00ea7d4b in wxListBase::Append(void*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x00f018b2 in wxEvtHandler::AddPendingEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0x082751e0 in CTimerThread::Entry() ()
No symbol table info available.
#14 0x00f00a98 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0x00f00afd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x002b180e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#17 0x010367ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb73e8b70 (LWP 19655)):
#0  0x00240422 in __kernel_vsyscall ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x00f944d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00f97932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x01af0036 in g_logv () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x01af0066 in g_log () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x01aee219 in g_realloc () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x01b091cf in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#7  0x01b09d48 in g_string_insert_len () from /lib/libglib-2.0.so.0
No symbol table info available.
#8  0x01b0a12c in g_string_append () from /lib/libglib-2.0.so.0
No symbol table info available.
#9  0x01aef661 in g_log_default_handler () from /lib/libglib-2.0.so.0
No symbol table info available.
#10 0x01aefbfa in g_logv () from /lib/libglib-2.0.so.0
No symbol table info available.
#11 0x01af0066 in g_log () from /lib/libglib-2.0.so.0
No symbol table info available.
#12 0x01aee295 in g_malloc0 () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#13 0x01ae5570 in g_source_new () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x01b1ce89 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x01ada819 in g_io_create_watch () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x01add703 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x002e1e8b in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#18 0x002e1ede in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#19 0x00ab56c5 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0x003a975d in GSocket::Enable(GSocketEvent) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#21 0x003aab2a in GSocket::Write(char const*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#22 0x003a5db6 in wxSocketBase::_Write(void const*, unsigned int) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#23 0x003a5f27 in wxSocketBase::Write(void const*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#24 0x0823832d in CSocketClientProxy::Write(void const*, unsigned int) ()
No symbol table info available.
#25 0x080f017c in CEncryptedStreamSocket::Write(void const*, unsigned int) ()
No symbol table info available.
#26 0x080ef477 in CEMSocket::Send(unsigned int, unsigned int, bool) ()
No symbol table info available.
#27 0x080b6c44 in CClientTCPSocket::SendFileAndControlData(unsigned int, unsigned int) ()
No symbol table info available.
#28 0x0813f50a in UploadBandwidthThrottler::Entry() ()
No symbol table info available.
#29 0x00f00a98 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#30 0x00f00afd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#31 0x002b180e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#32 0x010367ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb7fdd760 (LWP 19637)):
#0  0x0106c8e8 in dl_iterate_phdr () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0x002366ff in _Unwind_Find_FDE () from /lib/libgcc_s.so.1
No symbol table info available.
#2  0x00233d4d in ?? () from /lib/libgcc_s.so.1
No symbol table info available.
#3  0x00234be0 in _Unwind_RaiseException () from /lib/libgcc_s.so.1
No symbol table info available.
#4  0x00904584 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x00904c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x00e95463 in wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00ea7d4b in wxListBase::Append(void*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0x00f018b2 in wxEvtHandler::AddPendingEvent(wxEvent&) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x003a6920 in wxSocketBase::OnRequest(wxSocketNotify) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#10 0x003a6a14 in wx_socket_callback () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0x003aba8b in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#12 0x00ab5427 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0x002e1f7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#14 0x01b1cd5b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x01ae5e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x01ae9720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x01ae9b8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x04704419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00ab3c78 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0x00b46e3e in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0x00b46a31 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0x00e9c7aa in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0x00e9c987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0x0817e3eb in main ()
No symbol table info available.
« Last Edit: December 18, 2009, 09:49:27 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 #348 on: December 18, 2009, 09:55:25 PM »

Code: [Select]
$ cd /proc/`pidof amule`
/proc/19637$ ls fd | wc
    136     136     437
/proc/19637$ cd net
/proc/19637/net$ cat sockstat
sockets: used 816
TCP: inuse 88 orphan 0 tw 0 alloc 125 mem 3543
UDP: inuse 5 mem 31
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/19637/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/19637/net$ wc tcp tcp6 udp udp6
105 1700 15750 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
114 1824 16994 total

and gdb

Code: [Select]
$ cd /proc/`pidof gdb amule`
/proc/19635$ ls fd | wc
      6       6      12
/proc/19635$ cd net
/proc/19635/net$ cat sockstat
sockets: used 816
TCP: inuse 88 orphan 0 tw 0 alloc 125 mem 3543
UDP: inuse 5 mem 31
UDPLITE: inuse 0
RAW: inuse 0
FRAG: inuse 0 memory 0
/proc/19635/net$ cat sockstat6
TCP6: inuse 1
UDP6: inuse 0
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0
/proc/19635/net$ wc tcp tcp6 udp udp6
104 1688 15600 tcp
2 29 313 tcp6
6 80 768 udp
1 15 163 udp6
113 1812 16844 total

taking my foot off the gaspedal again...
« Last Edit: December 18, 2009, 10:01:21 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #349 on: December 19, 2009, 06:18:01 PM »

All right, thanks RRM, I guess this new information rules out problem with an excessive number of sockets/files.

I don't need the /proc information anymore, the one you posted is enough.

I'm still clueless, let's see if I can dig a little bit.
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 #350 on: December 19, 2009, 06:37:29 PM »

Let's try something else. Maybe it's a problem in wx's network code? I've made a test build with wx 2.9 which has it's network code widely rewritten. Build system is Karmic 32.
RRM please try it out and tell me if it crashes too.
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 #351 on: December 19, 2009, 10:23:59 PM »

I've made a test build with wx 2.9 ...
RRM please try it out

OK, ive downloaded it.
Sorry, for asking, but how do i need to install it?
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 #352 on: December 19, 2009, 11:25:20 PM »

Unpack it with gzip -d amule.gz and just run it with ./amule  :)
(If you want national language support you have to move it to the place where your build before installed it. And there is a visual glitch that the category tabs are not displayed, but that shouldn't affect the transfer problem.)
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 #353 on: December 20, 2009, 03:11:11 PM »

I've made a test build with wx 2.9

Thats weird.
I unpacked and moved the file into my ~/tmp file,
which now contains:
amule-stu (folder)
amule-upstream (folder)
amule (the executable you just supplied me with)
and called: ~/tmp$ amule

aMule starts running, but it says: "Initialising aMule SVN using wxGTK2 v2.8.10 (Snapshot: rev. 9901)"
which should be v2.9, no?
« Last Edit: December 20, 2009, 03:17:23 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 #354 on: December 20, 2009, 03:16:57 PM »

"amule" will call your installed version of aMule. Please execute "./amule", this will execute aMule in your current working directory (i.e. ~/tmp in your case).
Logged

RRM

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

Thank you!
I tried that, but then it said: bash: ./amule: Permission denied
« Last Edit: December 20, 2009, 03:21:24 PM by RRM »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: RRM's epic struggle for a better aMule on high-speed connections
« Reply #356 on: December 20, 2009, 03:24:06 PM »

You have to permit execution for this file. Just do "chmod u+x amule" and try again.
Logged
Homefucking is killing prostitution

RRM

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

Cool, that works!!!

"Initialising aMule SVN using wxGTK2 v2.9.1 (Debugging) (Snapshot: rev. 9900)"
Logged

RRM

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

Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

The wxGTK2 v2.9.1 amule version has crashed.
I dont know whether its a high VSZ crash, because i cannot get it from
$ ps axl | grep amule
just
Code: [Select]
0  1000 12846 12671  20   0   3036   792 pipe_w S+   pts/1      0:00 grep amule
while i could get it before the crash (to monitor the build-up of VSZ)

And i also dont have a backtrace because i didnt use (gdb).
Can i do that with this version?
Maybe by calling something like $ gdb ./amule ?

« Last Edit: December 20, 2009, 05:07:17 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 #359 on: December 20, 2009, 04:53:52 PM »

Quote
And i dont have a backtrace because i didnt use (gdb).
Can i do that with this version?
Maybe by calling something like $ gdb ./amule ?

Ha haaaa, yes, that works!!!  8)

... moving on to the next crash...

but how to get the "ps axl | grep amule" after the crash?
why couldnt i get it?
« Last Edit: December 20, 2009, 05:09:15 PM by RRM »
Logged
Pages: 1 ... 22 23 [24] 25 26 ... 37