aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Core dump on Ubuntu 16.04  (Read 5578 times)

abelthorne

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
Core dump on Ubuntu 16.04
« on: April 23, 2016, 03:49:49 PM »

Hello,
I've just upgraded from Ubuntu (Mate) 15.10 to 16.04 and aMule doesn't work anymore. When launching it, the GUI shows up but I immediately get an error dialog with the following and it closes:
Code: [Select]
ASSERT INFO:
../src/unix/sockunix.cpp(200): assert "m_fd != INVALID_SOCKET" failed in OnWriteWaiting(): invalid socket ready for writing?

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] g_main_context_dispatch
[3] g_main_loop_run
[4] gtk_main
[5] wxGUIEventLoop::DoRun()
[6] wxEventLoopBase::Run()
[7] wxAppConsoleBase::MainLoop()
[8] wxEntry(int&, wchar_t**)
[9] main /build/amule-hYkArO/amule-2.4.0~git20151120.0023527bc2/obj-x86_64-linux-gnu/src/../../src/amule-gui.cpp:93
[10] __libc_start_main

In the terminal, I get the following backtrace:
Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v3.0.2 and Boost 1.58
Running on: Linux 4.4.0-21-generic x86_64

[2] ?? in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f5c3f1b18ec]
[3] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7f5c3e3153d0]
[4] wxSocketBase::OnRequest(wxSocketNotify) in /usr/lib/x86_64-linux-gnu/libwx_baseu_net-3.0.so.0[0x7f5c3f4bc2df]
[5] ?? in /usr/lib/x86_64-linux-gnu/libwx_baseu_net-3.0.so.0[0x7f5c3f4c2d47]
[6] ?? in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7f5c3f93f938]
[7] g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f5c3caabfda]
[8] ?? in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f5c3caac380]
[9] g_main_loop_run in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f5c3caac6a2]
[10] gtk_main in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0[0x7f5c3d8196a7]
[11] wxGUIEventLoop::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7f5c3f937ed5]
[12] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f5c3f095343]
[13] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f5c3f05a666]
[14] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f5c3f0e6f50]
[15] main in amule-gui.cpp:93
[16] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7f5c3df5b830]
[17] ?? in amule[0x452c19]
--------------------------------------------------------------------------------

I've tried compiling the latest version but it seems to crash in the same way.

EDIT : looks like amuled (daemon) + amulegui work fine.
« Last Edit: April 23, 2016, 05:02:15 PM by abelthorne »
Logged

luiss

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Core dump on Ubuntu 16.04
« Reply #1 on: June 05, 2016, 07:04:28 PM »

Same problem here.
Logged

MuloCiccione

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Core dump on Ubuntu 16.04
« Reply #2 on: June 24, 2016, 06:33:50 PM »

Xubuntu 16.04
amule 2.4.0~git20151120.0023527bc2-1ubuntu1 from official ubuntu repository
After some hour, amule crash:
Quote
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/wiki/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v3.0.2 and Boost 1.58
Running on: Linux 4.4.0-24-generic i686

[2] ?? in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6a99694]
[3] ?? in [0xb7738c14]
[4] ?? in amule[0x82a62d3]
[5] ?? in amule[0x82aa72e]
[6] ?? in amule[0x82b5002]
[7] ?? in amule[0x82b5252]
[8] ?? in amule[0x82a549e]
[9] ?? in amule[0x82a8e5e]
[10] ?? in amule[0x82aef2e]
[11] wxThread::CallEntry() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6a8ec46]
[12] ?? in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6a9830a]
[13] ?? in /lib/i386-linux-gnu/libpthread.so.0[0xb66b02b5]
[14] clone in /lib/i386-linux-gnu/libc.so.6[0xb65db16e]

--------------------------------------------------------------------------------
Annullato
Quote
ASSERT INFO:
../../src/BaseClient.cpp(2143): assert "Assert failure" failed in ProcessPublicKeyPacket().

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag)
[3] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate()
[4] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate()
[5] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate()
[6] std::_Bvector_base<std::allocator<bool> >::_M_deallocate()
[7] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[9] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler::ProcessEventLocally(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxEvtHandler::ProcessPendingEvents()
[15] wxAppConsoleBase::ProcessPendingEvents()
[16] wxApp::DoIdle()
[17] g_main_context_dispatch
[18] g_main_loop_run
[19] gtk_main
[20] wxGUIEventLoop::DoRun()
[21] wxEventLoopBase::Run()
[22] wxAppConsoleBase::MainLoop()
[23] wxAppConsoleBase::OnRun()
[24] wxAppBase::OnRun()
[25] wxEntry(int&, wchar_t**)
[26] wxEntry(int&, char**)
[27] __libc_start_main
Quote
Assertion failed: ../../src/BaseClient.cpp:ProcessPublicKeyPacket:2143: Assertion 'Assert failure' failed.
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6953a06]
[4] void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag) in amule[0x80b3acf]
[5] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate() in amule[0x80cfc97]
[6] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate() in amule[0x80d1340]
[7] non-virtual thunk to CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1> > >::~PK_FinalTemplate() in amule[0x80ed8ff]
[8] std::_Bvector_base<std::allocator<bool> >::_M_deallocate() in amule[0x8247570]
[9] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb69519a3]
[10] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6951def]
[11] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aecc95]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aecda6]
[13] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aed21a]
[14] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aed2aa]
[15] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aed313]
[16] wxEvtHandler::ProcessPendingEvents() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6aedec7]
[17] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb69547b0]
[18] wxApp::DoIdle() in /usr/lib/i386-linux-gnu/libwx_gtk2u_core-3.0.so.0[0xb6d408ec]
[19] ?? in /usr/lib/i386-linux-gnu/libwx_gtk2u_core-3.0.so.0[0xb6d40a0c]
[20] ?? in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb5d9f600]
[21] g_main_context_dispatch in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb5da2d8b]
[22] ?? in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb5da3179]
[23] g_main_loop_run in /lib/i386-linux-gnu/libglib-2.0.so.0[0xb5da3529]
[24] gtk_main in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0[0xb613e485]
[25] wxGUIEventLoop::DoRun() in /usr/lib/i386-linux-gnu/libwx_gtk2u_core-3.0.so.0[0xb6d61c85]
[26] wxEventLoopBase::Run() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6997a69]
[27] wxAppConsoleBase::MainLoop() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb695979f]
[28] wxAppConsoleBase::OnRun() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6951830]
[29] wxAppBase::OnRun() in /usr/lib/i386-linux-gnu/libwx_gtk2u_core-3.0.so.0[0xb6e3f47f]
[30] wxEntry(int&, wchar_t**) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb69ed358]
[31] wxEntry(int&, char**) in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb69ed423]
[32] ?? in amule[0x807caca]
[33] __libc_start_main in /lib/i386-linux-gnu/libc.so.6[0xb6535637]
[34] ?? in amule[0x808e6f7]

../../src/BaseClient.cpp(2143): assert "Assert failure" failed in ProcessPublicKeyPacket().

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/wiki/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v3.0.2 and Boost 1.58
Running on: Linux 4.4.0-24-generic i686

[2] ?? in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6ac2694]
[3] ?? in [0xb7761c14]
[4] ?? in amule[0x82a50df]
[5] ?? in amule[0x82a62db]
[6] ?? in amule[0x82aa72e]
[7] ?? in amule[0x82b5002]
[8] ?? in amule[0x82b5252]
[9] ?? in amule[0x82a549e]
[10] ?? in amule[0x82a8e5e]
[11] ?? in amule[0x82aef2e]
[12] wxThread::CallEntry() in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6ab7c46]
[13] ?? in /usr/lib/i386-linux-gnu/libwx_baseu-3.0.so.0[0xb6ac130a]
[14] ?? in /lib/i386-linux-gnu/libpthread.so.0[0xb66d92b5]
[15] clone in /lib/i386-linux-gnu/libc.so.6[0xb660416e]

--------------------------------------------------------------------------------
Annullato

What appened?

PS: Sorry, for my English, I'm Italian
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2713
Re: Core dump on Ubuntu 16.04
« Reply #3 on: July 03, 2016, 11:36:40 PM »

This is most likely caused by a wrong/bogus packet, triggering an assertion in aMule and making it crash. It has been fixed on 6 May 2016, but the fix is not yet in the Ubuntu release.
Logged
concordia cum veritate

trekfan1

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: Core dump on Ubuntu 16.04
« Reply #4 on: July 05, 2016, 09:23:02 AM »

This is most likely caused by a wrong/bogus packet, triggering an assertion in aMule and making it crash. It has been fixed on 6 May 2016, but the fix is not yet in the Ubuntu release.

Obviously, if not fix in the debian repository ubuntu is not update...
Logged
Sorry for my English, I'm Italian

TASADAR-F

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 57
    • http://www.juventudaranda.com
Re: Core dump on Ubuntu 16.04
« Reply #5 on: August 20, 2016, 09:10:22 PM »

This is most likely caused by a wrong/bogus packet, triggering an assertion in aMule and making it crash. It has been fixed on 6 May 2016, but the fix is not yet in the Ubuntu release.

What tarball do you recommend?

Amule 2.3.1 can't compile any more because new gcc version in Ubuntu 16.04
I test last tarball r10944 and this version eat all my 16GB RAM
Logged

deroeckj

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Core dump on Ubuntu 16.04
« Reply #6 on: August 21, 2016, 01:33:30 PM »


Looks like I'm having the same problem on chakra ( arch derivate ), screen appears for a very short time, then after loading all the part.files system crashes

Linux jurgen-pc 4.5.7-1-CHAKRA #1 SMP PREEMPT Wed Jun 8 20:00:23 BST 2016 x86_64 GNU/Linux

backtrace looks similar :

 2016-08-21 13:20:48: Loading PartFile 45 of 47
 2016-08-21 13:20:48: Loading PartFile 46 of 47
 2016-08-21 13:20:48: Loading PartFile 47 of 47
!2016-08-21 13:20:48: WARNING: Duplicate partfile with hash 'BB7F1178EEC537F93C026B6FB80CF2CB' found, skipping: 059.part.met
 2016-08-21 13:20:48: All PartFiles Loaded.
 2016-08-21 13:20:48: Adding file /media/data/downloads/temp/emule/057.part.met to shares

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/wiki/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.12 (Snapshot: rev. 10922)
Running on: Linux 4.5.7-1-CHAKRA x86_64

[2] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7fc605518b12]
[3] ?? in /usr/lib/libpthread.so.0[0x7fc6070ccd20]
[4] ?? in amule[0x4e8b65]
[5] ?? in amule[0x694e11]
[6] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0x7fc605514795]
[7] ?? in /usr/lib/libpthread.so.0[0x7fc6070c3464]
[8] clone in /usr/lib/libc.so.6[0x7fc6046a512d]
Logged

hopelessone

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
  • Ubuntu 8.04
Re: Core dump on Ubuntu 16.04
« Reply #7 on: November 18, 2016, 02:59:30 AM »

so where are the deb files to download so amule can run?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2713
Re: Core dump on Ubuntu 16.04
« Reply #8 on: November 18, 2016, 07:31:31 PM »

We offer no official binaries, (maybe except for Windows and MacOS, that's yet to be decided), so please bug your distro's maintainers to update their packages
Logged
concordia cum veritate

trekfan1

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: Core dump on Ubuntu 16.04
« Reply #9 on: November 28, 2016, 11:21:51 AM »

Upgrade to Yakkety Yak and download this deb, it's downloaded for Zesty repo before last update, i have no idea if working on Xenial (16.04)
Logged
Sorry for my English, I'm Italian