aMule Bug Tracker - aMule
View Issue Details
0001802aMuleGUIpublic2019-09-28 19:462019-12-09 23:47
dememax 
 
normalminoralways
newopen 
LinuxGentooSeptember 2019
SVN 
 
Any
0001802: GUI hangs with "Source ID XXXX was not found" on console
I've got aMule SVN compiled with wxGTK2 v3.0.4 (Debugging) (Snapshot: rev. g2a1b09233).
Full message on the console:
(amule:4561): GLib-CRITICAL **: 18:35:18.143: Source ID 30075 was not found when attempting to remove it

Run amule from the console
After a while GUI freezes.
I've tried to find the source of the GLib-CRITICAL by using the approach on this page:
https://stackoverflow.com/questions/23199699/glib-critical-source-id-xxx-was-not-found-when-attempting-to-remove-it [^]

It gave me:

Thread 1 (Thread 0x7ffff4e99e00 (LWP 5127)):
#0 0x00007ffff61868d0 in g_log () at /usr/lib64/libglib-2.0.so.0
0000001 0x00007ffff617e29c in g_source_remove () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff70bae43 in wxSocketFDBasedManager::Uninstall_Callback(wxSocketImpl*, wxSocketNotify) () at /usr/lib64/libwx_baseu_net-3.0.so.0
0000003 0x00007ffff70bafd8 in wxSocketImplUnix::OnWriteWaiting() () at /usr/lib64/libwx_baseu_net-3.0.so.0
0000004 0x00007ffff736da29 in wxSocket_Input () at /usr/lib64/libwx_gtk2u_core-3.0.so.0
0000005 0x00007ffff617f407 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
0000006 0x00007ffff617f7f8 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000007 0x00007ffff617fb02 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000008 0x00007ffff6505627 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
0000009 0x00007ffff7366c75 in wxGUIEventLoop::DoRun() () at /usr/lib64/libwx_gtk2u_core-3.0.so.0
0000010 0x00007ffff6ea5ebd in wxEventLoopBase::Run() () at /usr/lib64/libwx_baseu-3.0.so.0
#11 0x00007ffff6e6dbe6 in wxAppConsoleBase::MainLoop() () at /usr/lib64/libwx_baseu-3.0.so.0
0000012 0x00007ffff6eefe17 in wxEntry(int&, wchar_t**) () at /usr/lib64/libwx_baseu-3.0.so.0
0000013 0x0000555555866865 in main(int, char**) (argc=1, argv=0x7fffffffdc78) at amule-gui.cpp:95
No tags attached.
Issue History
2019-09-28 19:46dememaxNew Issue
2019-09-28 20:02dememaxNote Added: 0003724
2019-09-29 01:26dememaxNote Added: 0003725
2019-09-29 01:39dememaxNote Added: 0003726
2019-09-29 01:46dememaxNote Added: 0003727
2019-09-29 01:47dememaxNote Added: 0003728
2019-09-29 02:48dememaxNote Added: 0003729
2019-09-29 03:02dememaxNote Added: 0003730
2019-09-29 03:28dememaxNote Added: 0003731
2019-10-12 10:11dememaxNote Added: 0003732
2019-10-12 10:48dememaxNote Added: 0003733
2019-10-12 22:48dememaxNote Added: 0003734
2019-10-27 11:41dememaxNote Added: 0003737
2019-11-12 20:45ogio71Note Added: 0003738
2019-11-17 11:54dememaxNote Added: 0003740
2019-11-17 14:49dememaxNote Added: 0003741
2019-11-17 23:09dememaxNote Added: 0003742
2019-12-09 23:47dememaxNote Added: 0003746

Notes
(0003724)
dememax   
2019-09-28 20:02   
When the GUI freezes, one of the cores consumes 100% time.
Anyway, it's possible to exit the GUI by pressing Ctrl-Q, but it is still running in the background.

Versions:
gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0
x11-libs/wxGTK-3.0.4-r2:3.0::gentoo USE="X doc gstreamer libnotify opengl sdl tiff (-aqua) -debug" ABI_X86="(64) -32 (-x32)"
dev-libs/expat-2.2.8
media-libs/libsdl2-2.0.10
dev-libs/glib-2.60.6
media-libs/libpng-1.6.37
sys-libs/zlib-1.2.11-r2
virtual/jpeg-0-r3
x11-libs/gtk+-2.24.32-r1
x11-libs/gdk-pixbuf-2.38.1
x11-libs/libSM-1.2.3
x11-libs/libXxf86vm-1.1.4-r1
x11-libs/pango-1.42.4-r2
media-libs/gstreamer-1.14.4
media-libs/gst-plugins-base-1.14.4-r1
x11-libs/libnotify-0.7.7-r1
virtual/opengl-7.0-r2
media-libs/tiff-4.0.10-r2
virtual/pkgconfig-1
virtual/glu-9.0-r2
x11-base/xorg-proto-2019.1
app-eselect/eselect-wxwidgets-20180529


Running the amule under gdb and stopping it by Ctrl-C in console under the debugger gives nothing suspicious:

[Thread 0x7fffef413700 (LWP 4593) exited]
[New Thread 0x7fffef413700 (LWP 4594)]
[New Thread 0x7fffeec12700 (LWP 4595)]
[Thread 0x7fffef413700 (LWP 4594) exited]
[Thread 0x7ffff0e92700 (LWP 4588) exited]
[Thread 0x7ffff1693700 (LWP 4587) exited]
[New Thread 0x7ffff1693700 (LWP 4600)]
[New Thread 0x7ffff0e92700 (LWP 4601)]
[New Thread 0x7fffed6ac700 (LWP 4602)]
[New Thread 0x7fffeceab700 (LWP 4603)]
[New Thread 0x7fffbffff700 (LWP 4604)]
[New Thread 0x7fffbf7fe700 (LWP 4605)]
[New Thread 0x7fffbeffd700 (LWP 4606)]
[New Thread 0x7fffbe7fc700 (LWP 4607)]
[New Thread 0x7fffbdffb700 (LWP 4608)]
[Thread 0x7ffff2e96700 (LWP 4584) exited]
[Thread 0x7ffff2695700 (LWP 4585) exited]
[Thread 0x7ffff1693700 (LWP 4600) exited]
[Thread 0x7ffff0e92700 (LWP 4601) exited]
[Thread 0x7fffed6ac700 (LWP 4602) exited]
[Thread 0x7fffeceab700 (LWP 4603) exited]
[Thread 0x7fffbe7fc700 (LWP 4607) exited]
[Thread 0x7fffbf7fe700 (LWP 4605) exited]
[Thread 0x7fffbdffb700 (LWP 4608) exited]

(amule:4561): GLib-CRITICAL **: 18:35:18.143: Source ID 30075 was not found when attempting to remove it
^C
Thread 1 "amule" received signal SIGINT, Interrupt.
0x00007ffff7f8d1d3 in write () from /lib64/libpthread.so.0
(gdb) thread apply all bt

Thread 20 (Thread 0x7fffbeffd700 (LWP 4606)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7fffbffff700 (LWP 4604)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fffeec12700 (LWP 4595)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff6f9ef68 in wxConditionInternal::WaitTimeout(unsigned long) () at /usr/lib64/libwx_baseu-3.0.so.0
0000002 0x00007ffff6fa1285 in wxSemaphoreInternal::WaitTimeout(unsigned long) () at /usr/lib64/libwx_baseu-3.0.so.0
0000003 0x000055555597ce4b in CTimerThread::Entry() (this=0x555558525f80) at Timer.cpp:66
0000004 0x00007ffff6fa7922 in wxThread::CallEntry() () at /usr/lib64/libwx_baseu-3.0.so.0
0000005 0x00007ffff6fa7c90 in wxThreadInternal::PthreadStart(wxThread*) () at /usr/lib64/libwx_baseu-3.0.so.0
0000006 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000007 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fffefc14700 (LWP 4592)):
#0 0x00007ffff7f8db08 in nanosleep () at /lib64/libpthread.so.0
0000001 0x00007ffff6faa79c in wxMicroSleep(unsigned long) () at /usr/lib64/libwx_baseu-3.0.so.0
0000002 0x000055555581eccf in UploadBandwidthThrottler::Entry() (this=0x555557066800) at UploadBandwidthThrottler.cpp:306
0000003 0x00007ffff6fa7922 in wxThread::CallEntry() () at /usr/lib64/libwx_baseu-3.0.so.0
0000004 0x00007ffff6fa7c90 in wxThreadInternal::PthreadStart(wxThread*) () at /usr/lib64/libwx_baseu-3.0.so.0
0000005 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000006 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7ffff0691700 (LWP 4589)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7ffff1e94700 (LWP 4586)):
#0 0x00007ffff691e4bf in select () at /lib64/libc.so.6
0000001 0x00007ffff79347d9 in RunMiniServer () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000003 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000004 0x00007ffff69276ef in clone () at /lib64/libc.so.6

--Type <RET> for more, q to quit, c to continue without paging--
Thread 3 (Thread 0x7ffff3697700 (LWP 4583)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ffff3e98700 (LWP 4582)):
#0 0x00007ffff7f890fc in pthread_cond_wait () at /lib64/libpthread.so.0
0000001 0x00007ffff79235d2 in TimerThreadWorker () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000003 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000004 0x00007ffff69276ef in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff4e99e00 (LWP 4561)):
#0 0x00007ffff7f8d1d3 in write () at /lib64/libpthread.so.0
0000001 0x00007ffff61c5f1a in g_wakeup_signal () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff617bb00 in unblock_source () at /usr/lib64/libglib-2.0.so.0
0000003 0x00007ffff617f5a8 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
0000004 0x00007ffff617f7f8 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000005 0x00007ffff617fb02 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000006 0x00007ffff6505627 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
0000007 0x00007ffff7366c75 in wxGUIEventLoop::DoRun() () at /usr/lib64/libwx_gtk2u_core-3.0.so.0
0000008 0x00007ffff6ea5ebd in wxEventLoopBase::Run() () at /usr/lib64/libwx_baseu-3.0.so.0
0000009 0x00007ffff6e6dbe6 in wxAppConsoleBase::MainLoop() () at /usr/lib64/libwx_baseu-3.0.so.0
0000010 0x00007ffff6eefe17 in wxEntry(int&, wchar_t**) () at /usr/lib64/libwx_baseu-3.0.so.0
#11 0x0000555555866865 in main(int, char**) (argc=1, argv=0x7fffffffdc78) at amule-gui.cpp:95
(0003725)
dememax   
2019-09-29 01:26   
Just recompiled with wxGTK based on gtk3:

configure: WARNING: unrecognized options: --enable-shared


  Configure script has finished system check.

  Configured aMule SVN (rev. g2a1b09233) for 'x86_64-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed? /usr/local
  Should aMule be compiled with i18n support? yes
  Should aMule be compiled in debug mode? yes
  Should aMule be compiled with profiling? no
  Should aMule be compiled with optimizations? no
  Should aMule be compiled with UPnP support? yes
  Should aMule be compiled with IP2country support? yes
  Should aMule monolithic application be built? yes
  Should aMule daemon version be built? no
  Should aMule remote gui be built? yes

  **** aMule TextClient ****
  Should aMule Command Line Client be built? yes

  **** aMule WebServer ****
  Should aMule WebServer be built? no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built? yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built? no
  Should aMuleLinkCreator for console (alcc) be built? no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built? no
  Should aMule GUI Statistics (wxCas) be built? yes
  Should xas XChat2 plugin be installed? no
  Should plasmaMule plasma-applet be built? no

  **** General Libraries and Tools ****
  Should ccache support be enabled? no
  Should aMule file viewer for console be built? no
  Libraries aMule will use to build:
                             wxWidgets 3.0.4 (gtk3,shared)
                             crypto++ 8.2 (in /usr)
                             libupnp 1.6.21
                             libintl system
                             libGeoIP system
                             zlib 1.2.11

The result is quite the same:

max@maxmsi ~/.aMule $ 2019-09-29 01:19:45: amuleAppCommon.cpp(335): Initialising aMule SVN compiled with wxGTK2 v3.0.4 (Debugging) (Snapshot: rev. g2a1b09233)
 2019-09-29 01:19:45: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2019-09-29 01:19:45: amuleAppCommon.cpp(413): No other instances are running.
 2019-09-29 01:19:46: ListenSocket.cpp(67): ListenSocket: Ok.
Fontconfig error: Cannot scan config file "infinality/conf.d"
 2019-09-29 01:19:47: DownloadQueue.cpp(113): Loading temp files from /home/max/.aMule/Temp.
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 1 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 2 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 3 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 4 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 5 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 6 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 7 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 8 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 9 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 10 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 11 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 12 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 13 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 14 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 15 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 16 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 17 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 18 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 19 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 20 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 21 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 22 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 23 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 24 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 25 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 26 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 27 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 28 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 29 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 30 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 31 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 32 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 33 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 34 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 35 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 36 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 37 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 38 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 39 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 40 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 41 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 42 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 43 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(132): Loading PartFile 44 of 44
 2019-09-29 01:19:47: DownloadQueue.cpp(163): All PartFiles Loaded.
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/034.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/026.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/030.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/033.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/039.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/042.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/043.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/046.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/012.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/002.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/003.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/004.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/005.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/006.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/008.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/011.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/001.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/013.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/014.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/015.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/016.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/018.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/019.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/020.part.met to shares
 2019-09-29 01:19:47: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/021.part.met to shares

(amule:541): Gtk-CRITICAL **: 01:19:51.495: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(amule:541): GLib-CRITICAL **: 01:20:37.637: Source ID 8599 was not found when attempting to remove it

(amule:541): GLib-CRITICAL **: 01:20:45.518: Source ID 10046 was not found when attempting to remove it

(amule:541): GLib-CRITICAL **: 01:21:01.446: Source ID 12790 was not found when attempting to remove it
sync

The gui is locked, one core is 100% of consumption, no reaction, only Ctrl-Q with corresponding kill of the process.
(0003726)
dememax   
2019-09-29 01:39   
Yet, it produces a lot of threads:

Reading symbols from /home/max/sources/amule/src/amule...
(gdb) break g_log
Function "g_log" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (g_log) pending.
(gdb) run
Starting program: /home/max/sources/amule/src/amule
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after vfork from child process 751]
 2019-09-29 01:34:08: amuleAppCommon.cpp(335): Initialising aMule SVN compiled with wxGTK2 v3.0.4 (Debugging) (Snapshot: rev. g2a1b09233)
 2019-09-29 01:34:08: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2019-09-29 01:34:08: amuleAppCommon.cpp(413): No other instances are running.
[Detaching after vfork from child process 753]
[Detaching after vfork from child process 755]
[Detaching after vfork from child process 757]
[Detaching after vfork from child process 759]
[Detaching after vfork from child process 761]
 2019-09-29 01:34:09: ListenSocket.cpp(67): ListenSocket: Ok.
[New Thread 0x7ffff3a4f700 (LWP 763)]
[New Thread 0x7ffff324e700 (LWP 764)]
[New Thread 0x7ffff2a4d700 (LWP 765)]
[New Thread 0x7ffff224c700 (LWP 766)]
[New Thread 0x7ffff1a4b700 (LWP 767)]
[New Thread 0x7ffff124a700 (LWP 768)]
[New Thread 0x7ffff0a49700 (LWP 769)]
[New Thread 0x7ffff0248700 (LWP 770)]
[New Thread 0x7fffef9d0700 (LWP 771)]
[New Thread 0x7fffef1cf700 (LWP 772)]

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.
[Thread 0x7ffff1a4b700 (LWP 767) exited]
[Thread 0x7ffff3a4f700 (LWP 763) exited]
Fontconfig error: Cannot scan config file "infinality/conf.d"
[New Thread 0x7ffff1a4b700 (LWP 775)]
[Detaching after vfork from child process 776]

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb)
Continuing.

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) cont
Continuing.
[New Thread 0x7ffff3a4f700 (LWP 779)]
[New Thread 0x7fffc7fff700 (LWP 780)]
 2019-09-29 01:34:31: DownloadQueue.cpp(113): Loading temp files from /home/max/.aMule/Temp.
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 1 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 2 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 3 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 4 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 5 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 6 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 7 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 8 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 9 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 10 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 11 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 12 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 13 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 14 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 15 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 16 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 17 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 18 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 19 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 20 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 21 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 22 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 23 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 24 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 25 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 26 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 27 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 28 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 29 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 30 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 31 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 32 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 33 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 34 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 35 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 36 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 37 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 38 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 39 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 40 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 41 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 42 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 43 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(132): Loading PartFile 44 of 44
 2019-09-29 01:34:31: DownloadQueue.cpp(163): All PartFiles Loaded.
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/034.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/026.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/030.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/033.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/039.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/042.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/043.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/046.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/012.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/002.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/003.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/004.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/005.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/006.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/008.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/011.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/001.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/013.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/014.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/015.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/016.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/018.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/019.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/020.part.met to shares
 2019-09-29 01:34:31: SharedFileList.cpp(333): Adding file /home/max/.aMule/Temp/021.part.met to shares
[Thread 0x7fffc7fff700 (LWP 780) exited]
[New Thread 0x7fffc7fff700 (LWP 781)]
[New Thread 0x7fffc6a20700 (LWP 782)]
[New Thread 0x7fffc621f700 (LWP 783)]
[Thread 0x7fffc7fff700 (LWP 781) exited]
[Thread 0x7fffc621f700 (LWP 783) exited]
[New Thread 0x7fffc621f700 (LWP 784)]

(amule:747): Gtk-CRITICAL **: 01:34:38.559: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
[Thread 0x7fffc621f700 (LWP 784) exited]
[New Thread 0x7fffc621f700 (LWP 785)]
[Thread 0x7fffc621f700 (LWP 785) exited]
[Thread 0x7ffff1a4b700 (LWP 775) exited]
[New Thread 0x7ffff1a4b700 (LWP 790)]
[New Thread 0x7fffc621f700 (LWP 791)]
[New Thread 0x7fffc5a1e700 (LWP 792)]
[New Thread 0x7fffc521d700 (LWP 793)]
[New Thread 0x7fffc4a1c700 (LWP 794)]
[New Thread 0x7fffb5fff700 (LWP 795)]
[New Thread 0x7fffb57fe700 (LWP 796)]
[New Thread 0x7fffb4ffd700 (LWP 797)]
[New Thread 0x7fff9ffff700 (LWP 798)]
[Thread 0x7fffc4a1c700 (LWP 794) exited]
[Thread 0x7fffb5fff700 (LWP 795) exited]
[Thread 0x7ffff224c700 (LWP 766) exited]

Thread 1 "amule" hit Breakpoint 1, 0x00007ffff5da78d0 in g_log () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff5da78d0 in g_log () at /usr/lib64/libglib-2.0.so.0
0000001 0x00007ffff5d9f29c in g_source_remove () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff70cee43 in wxSocketFDBasedManager::Uninstall_Callback(wxSocketImpl*, wxSocketNotify) () at /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0
0000003 0x00007ffff70cefd8 in wxSocketImplUnix::OnWriteWaiting() () at /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0
0000004 0x00007ffff737f2d9 in wxSocket_Input () at /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0
0000005 0x00007ffff5da0407 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
0000006 0x00007ffff5da07f8 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000007 0x00007ffff5da0b02 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000008 0x00007ffff6370a6d in gtk_main () at /usr/lib64/libgtk-3.so.0
0000009 0x00007ffff7378765 in wxGUIEventLoop::DoRun() () at /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0
0000010 0x00007ffff6eb9ebd in wxEventLoopBase::Run() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
#11 0x00007ffff6e81be6 in wxAppConsoleBase::MainLoop() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000012 0x00007ffff6f03e17 in wxEntry(int&, wchar_t**) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000013 0x0000555555866865 in main(int, char**) (argc=1, argv=0x7fffffffdc78) at amule-gui.cpp:95
(gdb) cont
Continuing.
[Thread 0x7fffc5a1e700 (LWP 792) exited]
[Thread 0x7fffb4ffd700 (LWP 797) exited]
[Thread 0x7ffff1a4b700 (LWP 790) exited]
[Thread 0x7ffff2a4d700 (LWP 765) exited]
[Thread 0x7fffc521d700 (LWP 793) exited]
[Thread 0x7fffc621f700 (LWP 791) exited]

(amule:747): GLib-CRITICAL **: 01:35:32.414: Source ID 13585 was not found when attempting to remove it
bt
[New Thread 0x7fffc621f700 (LWP 803)]
[New Thread 0x7fffc521d700 (LWP 804)]
[New Thread 0x7fffb4ffd700 (LWP 805)]
[New Thread 0x7fffc5a1e700 (LWP 806)]
[New Thread 0x7ffff2a4d700 (LWP 807)]
[New Thread 0x7ffff224c700 (LWP 809)]
[New Thread 0x7ffff1a4b700 (LWP 811)]
[Thread 0x7ffff1a4b700 (LWP 811) exited]
[New Thread 0x7ffff1a4b700 (LWP 812)]
[Thread 0x7ffff1a4b700 (LWP 812) exited]
[New Thread 0x7ffff1a4b700 (LWP 815)]
[Thread 0x7ffff1a4b700 (LWP 815) exited]
[New Thread 0x7ffff1a4b700 (LWP 817)]
[Thread 0x7ffff1a4b700 (LWP 817) exited]
[New Thread 0x7ffff1a4b700 (LWP 818)]
[New Thread 0x7fffc4a1c700 (LWP 819)]
[Thread 0x7fffc4a1c700 (LWP 819) exited]
[Thread 0x7ffff1a4b700 (LWP 818) exited]
[New Thread 0x7ffff1a4b700 (LWP 821)]
[Thread 0x7ffff1a4b700 (LWP 821) exited]
[New Thread 0x7ffff1a4b700 (LWP 823)]
[Thread 0x7ffff1a4b700 (LWP 823) exited]
[New Thread 0x7ffff1a4b700 (LWP 825)]
[New Thread 0x7fffc4a1c700 (LWP 826)]
[Thread 0x7fffc4a1c700 (LWP 826) exited]
[Thread 0x7ffff1a4b700 (LWP 825) exited]
[New Thread 0x7ffff1a4b700 (LWP 830)]
[Thread 0x7ffff1a4b700 (LWP 830) exited]
[New Thread 0x7ffff1a4b700 (LWP 835)]
[New Thread 0x7fffc4a1c700 (LWP 836)]
[Thread 0x7fffc4a1c700 (LWP 836) exited]
[Thread 0x7ffff1a4b700 (LWP 835) exited]
[New Thread 0x7ffff1a4b700 (LWP 839)]
^C
Thread 1 "amule" received signal SIGINT, Interrupt.
0x00007ffff692f633 in poll () from /lib64/libc.so.6
(gdb) thread apply all bt

Thread 48 (Thread 0x7ffff1a4b700 (LWP 839)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 34 (Thread 0x7ffff224c700 (LWP 809)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7ffff224b5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 33 (Thread 0x7ffff2a4d700 (LWP 807)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7ffff2a4c5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 32 (Thread 0x7fffc5a1e700 (LWP 806)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fffc5a1d5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6
--Type <RET> for more, q to quit, c to continue without paging--

Thread 31 (Thread 0x7fffb4ffd700 (LWP 805)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fffb4ffc5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 30 (Thread 0x7fffc521d700 (LWP 804)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fffc521c5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 29 (Thread 0x7fffc621f700 (LWP 803)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fffc621e5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 28 (Thread 0x7fff9ffff700 (LWP 798)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
--Type <RET> for more, q to quit, c to continue without paging--
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fff9fffe5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 26 (Thread 0x7fffb57fe700 (LWP 796)):
#0 0x00007ffff7f8d4bf in connect () at /lib64/libpthread.so.0
0000001 0x00007ffff793a137 in http_RequestAndResponse () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff793b42e in http_Download () at /usr/lib64/libupnp.so.6
0000003 0x00007ffff794364c in UpnpDownloadUrlItem () at /usr/lib64/libupnp.so.6
0000004 0x00007ffff79436b7 in UpnpDownloadXmlDoc () at /usr/lib64/libupnp.so.6
0000005 0x00005555559bf553 in CUPnPControlPoint::Callback(Upnp_EventType_e, void*, void*) (EventType=UPNP_DISCOVERY_ADVERTISEMENT_ALIVE, Event=0x7fffb57fd5d0) at UPnPBase.cpp:1178
0000006 0x00007ffff792f1a3 in ssdp_handle_ctrlpt_msg () at /usr/lib64/libupnp.so.6
0000007 0x00007ffff7930152 in ssdp_event_handler_thread () at /usr/lib64/libupnp.so.6
0000008 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000009 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000010 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7fffc6a20700 (LWP 782)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff6fb2f68 in wxConditionInternal::WaitTimeout(unsigned long) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000002 0x00007ffff6fb5285 in wxSemaphoreInternal::WaitTimeout(unsigned long) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000003 0x000055555597ce4b in CTimerThread::Entry() (this=0x555558824900) at Timer.cpp:66
0000004 0x00007ffff6fbb922 in wxThread::CallEntry() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000005 0x00007ffff6fbbc90 in wxThreadInternal::PthreadStart(wxThread*) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000006 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000007 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7ffff3a4f700 (LWP 779)):
#0 0x00007ffff7f8db08 in nanosleep () at /lib64/libpthread.so.0
0000001 0x00007ffff6fbe79c in wxMicroSleep(unsigned long) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000002 0x000055555581eccf in UploadBandwidthThrottler::Entry() (this=0x555556faec20) at UploadBandwidthThrottler.cpp:306
0000003 0x00007ffff6fbb922 in wxThread::CallEntry() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000004 0x00007ffff6fbbc90 in wxThreadInternal::PthreadStart(wxThread*) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000005 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000006 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7fffef1cf700 (LWP 772)):
#0 0x00007ffff692f633 in poll () at /lib64/libc.so.6
0000001 0x00007ffff5da0766 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff5da0b02 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000003 0x00007ffff56be426 in gdbus_shared_thread_func () at /usr/lib64/libgio-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
0000004 0x00007ffff5dc937d in g_thread_proxy () at /usr/lib64/libglib-2.0.so.0
0000005 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000006 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fffef9d0700 (LWP 771)):
#0 0x00007ffff692f633 in poll () at /lib64/libc.so.6
0000001 0x00007ffff5da0766 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff5da088c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
0000003 0x00007ffff5da08d1 in glib_worker_main () at /usr/lib64/libglib-2.0.so.0
0000004 0x00007ffff5dc937d in g_thread_proxy () at /usr/lib64/libglib-2.0.so.0
0000005 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000006 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7ffff0248700 (LWP 770)):
#0 0x00007ffff69324bf in select () at /lib64/libc.so.6
0000001 0x00007ffff79347d9 in RunMiniServer () at /usr/lib64/libupnp.so.6
0000002 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000003 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000004 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7ffff0a49700 (LWP 769)):
#0 0x00007ffff7f890fc in pthread_cond_wait () at /lib64/libpthread.so.0
0000001 0x00007ffff79235d2 in TimerThreadWorker () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7922116 in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000003 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000004 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7ffff124a700 (LWP 768)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7ffff324e700 (LWP 764)):
#0 0x00007ffff7f8944b in pthread_cond_timedwait () at /lib64/libpthread.so.0
0000001 0x00007ffff7921ecd in WorkerThread () at /usr/lib64/libthreadutil.so.6
0000002 0x00007ffff7f82458 in start_thread () at /lib64/libpthread.so.0
0000003 0x00007ffff693b6ef in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff4a4e940 (LWP 747)):
#0 0x00007ffff692f633 in poll () at /lib64/libc.so.6
0000001 0x00007ffff5da0766 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
0000002 0x00007ffff5da0b02 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
0000003 0x00007ffff6370a6d in gtk_main () at /usr/lib64/libgtk-3.so.0
0000004 0x00007ffff7378765 in wxGUIEventLoop::DoRun() () at /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
0000005 0x00007ffff6eb9ebd in wxEventLoopBase::Run() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000006 0x00007ffff6e81be6 in wxAppConsoleBase::MainLoop() () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000007 0x00007ffff6f03e17 in wxEntry(int&, wchar_t**) () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
0000008 0x0000555555866865 in main(int, char**) (argc=1, argv=0x7fffffffdc78) at amule-gui.cpp:95
(gdb)
(0003727)
dememax   
2019-09-29 01:46   
I've disabled UPnP:

  Configure script has finished system check.

  Configured aMule SVN (rev. g2a1b09233) for 'x86_64-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed? /usr/local
  Should aMule be compiled with i18n support? yes
  Should aMule be compiled in debug mode? yes
  Should aMule be compiled with profiling? no
  Should aMule be compiled with optimizations? no
  Should aMule be compiled with UPnP support? no
  Should aMule be compiled with IP2country support? yes
  Should aMule monolithic application be built? yes
  Should aMule daemon version be built? no
  Should aMule remote gui be built? yes

  **** aMule TextClient ****
  Should aMule Command Line Client be built? yes

  **** aMule WebServer ****
  Should aMule WebServer be built? no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built? yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built? no
  Should aMuleLinkCreator for console (alcc) be built? no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built? no
  Should aMule GUI Statistics (wxCas) be built? yes
  Should xas XChat2 plugin be installed? no
  Should plasmaMule plasma-applet be built? no

  **** General Libraries and Tools ****
  Should ccache support be enabled? no
  Should aMule file viewer for console be built? no
  Libraries aMule will use to build:
                             wxWidgets 3.0.4 (gtk3,shared)
                             crypto++ 8.2 (in /usr)
                             libintl system
                             libGeoIP system
                             zlib 1.2.11

The result is the same.
(0003728)
dememax   
2019-09-29 01:47   
(amule:10038): Gtk-CRITICAL **: 01:43:42.810: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(amule:10038): GLib-CRITICAL **: 01:44:05.190: Source ID 6045 was not found when attempting to remove it

(amule:10038): GLib-CRITICAL **: 01:44:45.048: Source ID 14412 was not found when attempting to remove it
(0003729)
dememax   
2019-09-29 02:48   
Running amule under valgrind produces yet more messages on console:


(amule:3149): Gtk-CRITICAL **: 02:30:05.710: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it
02:30:08 AM: Debug: window wxBitmapButton(0x9ae9d30, ) lost focus even though it didn't have it

(amule:3149): GLib-CRITICAL **: 02:31:47.230: Source ID 2982 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:31:56.014: Source ID 3553 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:33:19.989: Source ID 9857 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:33:21.392: Source ID 9940 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:33:44.368: Source ID 11305 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:35:26.975: Source ID 18148 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:39:16.001: Source ID 33370 was not found when attempting to remove it

(amule:3149): GLib-CRITICAL **: 02:43:39.303: Source ID 51588 was not found when attempting to remove it
(0003730)
dememax   
2019-09-29 03:02   
I don't know if it is a false positive, but I have a lot of:

==3149== Use of uninitialised value of size 8
==3149== at 0x4C2E4D7: CryptoPP::RawDES::RawProcessBlock(unsigned int&, unsigned int&) const (in /usr/lib64/libcryptopp.so.8.2.0)
==3149== by 0x4C2E862: CryptoPP::DES_EDE3::Base::ProcessAndXorBlock(unsigned char const*, unsigned char const*, unsigned char*) const (in /usr/lib64/libcryptopp.so.8.2.0)
==3149== by 0x4D4AFE2: CryptoPP::X917RNG::X917RNG(CryptoPP::BlockTransformation*, unsigned char const*, unsigned char const*) (in /usr/lib64/libcryptopp.so.8.2.0)
==3149== by 0x2F36B7: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) (osrng.h:233)
==3149== by 0x2F26B9: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::Reseed(bool, unsigned char const*, unsigned long) (osrng.h:255)
==3149== by 0x2F0DC9: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::AutoSeededX917RNG(bool, bool) (osrng.h:199)
==3149== by 0x2E97E5: CClientCreditsList::CreateSignature(CClientCredits*, unsigned char*, unsigned char, unsigned int, unsigned char, void*) (ClientCreditsList.cpp:347)
==3149== by 0x2C64D7: CUpDownClient::SendSignaturePacket() (BaseClient.cpp:2109)
==3149== by 0x2C6C2A: CUpDownClient::ProcessPublicKeyPacket(unsigned char const*, unsigned int) (BaseClient.cpp:2152)
==3149== by 0x302847: CClientTCPSocket::ProcessExtPacket(unsigned char const*, unsigned int, unsigned char) (ClientTCPSocket.cpp:1333)
==3149== by 0x308C8E: CClientTCPSocket::PacketReceived(CPacket*) (ClientTCPSocket.cpp:1998)
==3149== by 0x345E5C: CEMSocket::OnReceive(int) (EMSocket.cpp:277)
==3149== Uninitialised value was created by a heap allocation
==3149== at 0x483679F: malloc (vg_replace_malloc.c:299)
==3149== by 0x4D1403C: CryptoPP::UnalignedAllocate(unsigned long) (in /usr/lib64/libcryptopp.so.8.2.0)
==3149== by 0x4D4ADBD: CryptoPP::X917RNG::X917RNG(CryptoPP::BlockTransformation*, unsigned char const*, unsigned char const*) (in /usr/lib64/libcryptopp.so.8.2.0)
==3149== by 0x2F36B7: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) (osrng.h:233)
==3149== by 0x2F26B9: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::Reseed(bool, unsigned char const*, unsigned long) (osrng.h:255)
==3149== by 0x2F0DC9: CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3>::AutoSeededX917RNG(bool, bool) (osrng.h:199)
==3149== by 0x2E97E5: CClientCreditsList::CreateSignature(CClientCredits*, unsigned char*, unsigned char, unsigned int, unsigned char, void*) (ClientCreditsList.cpp:347)
==3149== by 0x2C64D7: CUpDownClient::SendSignaturePacket() (BaseClient.cpp:2109)
==3149== by 0x2C6C2A: CUpDownClient::ProcessPublicKeyPacket(unsigned char const*, unsigned int) (BaseClient.cpp:2152)
==3149== by 0x302847: CClientTCPSocket::ProcessExtPacket(unsigned char const*, unsigned int, unsigned char) (ClientTCPSocket.cpp:1333)
==3149== by 0x308C8E: CClientTCPSocket::PacketReceived(CPacket*) (ClientTCPSocket.cpp:1998)
==3149== by 0x345E5C: CEMSocket::OnReceive(int) (EMSocket.cpp:277)
(0003731)
dememax   
2019-09-29 03:28   
Another suspicious item by valgrind:

==3149== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==3149== at 0x4888877: sendto (in /lib64/libpthread-2.29.so)
==3149== by 0x5719C59: wxSocketImpl::SendDgram(void const*, int) [clone .part.65] (in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0.4.0)
==3149== by 0x571AC81: wxSocketImpl::Write(void const*, int) (in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0.4.0)
==3149== by 0x571BBAC: wxSocketBase::DoWrite(void const*, unsigned int) (in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0.4.0)
==3149== by 0x571BD21: wxSocketBase::Write(void const*, unsigned int) (in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0.4.0)
==3149== by 0x571D341: wxDatagramSocket::SendTo(wxSockAddress const&, void const*, unsigned int) (in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0.4.0)
==3149== by 0x55323E: CLibUDPSocket::SendTo(amuleIPV4Address const&, void const*, unsigned int) (LibSocketWX.cpp:79)
==3149== by 0x4F5A97: CDatagramSocketProxy::SendTo(amuleIPV4Address const&, void const*, unsigned int) (Proxy.cpp:1459)
==3149== by 0x388477: CMuleUDPSocket::SendTo(unsigned char*, unsigned int, unsigned int, unsigned short) (MuleUDPSocket.cpp:320)
==3149== by 0x3881E9: CMuleUDPSocket::SendControlData(unsigned int, unsigned int) (MuleUDPSocket.cpp:281)
==3149== by 0x3D081A: UploadBandwidthThrottler::Entry() (UploadBandwidthThrottler.cpp:364)
==3149== by 0x58FA921: wxThread::CallEntry() (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== Address 0xa00339f is 31 bytes inside a block of size 51 alloc'd
==3149== at 0x483752F: operator new[](unsigned long) (vg_replace_malloc.c:423)
==3149== by 0x34B5DF: CEncryptedDatagramSocket::EncryptSendClient(unsigned char**, int, unsigned char const*, bool, unsigned int, unsigned int) (EncryptedDatagramSocket.cpp:274)
==3149== by 0x3881C3: CMuleUDPSocket::SendControlData(unsigned int, unsigned int) (MuleUDPSocket.cpp:278)
==3149== by 0x3D081A: UploadBandwidthThrottler::Entry() (UploadBandwidthThrottler.cpp:364)
==3149== by 0x58FA921: wxThread::CallEntry() (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== by 0x58FAC8F: wxThreadInternal::PthreadStart(wxThread*) (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== by 0x487D457: start_thread (in /lib64/libpthread-2.29.so)
==3149== by 0x5ECD6EE: clone (in /lib64/libc-2.29.so)
==3149== Uninitialised value was created by a stack allocation
==3149== at 0x4156C6: Kademlia::CRoutingZone::RandomLookup() const (RoutingZone.cpp:820)
==3149==
==3149== Thread 1:
==3149== Conditional jump or move depends on uninitialised value(s)
==3149== at 0x52EE17: Kademlia::CUInt128::CompareTo(Kademlia::CUInt128 const&) const (UInt128.cpp:139)
==3149== by 0x2CF3EE: Kademlia::CUInt128::operator<(Kademlia::CUInt128 const&) const (UInt128.h:159)
==3149== by 0x2D35BA: std::less<Kademlia::CUInt128>::operator()(Kademlia::CUInt128 const&, Kademlia::CUInt128 const&) const (stl_function.h:386)
==3149== by 0x3F67AD: std::_Rb_tree<Kademlia::CUInt128, std::pair<Kademlia::CUInt128 const, Kademlia::CContact*>, std::_Select1st<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> >, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > const*, std::_Rb_tree_node_base const*, Kademlia::CUInt128 const&) const (stl_tree.h:1904)
==3149== by 0x3F55D7: std::_Rb_tree<Kademlia::CUInt128, std::pair<Kademlia::CUInt128 const, Kademlia::CContact*>, std::_Select1st<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> >, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::find(Kademlia::CUInt128 const&) const (stl_tree.h:2552)
==3149== by 0x3F47E5: std::map<Kademlia::CUInt128, Kademlia::CContact*, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::count(Kademlia::CUInt128 const&) const (stl_map.h:1215)
==3149== by 0x3E96FC: Kademlia::CSearch::JumpStart() (Search.cpp:284)
==3149== by 0x57D4A5: Kademlia::CSearchManager::JumpStart() (SearchManager.cpp:328)
==3149== by 0x3E3ADB: Kademlia::CKademlia::Process() (Kademlia.cpp:262)
==3149== by 0x2B1655: CamuleApp::OnCoreTimer(CTimerEvent&) (amule.cpp:1207)
==3149== by 0x592428D: wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== by 0x5924392: wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== Uninitialised value was created by a stack allocation
==3149== at 0x4156C6: Kademlia::CRoutingZone::RandomLookup() const (RoutingZone.cpp:820)
==3149==
==3149== Conditional jump or move depends on uninitialised value(s)
==3149== at 0x52EE3C: Kademlia::CUInt128::CompareTo(Kademlia::CUInt128 const&) const (UInt128.cpp:141)
==3149== by 0x2CF3EE: Kademlia::CUInt128::operator<(Kademlia::CUInt128 const&) const (UInt128.h:159)
==3149== by 0x2D35BA: std::less<Kademlia::CUInt128>::operator()(Kademlia::CUInt128 const&, Kademlia::CUInt128 const&) const (stl_function.h:386)
==3149== by 0x3F67AD: std::_Rb_tree<Kademlia::CUInt128, std::pair<Kademlia::CUInt128 const, Kademlia::CContact*>, std::_Select1st<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> >, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > const*, std::_Rb_tree_node_base const*, Kademlia::CUInt128 const&) const (stl_tree.h:1904)
==3149== by 0x3F55D7: std::_Rb_tree<Kademlia::CUInt128, std::pair<Kademlia::CUInt128 const, Kademlia::CContact*>, std::_Select1st<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> >, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::find(Kademlia::CUInt128 const&) const (stl_tree.h:2552)
==3149== by 0x3F47E5: std::map<Kademlia::CUInt128, Kademlia::CContact*, std::less<Kademlia::CUInt128>, std::allocator<std::pair<Kademlia::CUInt128 const, Kademlia::CContact*> > >::count(Kademlia::CUInt128 const&) const (stl_map.h:1215)
==3149== by 0x3E96FC: Kademlia::CSearch::JumpStart() (Search.cpp:284)
==3149== by 0x57D4A5: Kademlia::CSearchManager::JumpStart() (SearchManager.cpp:328)
==3149== by 0x3E3ADB: Kademlia::CKademlia::Process() (Kademlia.cpp:262)
==3149== by 0x2B1655: CamuleApp::OnCoreTimer(CTimerEvent&) (amule.cpp:1207)
==3149== by 0x592428D: wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== by 0x5924392: wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (in /usr/lib64/libwx_baseu-3.0-gtk3.so.0.4.0)
==3149== Uninitialised value was created by a stack allocation
==3149== at 0x4156C6: Kademlia::CRoutingZone::RandomLookup() const (RoutingZone.cpp:820)
(0003732)
dememax   
2019-10-12 10:11   
Just one precision: this is main thread (wxGUIEventLoop::DoRun() / gtk_main()) which consumes 100% of CPU.
(0003733)
dememax   
2019-10-12 10:48   
Yet another crash with an assertion and a backtrace:

(amule:15287): GLib-CRITICAL **: 10:46:41.648: Source ID 29282 was not found when attempting to remove it

(amule:15287): GLib-CRITICAL **: 10:46:48.668: Source ID 32166 was not found when attempting to remove it
Assertion failed: /var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/work/wxWidgets-3.0.4/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/lib64/libwx_baseu-3.0-gtk3.so.0[0x7fbda6cb419a]
[4] ?? in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0[0x7fbda6f04096]
[5] ?? in /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0[0x7fbda71b62d9]
[6] g_main_context_dispatch in /usr/lib64/libglib-2.0.so.0[0x7fbda5bd7407]
[7] ?? in /usr/lib64/libglib-2.0.so.0[0x7fbda5bd77f8]
[8] g_main_loop_run in /usr/lib64/libglib-2.0.so.0[0x7fbda5bd7b02]
[9] gtk_main in /usr/lib64/libgtk-3.so.0[0x7fbda61a7a6d]
[10] wxGUIEventLoop::DoRun() in /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0[0x7fbda71af765]
[11] wxEventLoopBase::Run() in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7fbda6ceeebd]
[12] wxAppConsoleBase::MainLoop() in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7fbda6cb6be6]
[13] wxEntry(int&, wchar_t**) in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7fbda6d38e17]
[14] main in /home/max/sources/amule/src/amule[0x5587ca3b9e71]
[15] __libc_start_main in /lib64/libc.so.6[0x7fbda668dedb]
[16] ?? in /home/max/sources/amule/src/amule[0x5587ca23faaa]

sync
[1]+ Aborted ~/sources/amule/src/amule
(0003734)
dememax   
2019-10-12 22:48   
Looks like a very well-known problem:
1) thread http://lists.links2linux.de/pipermail/packman/2017-February/015091.html [^]
2) https://bugzilla.rpmfusion.org/show_bug.cgi?id=5197 [^]
3) https://forums.fedora-fr.org/viewtopic.php?id=69694 [^]
4) http://forum.amule.org/index.php?topic=21638.msg110966 [^]
(0003737)
dememax   
2019-10-27 11:41   
Again the same trouble:

(amule:6909): GLib-CRITICAL **: 11:38:13.072: Source ID 2792 was not found when attempting to remove it

(amule:6909): GLib-CRITICAL **: 11:39:52.394: Source ID 28820 was not found when attempting to remove it
Assertion failed: /var/tmp/portage/x11-libs/wxGTK-3.0.4-r302/work/wxWidgets-3.0.4/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/lib64/libwx_baseu-3.0-gtk3.so.0[0x7f93bcf5519a]
[4] ?? in /usr/lib64/libwx_baseu_net-3.0-gtk3.so.0[0x7f93bd1a5096]
[5] ?? in /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0[0x7f93bd4572d9]
[6] g_main_context_dispatch in /usr/lib64/libglib-2.0.so.0[0x7f93bbe78407]
[7] ?? in /usr/lib64/libglib-2.0.so.0[0x7f93bbe787f8]
[8] g_main_loop_run in /usr/lib64/libglib-2.0.so.0[0x7f93bbe78b02]
[9] gtk_main in /usr/lib64/libgtk-3.so.0[0x7f93bc448a6d]
[10] wxGUIEventLoop::DoRun() in /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so.0[0x7f93bd450765]
[11] wxEventLoopBase::Run() in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7f93bcf8febd]
[12] wxAppConsoleBase::MainLoop() in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7f93bcf57be6]
[13] wxEntry(int&, wchar_t**) in /usr/lib64/libwx_baseu-3.0-gtk3.so.0[0x7f93bcfd9e17]
[14] main in /home/max/sources/amule/src/amule[0x55ea1b595e71]
[15] __libc_start_main in /lib64/libc.so.6[0x7f93bc92eedb]
[16] ?? in /home/max/sources/amule/src/amule[0x55ea1b41baaa]
(0003738)
ogio71   
2019-11-12 20:45   
Same for me on Fedora 31 and amule 2.3.2-19.fc31 from @rpmfusion-free
(0003740)
dememax   
2019-11-17 11:54   
Using Yandex search engine, I've found this wxWidgets issue:
"#12886 confirmed defect / crash in wxSocket_GDK_Input()"
https://trac.wxwidgets.org/ticket/12886 [^]

I don't know if it is related but looks like a similar problem.
(0003741)
dememax   
2019-11-17 14:49   
gonosztopi commented on Sep 12:

"I have to say the only wx library aMule is stable with is 2.8.12."

https://github.com/amule-project/amule/issues/51#issuecomment-530717229 [^]

So I've recompiled aMule against wxWidgets 2.8.12.
Everything works fine.
(0003742)
dememax   
2019-11-17 23:09   
Unfortunately, amule crashes quite often with wx 2.8.12.
But it works at least first 3-5 minutes. :-)
Typical backtraces:


----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.12 (Debugging) (Snapshot: rev. g2a1b09233+)
Running on: Linux 4.19.82-gentoo x86_64

[2] wxFatalSignalHandler in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7f4d516341a2]
[3] ?? in /lib64/libpthread.so.0[0x7f4d52364660]
[4] ?? in [0x7f4d440049d0]

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


----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.12 (Debugging) (Snapshot: rev. g2a1b09233+)
Running on: Linux 4.19.82-gentoo x86_64

[2] wxFatalSignalHandler in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7ffb0635e1a2]
[3] ?? in /lib64/libpthread.so.0[0x7ffb0708e660]
[4] ?? in /usr/lib64/libglib-2.0.so.0[0x7ffb05226ed1]
[5] g_source_remove in /usr/lib64/libglib-2.0.so.0[0x7ffb0522887c]
[6] GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) in /home/max/opt/lib/libwx_gtk2ud_core-2.8.so.0[0x7ffb0667f21e]
[7] GSocket::Enable(GSocketEvent) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7ffb06434fb1]
[8] GSocket::Write(char const*, int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7ffb06434741]
[9] wxSocketBase::_Write(void const*, unsigned int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7ffb0642f3b5]
[10] wxSocketBase::Write(void const*, unsigned int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7ffb0642f2ed]
[11] ?? in /home/max/sources/amule/src/amule[0x55584da68e31]
[12] ?? in /home/max/sources/amule/src/amule[0x55584dbd743b]
[13] ?? in /home/max/sources/amule/src/amule[0x55584da583e0]
[14] ?? in /home/max/sources/amule/src/amule[0x55584da56c89]
[15] ?? in /home/max/sources/amule/src/amule[0x55584da1d425]
[16] ?? in /home/max/sources/amule/src/amule[0x55584da1cf61]
[17] ?? in /home/max/sources/amule/src/amule[0x55584dad8d39]
[18] wxThreadInternal::PthreadStart(wxThread*) in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7ffb06353fd4]
[19] wxPthreadStart in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7ffb06353e67]
[20] ?? in /lib64/libpthread.so.0[0x7ffb07082497]
[21] clone in /lib64/libc.so.6[0x7ffb05ce984f]

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


----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v2.8.12 (Debugging) (Snapshot: rev. g2a1b09233+)
Running on: Linux 4.19.82-gentoo x86_64

[2] wxFatalSignalHandler in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7fc23767a1a2]
[3] ?? in /lib64/libpthread.so.0[0x7fc2383aa660]
[4] ?? in /usr/lib64/libglib-2.0.so.0[0x7fc236542ed1]
[5] g_source_remove in /usr/lib64/libglib-2.0.so.0[0x7fc23654487c]
[6] GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) in /home/max/opt/lib/libwx_gtk2ud_core-2.8.so.0[0x7fc23799b21e]
[7] GSocket::Enable(GSocketEvent) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7fc237750fb1]
[8] GSocket::Write(char const*, int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7fc237750741]
[9] wxSocketBase::_Write(void const*, unsigned int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7fc23774b3b5]
[10] wxSocketBase::Write(void const*, unsigned int) in /home/max/opt/lib/libwx_baseud_net-2.8.so.0[0x7fc23774b2ed]
[11] ?? in /home/max/sources/amule/src/amule[0x55faba485e31]
[12] ?? in /home/max/sources/amule/src/amule[0x55faba5f443b]
[13] ?? in /home/max/sources/amule/src/amule[0x55faba4753e0]
[14] ?? in /home/max/sources/amule/src/amule[0x55faba473c89]
[15] ?? in /home/max/sources/amule/src/amule[0x55faba43a425]
[16] ?? in /home/max/sources/amule/src/amule[0x55faba439f61]
[17] ?? in /home/max/sources/amule/src/amule[0x55faba4f5d39]
[18] wxThreadInternal::PthreadStart(wxThread*) in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7fc23766ffd4]
[19] wxPthreadStart in /home/max/opt/lib/libwx_baseud-2.8.so.0[0x7fc23766fe67]
[20] ?? in /lib64/libpthread.so.0[0x7fc23839e497]
[21] clone in /lib64/libc.so.6[0x7fc23700584f]

--------------------------------------------------------------------------------
(0003746)
dememax   
2019-12-09 23:47   
I've built aMule with the latest wx (c4af8be615 [origin/master] wxIsPlatform64Bit: don't launch uname needlessly).
The idea is to use Boost.Asio for networking:

./configure --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-geoip --with-gnu-ld --enable-shared --disable-upnp --with-wxshared --with-wxdebug --with-boost

  Libraries aMule will use to build:
                             wxWidgets 3.1.4 (gtk3,debug,shared)
                             boost 1.71
                             crypto++ 8.2 (in /usr)
                             libintl system
                             libGeoIP system
                             zlib 1.2.11

Some changes are needed for flags like wxALIGN_CENTER_VERTICAL, wxALIGN_CENTER_HORIZONTAL, etc. in src/muuli_wdr.cpp and src/amuleDlg.cpp, otherwise aMule crashes with assertion like:

"Assertion '!(flags & wxALIGN_CENTRE_VERTICAL)' failed. Vertical alignment flags are ignored in vertical sizers"