aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled 2.3.3 crashes on startup  (Read 640 times)

kotatsuman

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
amuled 2.3.3 crashes on startup
« on: July 14, 2021, 07:53:55 PM »

Hello.
I tried to compile amule on Ubuntu 21.04 Hirsute Hippo and it became a worm (i.e. eats up all my RAM and crashes). Then I tried to settle with amuled, but it crashes on startup.

Please note that I tried to compile amule package by sources and couldn't get how to uninstall (I still had installed Focal Fossa, i.e. two Ubuntu versions ago), but since the RAM-eating behaviour, I double-updated my distro because I knew that in Hirsute I could download amule 2.3.3 from official repository. Alas, this is the output I get when I launch amuled from terminal:



Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuleD 2.3.3 compiled with wxBase(GTK2) v3.0.5 and Boost 1.74
Running on: Linux 5.11.0-22-generic x86_64

[2] ?? in /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fafc1de30f6]
[3] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7fafc18731f0]
[4] ?? in amuled[0x55ba0de4e8b9]
[5] ?? in amuled[0x55ba0def3f87]
[6] ?? in amuled[0x55ba0deebb17]
[7] ?? in amuled[0x55ba0de37685]
[8] ?? in amuled[0x55ba0ddf7515]
[9] ?? in amuled[0x55ba0dde91ef]
[10] wxEntry(int&, wchar_t**) in /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7fafc1d1879a]
[11] ?? in amuled[0x55ba0dde0476]
[12] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7fafc169b565]
[13] ?? in amuled[0x55ba0dde7f8e]

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

I'm sorry but I was not able to generate a backtrace using gdb.
I mean, I tried to run
Code: [Select]
gdb amuled but this is the output I get:


Code: [Select]
GNU gdb (Ubuntu 10.1-2ubuntu2) 10.1.90.20210411-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from amuled...
(No debugging symbols found in amuled)
(gdb)

Then I don't know what to do. Any help would be appreciated.
Logged

tingo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 18
Re: amuled 2.3.3 crashes on startup
« Reply #1 on: May 15, 2022, 02:10:22 PM »

I can confirm that amuled 2.3.3 crashes soon after startup. I see lots of these messages
Code: [Select]
./src/common/selectdispatcher.cpp(204): assert "Assert failure" failed in ProcessSets(): NULL handler in wxSelectDispatcher?
Collecting stack trace information, please wait...

Call stack:
[00] 0x800d96822
[01] 0x800d96d87
[02] 0x800d9a731
[03] 0x800d9a671
[04] 0x800cc9289
[05] 0x800cc8f56
[06] 0x800c898a6
[07] 0x800d0fdda
[08] 0x2ae95f
Assertion failed: ./src/common/selectdispatcher.cpp:ProcessSets:204: Assertion 'Assert failure' failed. NULL handler in wxSelectDispatcher?
Backtrace follows:
--== no BACKTRACE for your platform ==--


./src/common/selectdispatcher.cpp(204): assert "Assert failure" failed in ProcessSets(): NULL handler in wxSelectDispatcher?
Collecting stack trace information, please wait...

Call stack:
[00] 0x800d96822
[01] 0x800d96d87
[02] 0x800d9a731
[03] 0x800d9a671
[04] 0x800cc9289
[05] 0x800cc8f56
[06] 0x800c898a6
[07] 0x800d0fdda
[08] 0x2ae95f
Assertion failed: ./src/common/selectdispatcher.cpp:ProcessSets:204: Assertion 'Assert failure' failed. NULL handler in wxSelectDispatcher?
Backtrace follows:
--== no BACKTRACE for your platform ==--


./src/common/selectdispatcher.cpp(204): assert "Assert failure" failed in ProcessSets(): NULL handler in wxSelectDispatcher?
Collecting stack trace information, please wait...

Call stack:
[00] 0x800d96822
[01] 0x800d96d87
[02] 0x800d9a731
[03] 0x800d9a671
[04] 0x800cc9289
[05] 0x800cc8f56
[06] 0x800c898a6
[07] 0x800d0fdda
[08] 0x2ae95f
13:36:56: Debug: Failed to unregister 17 in direction 1
Assertion failed: ./src/common/fdiodispatcher.cpp:ModifyFD:113: Assertion 'i != m_handlers.end()' failed. modifying unregistered handler?
Backtrace follows:
--== no BACKTRACE for your platform ==--
gdb says
Code: [Select]
tingo@kg-quiet:~ $ gdb /usr/local/bin/amuled ./amuled.core
GNU gdb (GDB) 11.2 [GDB v11.2 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.3".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/amuled...
(No debugging symbols found in /usr/local/bin/amuled)
[New LWP 101450]
[New LWP 101108]
[New LWP 101454]
[New LWP 101455]

warning: Unexpected size of section `.reg-xstate/101450' in core file.
Core was generated by `amuled -e'.
Program terminated with signal SIGABRT, Aborted.
Sent by thr_kill() from pid 4876 and user 1001.

warning: Unexpected size of section `.reg-xstate/101450' in core file.
#0  0x000000080108a69a in thr_kill () from /lib/libc.so.7
[Current thread is 1 (LWP 101450)]
(gdb) bt
#0  0x000000080108a69a in thr_kill () from /lib/libc.so.7
#1  0x0000000801088af4 in raise () from /lib/libc.so.7
#2  0x00000000002b8eb6 in ?? ()
#3  0x0000000800c8c973 in ?? () from /usr/local/lib/libwx_baseu-3.0.so.0
#4  0x0000000800c8a0aa in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-3.0.so.0
#5  0x0000000800d94e54 in wxMappedFDIODispatcher::ModifyFD(int, wxFDIOHandler*, int) ()
   from /usr/local/lib/libwx_baseu-3.0.so.0
#6  0x0000000800d95dc0 in wxSelectDispatcher::ModifyFD(int, wxFDIOHandler*, int) ()
   from /usr/local/lib/libwx_baseu-3.0.so.0
#7  0x0000000800d9b023 in ?? () from /usr/local/lib/libwx_baseu-3.0.so.0
#8  0x00000008004ff49f in ?? () from /usr/local/lib/libwx_baseu_net-3.0.so.0
#9  0x00000008004fa406 in wxSocketBase::Write(void const*, unsigned int) ()
   from /usr/local/lib/libwx_baseu_net-3.0.so.0
#10 0x00000000003ce207 in ?? ()
#11 0x00000000003098d7 in ?? ()
#12 0x00000000002ec986 in ?? ()
#13 0x000000000035b40a in ?? ()
#14 0x0000000800daabbc in wxThread::CallEntry() () from /usr/local/lib/libwx_baseu-3.0.so.0
#15 0x0000000800daa14c in ?? () from /usr/local/lib/libwx_baseu-3.0.so.0
#16 0x000000080048808c in ?? () from /lib/libthr.so.3
#17 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffdfdfd000
(gdb) quit
[code]
Yes, all this on FreeBSD
[code]
root@kg-quiet:~ # freebsd-version -ku
12.3-RELEASE-p5
12.3-RELEASE-p5
root@kg-quiet:~ # pkg -vv | grep url
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly",
root@kg-quiet:~ # pkg info amule\*
amule-2.3.3_3
Hope this helps.
Logged
--
Torfinn