aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule SVN 2.8.7 (08/02/18) crashed in Unbuntu 8.04 at amd64  (Read 2576 times)

Basajaun73

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amule SVN 2.8.7 (08/02/18) crashed in Unbuntu 8.04 at amd64
« on: September 11, 2008, 05:02:09 PM »

Hi. In the last month amule crashed every times, sometimes in few minutes otherways after some hours.
I have an AMD64 3200+ with 2GB RAM running Ubuntu 8.04.
Yesterday i probed to start from terminal to view the error messages and this appears

-
Code: [Select]
---------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN using wxGTK2 v2.8.7 (Snapshot: Mon Feb 18 07:02:15 CET 2008)
Running on: Linux 2.6.24-19-generic x86_64

[2] wxThreadHelperThread::~wxThreadHelperThread() in amule [0x4495b5]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7ff7e5f5986c]
[4] ?? in /lib/libpthread.so.0 [0x7ff7e74217d0]
[5] wxMenuItemList::~wxMenuItemList() in amule [0x57b790]
[6] wxDataObjectSimple::~wxDataObjectSimple() in amule [0x51e66b]
[7] wxDataObjectSimple::~wxDataObjectSimple() in amule [0x51edb6]
[8] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7ff7e5f5572d]
[9] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x7ff7e5f558ec]
[10] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7ff7e5f55a2d]
[11] wxTimerBase::Notify() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7ff7e66ed616]
[12] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x7ff7e65e4554]
[13] ?? in /usr/lib/libglib-2.0.so.0 [0x7ff7e3587b2b]
[14] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x7ff7e35873d4]
[15] ?? in /usr/lib/libglib-2.0.so.0 [0x7ff7e358a6e5]
[16] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x7ff7e358aa05]
[17] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x7ff7e4ac2f03]
[18] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7ff7e65dc01d]
[19] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7ff7e666e58b]
[20] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7ff7e5ef419c]
[21] std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in amule [0x51a302]
[22] __libc_start_main in /lib/libc.so.6[0x7ff7e516e1c4]
[23] CryptoPP::BufferedTransformation::ChannelPut2(std::string const&, unsigned char const*, unsigned long, int, bool) in amule[0x4487c9]
-----------------------------------------------------------------

I have also generate the real backtraces

Code: [Select]
--------------(gdb) bt
#0  0x000000000057b790 in ?? ()
#1  0x000000000051e66b in ?? ()
#2  0x000000000051edb6 in ?? ()
#3  0x00007f3a7d51172d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007f3a7d5118ec in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007f3a7d511a2d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00007f3a7dca9616 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007f3a7dba0554 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007f3a7ab43b2b in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007f3a7ab433d4 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00007f3a7ab466e5 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007f3a7ab46a05 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00007f3a7c07ef03 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007f3a7db9801d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00007f3a7dc2a58b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00007f3a7d4b019c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x000000000051a302 in ?? ()
#17 0x00007f3a7c72a1c4 in __libc_start_main () from /lib/libc.so.6
#18 0x00000000004487c9 in ?? ()
#19 0x00007fff87033498 in ?? ()
#20 0x0000000000000000 in ?? ()

-----------------------------------------------------------------

Code: [Select]
(gdb) bt full
#0  0x000000000057b790 in ?? ()
No symbol table info available.
#1  0x000000000051e66b in ?? ()
No symbol table info available.
#2  0x000000000051edb6 in ?? ()
No symbol table info available.
#3  0x00007f3a7d51172d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0x00007f3a7d5118ec in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00007f3a7d511a2d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00007f3a7dca9616 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00007f3a7dba0554 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00007f3a7ab43b2b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x00007f3a7ab433d4 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00007f3a7ab466e5 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00007f3a7ab46a05 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f3a7c07ef03 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x00007f3a7db9801d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0x00007f3a7dc2a58b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0x00007f3a7d4b019c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x000000000051a302 in ?? ()
No symbol table info available.
#17 0x00007f3a7c72a1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#18 0x00000000004487c9 in ?? ()
No symbol table info available.
#19 0x00007fff87033498 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.

and

Code: [Select]
(gdb) thread apply all bt

Thread 5 (Thread 0x42f7c950 (LWP 11332)):
#0  0x00007f3a7e9d9e1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007f3a7d50f0d9 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007f3a7d50f9ae in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x000000000060109c in ?? ()
#4  0x00007f3a7d51023a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007f3a7e9d53f7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f3a7c7e3b2d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x41f7a950 (LWP 11330)):
#0  0x00007f3a7e9dce81 in nanosleep () from /lib/libpthread.so.0
#1  0x00007f3a7d51562c in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00000000004e0290 in ?? ()
#3  0x00007f3a7d51023a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007f3a7e9d53f7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f3a7c7e3b2d in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3a7efff780 (LWP 11322)):
#0  0x000000000057b790 in ?? ()
#1  0x000000000051e66b in ?? ()
#2  0x000000000051edb6 in ?? ()
#3  0x00007f3a7d51172d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007f3a7d5118ec in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007f3a7d511a2d in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00007f3a7dca9616 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007f3a7dba0554 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007f3a7ab43b2b in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007f3a7ab433d4 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00007f3a7ab466e5 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007f3a7ab46a05 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00007f3a7c07ef03 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007f3a7db9801d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#14 0x00007f3a7dc2a58b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00007f3a7d4b019c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x000000000051a302 in ?? ()
#17 0x00007f3a7c72a1c4 in __libc_start_main () from /lib/libc.so.6
#18 0x00000000004487c9 in ?? ()
#19 0x00007fff87033498 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb)


I dont have too many experience with code. I expect that this information will be helpfull to improve the code.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amule SVN 2.8.7 (08/02/18) crashed in Unbuntu 8.04 at amd64
« Reply #1 on: September 11, 2008, 05:13:09 PM »

Thank you for the extensive report.

Fortunately we have made progress since 18 February and released 2.2.2 not too long ago, where this crash, which has been reported frequently on Ubuntu systems, shouldn't happen anymore.

Please update your aMule version and see if it still happens.
Logged

Basajaun73

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amule SVN 2.8.7 (08/02/18) crashed in Unbuntu 8.04 at amd64
« Reply #2 on: September 12, 2008, 10:00:31 AM »

Thanks for the quick answer. I will update and test
Logged