aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: Latest amule svn w/wx 2.8.12 still crashes  (Read 28489 times)

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #15 on: April 30, 2011, 06:09:04 PM »

I removed all distribution wx packages and rebuilt.  I am certain aMule uses wx 2.8.12 which I compile myself.  It is also verified with ldd.

There were three crashes in one evening and one over the nighttime.  I checked bt each time and all have the usual pattern with segv just after
Code: [Select]
_GSocket_GDK_Input (data=0x2db1b90, source=45, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
Quote
By the way, this is difficult to fix right now because wx 2.9 had a rewrite of sockets code, so I'm waiting until wx can be built against gtk head to start writing patches.

It is understandable that you must wait to attack the bug.  External dependencies force such things.

Can crash probability be decreased by restricting total connection count?  I think of disabling kad, reducing maximum connection count in preferences, etc.  Else is it only the number of uploads and downloads at each instant that matters?  I understand it may be a guess!  :)
Well kristof, you may try to reduce the number of active downloads/uploads. That is, start pausing files until amule stop crashing. Once you manage that, it would be helpful to know what the limit is, so I'll try to reproduce.
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #16 on: April 30, 2011, 11:50:21 PM »

Well kristof, you may try to reduce the number of active downloads/uploads. That is, start pausing files until amule stop crashing. Once you manage that, it would be helpful to know what the limit is, so I'll try to reproduce.

I will do that.  However, I can give an upper limit start.  With the following I crash aMule in 1-2 hours:

kad enabled
max simultaneousness connections 250
max new connections / 5 seconds 25
downloads 800
upload limit 64KB/second
download 150KB/second
slot allocation 4KB/sec

Overwhelming majority of files have few/slow/no sources.  Only 10-15 maximum can be seen to actively download at one time. Usually it is less than 10.

I also reported a high cpu use bug in this thread http://forum.amule.org/index.php?topic=18867.0  I don't know if these are related.  High cpu does not always happen.  Socket bug always happens.

It seems that disabling kad helps runtime but I have not yet kept records well enough to support my feeling.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #17 on: May 01, 2011, 05:56:31 AM »

I'd rather try limiting the number of connections than pause downloads.
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

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #18 on: May 02, 2011, 03:55:11 AM »

I'd rather try limiting the number of connections than pause downloads.

In Preferences / Connection / Max simultaneous connections ?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #19 on: May 02, 2011, 10:15:54 PM »

Yes.
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

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #20 on: May 03, 2011, 12:50:19 AM »

Latest trial:

kad disabled
max simultaneousness connections 100
max new connections / 5 seconds 25
downloads 800 (about 150 are stopped state)
upload limit 64KB/second
download 150KB/second
slot allocation 4KB/sec

aMule ran just less than 24 hours.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #21 on: May 03, 2011, 05:53:38 PM »

kristof, you could try running amule under gdb, maybe the backtrace will help.
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #22 on: May 03, 2011, 07:00:07 PM »

Lately, I always run amule under gdb.  I look at backtraces after every crash but I have stopped saving them because they all look the same.  It is always a segv in _GSocket_GDK_Input.  The backtrace of the offending thread is always the same.  I included below one of the last that I saved.

I can post all backtraces for future crashes if it is worthwhile.  I did not want to flood the thread with redundant information.

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x0000000002db1b80 in ?? ()
(gdb)


(gdb) bt
#0  0x0000000002db1b80 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2db1b90, source=45,
    condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#6  0x00007ffff6b133e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1a9a180)
    at ./src/gtk/evtloop.cpp:76
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310)
    at ./src/common/appcmn.cpp:312
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310)
    at ./src/common/appcmn.cpp:367
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790)
    at ./src/common/init.cpp:448
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398)
    at ./src/common/init.cpp:460
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398)
    at amule-gui.cpp:93
(gdb)


(gdb) bt full
#0  0x0000000002db1b80 in ?? ()
No symbol table info available.
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2db1b90, source=45,
    condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
        socket = 0x2db1b90
#2  0x00007ffff675499f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff6b133e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1a9a180)
    at ./src/gtk/evtloop.cpp:76
        __FUNCTION__ = "Run"
        activate = {m_evtLoopOld = 0x0}
        exitcode = 0
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310)
    at ./src/common/appcmn.cpp:312
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x1a9a180}, m_pp = 0x11eb388,
---Type <return> to continue, or q <return> to quit---
          m_pOld = 0x0}
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310)
    at ./src/common/appcmn.cpp:367
No locals.
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790)
    at ./src/common/init.cpp:448
        callOnExit = {<No data fields>}
        initializer = {m_ok = true}
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398)
    at ./src/common/init.cpp:460
No locals.
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398)
    at amule-gui.cpp:93
No locals.
(gdb)




(gdb) thread apply all bt

Thread 5 (Thread 0x7fffe75f8700 (LWP 14150)):
#0  0x00007ffff7bcae09 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x0000000000a5e1a7 in wxConditionInternal::WaitTimeout (this=0x1b647b0,
    milliseconds=100) at ./src/unix/threadpsx.cpp:405
#2  0x0000000000a60f80 in wxCondition::WaitTimeout (this=0x1b67eb8,
    milliseconds=100) at ./include/wx/thrimpl.cpp:258
#3  0x0000000000a5e6e7 in wxSemaphoreInternal::WaitTimeout (this=0x1b67eb0,
    milliseconds=100) at ./src/unix/threadpsx.cpp:552
#4  0x0000000000a612e2 in wxSemaphore::WaitTimeout (this=0x2308388,
    milliseconds=100) at ./include/wx/thrimpl.cpp:322
#5  0x000000000078090a in CTimerThread::Entry (this=0x2308350) at Timer.cpp:66
#6  0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x2308350)
    at ./src/unix/threadpsx.cpp:766
#7  0x0000000000a5e85e in wxPthreadStart (ptr=0x2308350)
    at ./src/unix/threadpsx.cpp:718
#8  0x00007ffff7bc6971 in start_thread () from /lib/libpthread.so.0
#9  0x00007ffff390a92d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffed3e3700 (LWP 14147)):
#0  0x00000000005ceae8 in std::__norm::_Deque_iterator<ThrottledControlSocket*, ---Type <return> to continue, or q <return> to quit---
ThrottledControlSocket*&, ThrottledControlSocket**>::operator++ (
    this=0x7fffed3e1410) at /usr/include/c++/4.4/bits/stl_deque.h:136
#1  0x00000000005d6a8c in std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (__first=..., __last=..., __result=...)
    at /usr/include/c++/4.4/bits/stl_algobase.h:345
#2  0x00000000005d6475 in std::__copy_move_a<false, __gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (__first=...,
    __last=..., __result=...) at /usr/include/c++/4.4/bits/stl_algobase.h:397
#3  0x00000000005d5b12 in std::__copy_move_a2<false, __gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (
    __first=..., __last=..., __result=...)
    at /usr/include/c++/4.4/bits/stl_algobase.h:436
#4  0x00000000005d472f in std::copy<__gnu_debug::_Safe_iterator<std::__norm::_De---Type <return> to continue, or q <return> to quit---
que_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (__first=..., __last=...,
    __result=...) at /usr/include/c++/4.4/bits/stl_algobase.h:468
#5  0x00000000005d591b in std::__uninitialized_copy<true>::uninitialized_copy<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (__first=..., __last=..., __result=...)
    at /usr/include/c++/4.4/bits/stl_uninitialized.h:93
#6  0x00000000005d43b9 in std::uninitialized_copy<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**> > (__first=...,
    __last=..., __result=...)
    at /usr/include/c++/4.4/bits/stl_uninitialized.h:117
#7  0x00000000005d2664 in std::__uninitialized_copy_a<__gnu_debug::_Safe_iterator<std::__norm::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > >, std::__norm::_Deque_iterator<ThrottledCon---Type <return> to continue, or q <return> to quit---
trolSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, ThrottledControlSocket*> (__first=..., __last=..., __result=...)
    at /usr/include/c++/4.4/bits/stl_uninitialized.h:257
#8  0x00000000005d0b49 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=0x193a608, __pos=...,
    __first=..., __last=...) at /usr/include/c++/4.4/bits/deque.tcc:473
#9  0x00000000005cee3c 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=0x193a608, __pos=..., __first=...,
    __last=...) at /usr/include/c++/4.4/bits/stl_deque.h:1593
#10 0x00000000005cd0a0 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=0x193a608, __position=..., __first=...,
    __last=...) at /usr/include/c++/4.4/bits/stl_deque.h:1350
#11 0x00000000005cb3e4 in std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::insert<__gnu_debug::_Safe_iterator<std::__norm---Type <return> to continue, or q <return> to quit---
::_Deque_iterator<ThrottledControlSocket*, ThrottledControlSocket*&, ThrottledControlSocket**>, std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> > > > (this=0x193a608, __position=..., __first=...,
    __last=...) at /usr/include/c++/4.4/debug/deque:360
#12 0x00000000005c9b5c in UploadBandwidthThrottler::Entry (this=0x193a570)
    at UploadBandwidthThrottler.cpp:358
#13 0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x193a570)
    at ./src/unix/threadpsx.cpp:766
#14 0x0000000000a5e85e in wxPthreadStart (ptr=0x193a570)
    at ./src/unix/threadpsx.cpp:718
#15 0x00007ffff7bc6971 in start_thread () from /lib/libpthread.so.0
#16 0x00007ffff390a92d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fca940 (LWP 14134)):
#0  0x0000000002db1b80 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2db1b90, source=45,
    condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#6  0x00007ffff6b133e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1a9a180)
    at ./src/gtk/evtloop.cpp:76
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310)
    at ./src/common/appcmn.cpp:312
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310)
    at ./src/common/appcmn.cpp:367
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790)
    at ./src/common/init.cpp:448
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398)
    at ./src/common/init.cpp:460
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398)
    at amule-gui.cpp:93
(gdb)

Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #23 on: May 03, 2011, 08:16:32 PM »

[Sorry for the new message but I don't see a button for editing my previous post.]

To be more exact it is always line 43 of gsockgtk.cpp.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #24 on: May 03, 2011, 08:33:38 PM »

[Sorry for the new message but I don't see a button for editing my previous post.]

To be more exact it is always line 43 of gsockgtk.cpp.
Ok Kristof, that backtrace is what we expected. Just one thing, could you install debug packages libgtk2.0-0-dbg libx11-6-dbg libstdc++6-4.4-dbg libc6-dbg and get the backtrace again?
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #25 on: May 03, 2011, 10:20:17 PM »

Ok Kristof, that backtrace is what we expected. Just one thing, could you install debug packages libgtk2.0-0-dbg libx11-6-dbg libstdc++6-4.4-dbg libc6-dbg and get the backtrace again?

Ok, installed.  I will post new backtraces once aMule crashes.
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #26 on: May 08, 2011, 03:32:07 PM »

Here is the latest crash.  Maximum connections set at 75 with kad enabled.  It was a few hours before aMule crashed.

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x0000000002f6c140 in ?? ()
(gdb) bt
#0  0x0000000002f6c140 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2f6c150, source=61, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#6  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1c4d330) at ./src/gtk/evtloop.cpp:76
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398) at ./src/common/init.cpp:460
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398) at amule-gui.cpp:93
(gdb) bt full
#0  0x0000000002f6c140 in ?? ()
No symbol table info available.
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2f6c150, source=61, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
        socket = 0x2f6c150
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
        closure = 0x2dd77d0
        gdk_cond = GDK_INPUT_WRITE
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
        tmp_list = 0x1d217b0
        functions = 0x0
        init = 0x7fffffffe1c0
        loop = <value optimized out>
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1c4d330) at ./src/gtk/evtloop.cpp:76
        __FUNCTION__ = "Run"
        activate = {m_evtLoopOld = 0x0}
        exitcode = 0
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x1c4d330}, m_pp = 0x11eb388, m_pOld = 0x0}
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
No locals.
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
        callOnExit = {<No data fields>}
        initializer = {m_ok = true}
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398) at ./src/common/init.cpp:460
No locals.
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398) at amule-gui.cpp:93
No locals.
(gdb) thread apply all bt

Thread 5 (Thread 0x7fffe75f8700 (LWP 8548)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000000000a5e1a7 in wxConditionInternal::WaitTimeout (this=0x1d212d0, milliseconds=100) at ./src/unix/threadpsx.cpp:405
#2  0x0000000000a60f80 in wxCondition::WaitTimeout (this=0x1aab158, milliseconds=100) at ./include/wx/thrimpl.cpp:258
#3  0x0000000000a5e6e7 in wxSemaphoreInternal::WaitTimeout (this=0x1aab150, milliseconds=100) at ./src/unix/threadpsx.cpp:552
#4  0x0000000000a612e2 in wxSemaphore::WaitTimeout (this=0x24df978, milliseconds=100) at ./include/wx/thrimpl.cpp:322
#5  0x000000000078090a in CTimerThread::Entry (this=0x24df940) at Timer.cpp:66
#6  0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x24df940) at ./src/unix/threadpsx.cpp:766
#7  0x0000000000a5e85e in wxPthreadStart (ptr=0x24df940) at ./src/unix/threadpsx.cpp:718
#8  0x00007ffff7bc6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007ffff390a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffed3e3700 (LWP 8545)):
#0  0x00007ffff7bce36d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000000000a664aa in wxMicroSleep (microseconds=625000) at ./src/unix/utilsunx.cpp:191
#2  0x0000000000a664cb in wxMilliSleep (milliseconds=625) at ./src/unix/utilsunx.cpp:212
#3  0x0000000000a5f1c6 in wxThread::Sleep (milliseconds=625) at ./src/unix/threadpsx.cpp:986
#4  0x00000000005c9868 in UploadBandwidthThrottler::Entry (this=0x1d41960) at UploadBandwidthThrottler.cpp:323
#5  0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x1d41960) at ./src/unix/threadpsx.cpp:766
#6  0x0000000000a5e85e in wxPthreadStart (ptr=0x1d41960) at ./src/unix/threadpsx.cpp:718
#7  0x00007ffff7bc6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007ffff390a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fca940 (LWP 8532)):
#0  0x0000000002f6c140 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x2f6c150, source=61, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
#3  0x00007ffff4996342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#4  0x00007ffff499a2a8 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff499a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#6  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#7  0x000000000096c780 in wxEventLoop::Run (this=0x1c4d330) at ./src/gtk/evtloop.cpp:76
#8  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
#9  0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
#10 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
#11 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe2ac, argv=0x7fffffffe398) at ./src/common/init.cpp:460
---Type <return> to continue, or q <return> to quit---
#12 0x0000000000638542 in main (argc=1, argv=0x7fffffffe398) at amule-gui.cpp:93
(gdb)

I first ran aMule with maximum connections set at 50.  aMule ran for days with no problem.   I enabled kad and it did not crash.  I lost patience so I changed maximum connections to 75.  aMule ran more than 24 hours.  The end began with high cpu as I have reported in another thread, 160-180% of dual core.  aMule used a large amount of memory, 1.1GB resident.  aMule took more and more memory.  The machine swapped continually.  aMule gui froze.  aMule continued to eat memory.  aMule was killed because of OOM at 4GB of memory used.  No bt from OOM.   :(  I had to restart aMule to get the bt above.  Luckily (?) it happened in some hours.
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #27 on: May 12, 2011, 08:25:43 PM »

With libglib2.0-0-dbg installed.

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00000000033980a0 in ?? ()
(gdb) bt
#0  0x00000000033980a0 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x33980b0, source=15, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
#3  0x00007ffff4996342 in g_main_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#4  g_main_context_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#5  0x00007ffff499a2a8 in g_main_context_iterate (context=0x11eb840, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#6  0x00007ffff499a7b5 in g_main_loop_run (loop=0x1cd4c50) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
#7  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#8  0x000000000096c780 in wxEventLoop::Run (this=0x1cd2f80) at ./src/gtk/evtloop.cpp:76
#9  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
#10 0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
#11 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
#12 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe29c, argv=0x7fffffffe388) at ./src/common/init.cpp:460
#13 0x0000000000638542 in main (argc=1, argv=0x7fffffffe388) at amule-gui.cpp:93
(gdb) bt full
#0  0x00000000033980a0 in ?? ()
No symbol table info available.
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x33980b0, source=15, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
        socket = 0x33980b0
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
        closure = 0x7fffe826ab60
        gdk_cond = GDK_INPUT_WRITE
#3  0x00007ffff4996342 in g_main_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
        dispatch = 0x7ffff49daa90 <g_io_unix_dispatch>
        user_data = 0x7fffe826ab60
        callback = 0x7ffff6754950 <gdk_io_invoke>
        cb_funcs = 0x7ffff4c36610
        cb_data = 0x7fffe82d9140
        current_source_link = {data = 0x7fffe818a1f0, next = 0x0}
        source = 0x7fffe818a1f0
        current = 0x1b6faa0
        i = 14
#4  g_main_context_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
No locals.
#5  0x00007ffff499a2a8 in g_main_context_iterate (context=0x11eb840, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 39
        allocated_nfds = 8731907
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#6  0x00007ffff499a7b5 in g_main_loop_run (loop=0x1cd4c50) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
        self = 0x11ec630
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#7  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
        tmp_list = 0x1cda300
        functions = 0x0
        init = 0x7fffffffe1b0
        loop = <value optimized out>
#8  0x000000000096c780 in wxEventLoop::Run (this=0x1cd2f80) at ./src/gtk/evtloop.cpp:76
        __FUNCTION__ = "Run"
        activate = {m_evtLoopOld = 0x0}
        exitcode = 0
#9  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x1cd2f80}, m_pp = 0x11eb388, m_pOld = 0x0}
#10 0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
No locals.
#11 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
        callOnExit = {<No data fields>}
        initializer = {m_ok = true}
#12 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe29c, argv=0x7fffffffe388) at ./src/common/init.cpp:460
No locals.
#13 0x0000000000638542 in main (argc=1, argv=0x7fffffffe388) at amule-gui.cpp:93
---Type <return> to continue, or q <return> to quit---
No locals.
(gdb) thread apply all bt

Thread 5 (Thread 0x7fffe75f8700 (LWP 11998)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000000000a5e1a7 in wxConditionInternal::WaitTimeout (this=0x251b5b0, milliseconds=100) at ./src/unix/threadpsx.cpp:405
#2  0x0000000000a60f80 in wxCondition::WaitTimeout (this=0x1a95ee8, milliseconds=100) at ./include/wx/thrimpl.cpp:258
#3  0x0000000000a5e6e7 in wxSemaphoreInternal::WaitTimeout (this=0x1a95ee0, milliseconds=100) at ./src/unix/threadpsx.cpp:552
#4  0x0000000000a612e2 in wxSemaphore::WaitTimeout (this=0x1b2bee8, milliseconds=100) at ./include/wx/thrimpl.cpp:322
#5  0x000000000078090a in CTimerThread::Entry (this=0x1b2beb0) at Timer.cpp:66
#6  0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x1b2beb0) at ./src/unix/threadpsx.cpp:766
#7  0x0000000000a5e85e in wxPthreadStart (ptr=0x1b2beb0) at ./src/unix/threadpsx.cpp:718
#8  0x00007ffff7bc6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007ffff390a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffed3e3700 (LWP 11995)):
#0  0x00007ffff7bce36d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000000000a664aa in wxMicroSleep (microseconds=1000) at ./src/unix/utilsunx.cpp:191
#2  0x0000000000a664cb in wxMilliSleep (milliseconds=1) at ./src/unix/utilsunx.cpp:212
#3  0x0000000000a5f1c6 in wxThread::Sleep (milliseconds=1) at ./src/unix/threadpsx.cpp:986
#4  0x00000000005c9868 in UploadBandwidthThrottler::Entry (this=0x1dc2100) at UploadBandwidthThrottler.cpp:323
#5  0x0000000000a5e9ae in wxThreadInternal::PthreadStart (thread=0x1dc2100) at ./src/unix/threadpsx.cpp:766
#6  0x0000000000a5e85e in wxPthreadStart (ptr=0x1dc2100) at ./src/unix/threadpsx.cpp:718
#7  0x00007ffff7bc6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007ffff390a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fca940 (LWP 11982)):
#0  0x00000000033980a0 in ?? ()
#1  0x000000000096ca64 in _GSocket_GDK_Input (data=0x33980b0, source=15, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:43
#2  0x00007ffff675499f in gdk_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdkevents.c:1082
#3  0x00007ffff4996342 in g_main_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#4  g_main_context_dispatch (context=0x11eb840) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#5  0x00007ffff499a2a8 in g_main_context_iterate (context=0x11eb840, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#6  0x00007ffff499a7b5 in g_main_loop_run (loop=0x1cd4c50) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
#7  0x00007ffff6b133e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#8  0x000000000096c780 in wxEventLoop::Run (this=0x1cd2f80) at ./src/gtk/evtloop.cpp:76
#9  0x00000000008c81ea in wxAppBase::MainLoop (this=0x11eb310) at ./src/common/appcmn.cpp:312
#10 0x00000000008c8364 in wxAppBase::OnRun (this=0x11eb310) at ./src/common/appcmn.cpp:367
#11 0x00000000009f952f in wxEntry (argc=@0x11ae6d0, argv=0x11da790) at ./src/common/init.cpp:448
#12 0x00000000009f9603 in wxEntry (argc=@0x7fffffffe29c, argv=0x7fffffffe388) at ./src/common/init.cpp:460
#13 0x0000000000638542 in main (argc=1, argv=0x7fffffffe388) at amule-gui.cpp:93
(gdb)
Logged

kristof

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #28 on: September 16, 2011, 06:54:04 AM »

Is this bug one that we might find to be fixed in 2.3.1 RC2?  I don't mean to pester.  I am asking only so I know whether to bother compiling the new version.  :)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Latest amule svn w/wx 2.8.12 still crashes
« Reply #29 on: September 16, 2011, 08:46:28 PM »

I'm afraid no.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 [2] 3