aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash in background  (Read 3357 times)

iacchi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Crash in background
« on: October 26, 2008, 06:01:50 PM »

Hi guys,
todays aMule keeps crashing while in background, and it always give the same error on console. I'm running on a Debian Lenny, and the aMule installation is the one in the Debian repos.
Here you are:

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.1 using wxGTK2 v2.8.7
Running on: Linux 2.6.27.3 x86_64

[2] wxString::~wxString() in amule [0x449ea5]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76ce17dc]
[4] ?? in /lib/libpthread.so.0 [0x7fbf783aba80]
[5] wxTimer::IsRunning() const in amule [0x588c40]
[6] CryptoPP::AlgorithmParametersBase2<CryptoPP::ConstByteArrayParameter>::AssignValue(char const*, std::type_info const&, void*) const in amule [0x47ccbc]
[7] wxStringTokenizer::~wxStringTokenizer() in amule [0x45c67c]
[8] wxString::operator+=(wxString const&) in amule [0x465cf0]
[9] wxString::operator+=(wxString const&) in amule [0x466118]
[10] wxString::~wxString() in amule [0x44d80f]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76cdd349]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76cde514]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76cde607]
[14] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76cdd7dc]
[15] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76c4ee8e]
[16] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7fbf773ffe6b]
[17] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x7fbf773603b6]
[18] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x7fbf742f478b]
[19] ?? in /usr/lib/libglib-2.0.so.0 [0x7fbf742f7f5d]
[20] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x7fbf742f848d]
[21] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x7fbf7583d667]
[22] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7fbf77377798]
[23] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7fbf773ffcfb]
[24] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7fbf76c83cbd]
[25] 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 [0x515782]
[26] __libc_start_main in /lib/libc.so.6[0x7fbf75ee31a6]
[27] CryptoPP::BufferedTransformation::ChannelPut2(std::string const&, unsigned char const*, unsigned long, int, bool) in amule[0x448eb9]


--------------------------------------------------------------------------------
Logged

iacchi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Crash in background
« Reply #1 on: October 27, 2008, 11:46:04 AM »

Today I've compiled aMule 2.2.2 myself, but still get a similar error:

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.2 using wxGTK2 v2.8.7
Running on: Linux 2.6.27.3 x86_64

[2] wxString::~wxString() in amule [0x44a4d5]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d86bc7dc]
[4] ?? in /lib/libpthread.so.0 [0x7f66da3b6a80]
[5] wxTimer::IsRunning() const in amule [0x589d60]
[6] CryptoPP::AlgorithmParametersBase2<CryptoPP::ConstByteArrayParameter>::AssignValue(char const*, std::type_info const&, void*) const in amule [0x47d2cc]
[7] wxStringTokenizer::~wxStringTokenizer() in amule [0x45ccbc]
[8] wxString::operator+=(wxString const&) in amule [0x466360]
[9] wxString::operator+=(wxString const&) in amule [0x466788]
[10] wxString::~wxString() in amule [0x44de3f]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d86b8349]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d86b9514]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d86b9607]
[14] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d86b87dc]
[15] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d8629e8e]
[16] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f66d8ddae6b]
[17] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x7f66d8d3b3b6]
[18] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x7f66d5ccf78b]
[19] ?? in /usr/lib/libglib-2.0.so.0 [0x7f66d5cd2f5d]
[20] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x7f66d5cd348d]
[21] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x7f66d7218737]
[22] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f66d8d52798]
[23] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x7f66d8ddacfb]
[24] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7f66d865ecbd]
[25] 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 [0x516c42]
[26] __libc_start_main in /lib/libc.so.6[0x7f66d78be1a6]
[27] CryptoPP::BufferedTransformation::ChannelPut2(std::string const&, unsigned char const*, unsigned long, int, bool) in amule[0x4494e9]
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Crash in background
« Reply #2 on: October 28, 2008, 08:55:42 AM »

I suggest you first try to recompile and test cryptopp (test with "cryptest.exe v") because the most likely source of your crash is this lib.
Logged
concordia cum veritate

iacchi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Crash in background
« Reply #3 on: October 28, 2008, 10:17:04 AM »

As I said I'm on Debia GNU/Linux (so cryptest.exe is not for me) and I haven't compiled cryptopp, I've used the package in the Debian repos.
However, while yesterday morning and afternoon aMule kept crashing, during the evening (i.e. from 6pm to 1am) it crashed only once, without changing anything. I suppose (because it's the only thing cahnged) that it crash more frequently if it has many file in download.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash in background
« Reply #4 on: October 28, 2008, 03:02:23 PM »

The binary name is cryptest.exe on Unix systems, too.

I would advise you very strongly to recompile crypto++ and execute the test and recompile aMule against a verified crypto++.
Logged