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 2.3.2 stalls then crashes with ubuntu 16.04  (Read 618 times)

wurstauge

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
aMule 2.3.2 stalls then crashes with ubuntu 16.04
« on: June 14, 2017, 10:42:52 AM »

Hi,

I'm running ubuntu 16.04 on a shuttle XP35 barebone with Intel CPU. After having problems with aMule 2.4.0 I removed this version and compiled aMule 2.3.2 from source (using wxGTK v3.0.3). No problems during compile, make, make install. When starting amule it runs well for about 5 mins. Then it stalls. No reaction from the icons on the menu bar. Clicking on 'preferences' opens just a window without any content.
After a few more mins amule crashes.

It looks like some other guys around here experienced similar problems.
Anyone has any idea?

eule@shuttle-01:~$ amule
 2017-06-14 14:53:57: Initialising aMule 2.3.2 compiled with wxGTK2 v3.0.3
 2017-06-14 14:53:57: Checking if there is an instance already running...
 2017-06-14 14:53:57: No other instances are running.
02:53:57 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
 2017-06-14 14:53:58: ListenSocket: Ok.
 2017-06-14 14:53:59: Loading temp files from /home/eule/.aMule/Temp.
 2017-06-14 14:53:59: Loading PartFile 1 of 31
.....
 2017-06-14 14:53:59: Loading PartFile 31 of 31
 2017-06-14 14:53:59: All PartFiles Loaded.
 2017-06-14 14:53:59: Adding file /home/eule/.aMule/Temp/016.part.met to shares
 2017-06-14 14:53:59: Adding file /home/eule/.aMule/Temp/031.part.met to shares
......
 2017-06-14 14:53:59: Adding file /home/eule/.aMule/Temp/002.part.met to shares

(amule:3930): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:3930): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(amule:3930): GLib-CRITICAL **: Source ID 21790 was not found when attempting to remove it
Assertion failed: ../src/unix/sockunix.cpp:OnWriteWaiting:205: Assertion 'm_fd != INVALID_SOCKET' failed. invalid socket ready for writing?
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b234019a]
[4] ?? in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial_net-3.0.so.0[0x7f10b27be2fe]
[5] ?? in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_unofficial_core-3.0.so.0[0x7f10b2c57628]
[6] g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc04a]
[7] ?? in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc3f0]
[8] g_main_loop_run in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc712]
[9] gtk_main in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0[0x7f10b0d296a7]
[10] wxGUIEventLoop::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_unofficial_core-3.0.so.0[0x7f10b2c4fbe5]
[11] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b237fd23]
[12] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b2344f56]
[13] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b23d19a0]
[14] ?? in amule[0x43ffb2]
[15] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7f10b146b830]
[16] ?? in amule[0x4521e9]

../src/unix/sockunix.cpp(205): assert "m_fd != INVALID_SOCKET" failed in OnWriteWaiting(): invalid socket ready for writing?

--------------------------------------------------------------------------------
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 2.3.2 compiled with wxGTK2 v3.0.3
Running on: Linux 4.8.0-54-generic x86_64

[2] ?? in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b249c70c]
[3] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7f10b1825390]
[4] ?? in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_unofficial_core-3.0.so.0[0x7f10b2c57625]
[5] g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc04a]
[6] ?? in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc3f0]
[7] g_main_loop_run in /lib/x86_64-linux-gnu/libglib-2.0.so.0[0x7f10affbc712]
[8] gtk_main in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0[0x7f10b0d296a7]
[9] wxGUIEventLoop::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_unofficial_core-3.0.so.0[0x7f10b2c4fbe5]
[10] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b237fd23]
[11] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b2344f56]
[12] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.0.so.0[0x7f10b23d19a0]
[13] ?? in amule[0x43ffb2]
[14] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7f10b146b830]
[15] ?? in amule[0x4521e9]

--------------------------------------------------------------------------------
Aborted (core dumped)
eule@shuttle-01:~$
Logged

wurstauge

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.3.2 stalls then crashes with ubuntu 16.04
« Reply #1 on: June 14, 2017, 01:42:52 PM »

Attachment gdb logfile added.
« Last Edit: June 14, 2017, 02:06:20 PM by wurstauge »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2709
Re: aMule 2.3.2 stalls then crashes with ubuntu 16.04
« Reply #2 on: June 14, 2017, 07:47:07 PM »

The two are quite different.
Logged
concordia cum veritate

wurstauge

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.3.2 stalls then crashes with ubuntu 16.04
« Reply #3 on: June 15, 2017, 06:59:00 AM »

I tried several ways:
- Running amule without connecting to the internet
- Connected, but no files selected for download
- Only 2 files in the download queue
- Connected to ed2k only
- connected to kad only

The results are almost the same. Soon (2min) or later (15min) amule will stall and crash.
Logged

wurstauge

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.3.2 stalls then crashes with ubuntu 16.04
« Reply #4 on: June 15, 2017, 03:36:43 PM »

Another logfile from gdb. I started Amule around 18:00 today. It run for about 2 hours, but not connected to edk neither kad. No problems, just uploading some files.
Then I connected to kad, edk. After 2 min amule stalled and gdb added the last row of this logfile:


gdb) run
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe9fe2700 (LWP 4324)]
[New Thread 0x7fffe97e1700 (LWP 4325)]
[New Thread 0x7fffe8fe0700 (LWP 4326)]
 2017-06-15 18:00:58: amuleAppCommon.cpp(335): Initialising aMule 2.3.2 compiled with wxGTK2 v3.0.3 (Debugging)
 2017-06-15 18:00:58: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2017-06-15 18:00:58: amuleAppCommon.cpp(413): No other instances are running.
06:00:59 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
 2017-06-15 18:01:00: ListenSocket.cpp(67): ListenSocket: Ok.
[New Thread 0x7fffdbfff700 (LWP 4347)]
[New Thread 0x7fffdb38d700 (LWP 4348)]
[New Thread 0x7fffdab8c700 (LWP 4349)]
[Thread 0x7fffdb38d700 (LWP 4348) exited]
[Thread 0x7fffdbfff700 (LWP 4347) exited]
[New Thread 0x7fffdbfff700 (LWP 4353)]
[New Thread 0x7fffdb38d700 (LWP 4354)]
[Thread 0x7fffdb38d700 (LWP 4354) exited]
 2017-06-15 18:01:01: DownloadQueue.cpp(113): Loading temp files from /home/eule/.aMule/Temp.
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 1 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 2 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 3 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 4 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 5 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 6 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(132): Loading PartFile 7 of 7
 2017-06-15 18:01:01: DownloadQueue.cpp(163): All PartFiles Loaded.
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/001.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/002.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/003.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/004.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/005.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/006.part.met to shares
 2017-06-15 18:01:01: SharedFileList.cpp(333): Adding file /home/eule/.aMule/Temp/007.part.met to shares
[New Thread 0x7fffdb38d700 (LWP 4355)]
[New Thread 0x7fffda38b700 (LWP 4356)]
[Thread 0x7fffdb38d700 (LWP 4355) exited]
[Thread 0x7fffdab8c700 (LWP 4349) exited]

(amule:4320): GLib-CRITICAL **: Source ID 617598 was not found when attempting to remove it       <--- this log was added when amule stalled.
Logged