Sample Header Ad - 728x90

How does one retroactively debug a coredump generated from an AppImage?

2 votes
0 answers
21 views
When a non-reproducible crash occurs in an installed .flatpak package, I can debug it with flatpak-coredumpctl, even if I've solely installed the relevant debug packages after the crash occurred . This is a useful way to retroactive generate a backtrace. With an .AppImage, I see (unofficial) documentation on how to proactively capture a coredump and generate a trace *there* , but that's not useful on another machine, or if unique crashes need to be captured. After all, the unexpected coredumps are the most useful. As an example: ~~~ RokeJulianLockhart@Beedell:~$ coredumpctl debug 63788 PID: 63788 (cursor) UID: 1000 (RokeJulianLockhart) GID: 1000 (RokeJulianLockhart) Signal: 5 (TRAP) Timestamp: Sat 2025-07-05 11:43:55 BST (11min ago) Command Line: /usr/share/cursor/cursor Executable: /usr/share/cursor/cursor Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-appimagelauncher@436976d275e044819cec0d32bc46e97e.service Unit: user@1000.service User Unit: app-appimagelauncher@436976d275e044819cec0d32bc46e97e.service Slice: user-1000.slice Owner UID: 1000 (RokeJulianLockhart) Boot ID: b2f81b0d22aa46928bace43988e7c488 Machine ID: b4f0bef5ffd640fba0ab31fdaa2820b8 Hostname: Beedell.RokeJulianLockhart.desktop.SSV2AY Storage: /var/lib/systemd/coredump/core.cursor.1000.b2f81b0d22aa46928bace43988e7c488.63788.1751712235000000.zst (present) Size on Disk: 1.7M Message: Process 63788 (cursor) of user 1000 dumped core. Module libbrotlicommon.so.1 from rpm brotli-1.1.0-6.fc42.x86_64 Module liblzma.so.5 from rpm xz-5.8.1-2.fc42.x86_64 Module libbrotlidec.so.1 from rpm brotli-1.1.0-6.fc42.x86_64 Module libbz2.so.1 from rpm bzip2-1.0.8-20.fc42.x86_64 Module libdatrie.so.1 from rpm libdatrie-0.2.13-11.fc42.x86_64 Module libjson-glib-1.0.so.0 from rpm json-glib-1.10.6-2.fc42.x86_64 Module libjpeg.so.62 from rpm libjpeg-turbo-3.1.0-2.fc42.x86_64 Module libxml2.so.2 from rpm libxml2-2.12.10-1.fc42.x86_64 Module libgraphite2.so.3 from rpm graphite2-1.3.14-18.fc42.x86_64 Module libXinerama.so.1 from rpm libXinerama-1.1.5-8.fc42.x86_64 Module libXcursor.so.1 from rpm libXcursor-1.2.3-2.fc42.x86_64 Module libwayland-egl.so.1 from rpm wayland-1.23.1-1.fc42.x86_64 Module libwayland-cursor.so.0 from rpm wayland-1.23.1-1.fc42.x86_64 Module libgmp.so.10 from rpm gmp-6.3.0-4.fc42.x86_64 Module libnettle.so.8 from rpm nettle-3.10.1-1.fc42.x86_64 Module libhogweed.so.6 from rpm nettle-3.10.1-1.fc42.x86_64 Module libtasn1.so.6 from rpm libtasn1-4.20.0-1.fc42.x86_64 Module libunistring.so.5 from rpm libunistring-1.1-9.fc42.x86_64 Module libidn2.so.0 from rpm libidn2-2.3.8-1.fc42.x86_64 Module libp11-kit.so.0 from rpm p11-kit-0.25.5-5.fc42.x86_64 Module libcrypto.so.3 from rpm openssl-3.2.4-3.fc42.x86_64 Module libkeyutils.so.1 from rpm keyutils-1.6.3-5.fc42.x86_64 Module libkrb5support.so.0 from rpm krb5-1.21.3-6.fc42.x86_64 Module libcom_err.so.2 from rpm e2fsprogs-1.47.2-3.fc42.x86_64 Module libk5crypto.so.3 from rpm krb5-1.21.3-6.fc42.x86_64 Module libkrb5.so.3 from rpm krb5-1.21.3-6.fc42.x86_64 Module libblkid.so.1 from rpm util-linux-2.40.4-7.fc42.x86_64 Module libcap.so.2 from rpm libcap-2.73-2.fc42.x86_64 Module libXau.so.6 from rpm libXau-1.0.12-2.fc42.x86_64 Module libdrm.so.2 from rpm libdrm-2.4.125-1.fc42.x86_64 Module libpixman-1.so.0 from rpm pixman-0.46.2-1.fc42.x86_64 Module libxcb-shm.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64 Module libxcb-render.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64 Module libXrender.so.1 from rpm libXrender-0.9.12-2.fc42.x86_64 Module libfreetype.so.6 from rpm freetype-2.13.3-2.fc42.x86_64 Module libpng16.so.16 from rpm libpng-1.6.44-2.fc42.x86_64 Module libthai.so.0 from rpm libthai-0.1.29-10.fc42.x86_64 Module libwayland-client.so.0 from rpm wayland-1.23.1-1.fc42.x86_64 Module libtinysparql-3.0.so.0 from rpm tinysparql-3.9.2-1.fc42.x86_64 Module libcloudproviders.so.0 from rpm libcloudproviders-0.3.6-1.fc42.x86_64 Module libXi.so.6 from rpm libXi-1.8.2-2.fc42.x86_64 Module libepoxy.so.0 from rpm libepoxy-1.5.10-9.fc42.x86_64 Module libgdk_pixbuf-2.0.so.0 from rpm gdk-pixbuf2-2.42.12-10.fc42.x86_64 Module libcairo-gobject.so.2 from rpm cairo-1.18.2-3.fc42.x86_64 Module libfribidi.so.0 from rpm fribidi-1.0.16-2.fc42.x86_64 Module libfontconfig.so.1 from rpm fontconfig-2.16.0-2.fc42.x86_64 Module libpangoft2-1.0.so.0 from rpm pango-1.56.3-1.fc42.x86_64 Module libharfbuzz.so.0 from rpm harfbuzz-10.4.0-1.fc42.x86_64 Module libpangocairo-1.0.so.0 from rpm pango-1.56.3-1.fc42.x86_64 Module libgdk-3.so.0 from rpm gtk3-3.24.49-2.fc42.x86_64 Module libgnutls.so.30 from rpm gnutls-3.8.9-3.fc42.x86_64 Module libavahi-client.so.3 from rpm avahi-0.9~rc2-2.fc42.x86_64 Module libavahi-common.so.3 from rpm avahi-0.9~rc2-2.fc42.x86_64 Module libgssapi_krb5.so.2 from rpm krb5-1.21.3-6.fc42.x86_64 Module libsystemd.so.0 from rpm systemd-257.7-1.fc42.x86_64 Module libplds4.so from rpm nss-3.112.0-1.fc42.x86_64 Module libplc4.so from rpm nss-3.112.0-1.fc42.x86_64 Module libselinux.so.1 from rpm libselinux-3.8-2.fc42.x86_64 Module libmount.so.1 from rpm util-linux-2.40.4-7.fc42.x86_64 Module libz.so.1 from rpm zlib-ng-2.2.4-3.fc42.x86_64 Module libgmodule-2.0.so.0 from rpm glib2-2.84.2-1.fc42.x86_64 Module libffi.so.8 from rpm libffi-3.4.6-5.fc42.x86_64 Module libpcre2-8.so.0 from rpm pcre2-10.45-1.fc42.x86_64 Module libatspi.so.0 from rpm at-spi2-core-2.56.2-1.fc42.x86_64 Module libasound.so.2 from rpm alsa-lib-1.2.14-3.fc42.x86_64 Module libudev.so.1 from rpm systemd-257.7-1.fc42.x86_64 Module libxkbcommon.so.0 from rpm libxkbcommon-1.8.1-1.fc42.x86_64 Module libxcb.so.1 from rpm libxcb-1.17.0-5.fc42.x86_64 Module libexpat.so.1 from rpm expat-2.7.1-1.fc42.x86_64 Module libgbm.so.1 from rpm mesa-25.0.7-2.fc42.x86_64 Module libXrandr.so.2 from rpm libXrandr-1.5.4-5.fc42.x86_64 Module libXfixes.so.3 from rpm libXfixes-6.0.1-5.fc42.x86_64 Module libXext.so.6 from rpm libXext-1.3.6-3.fc42.x86_64 Module libXdamage.so.1 from rpm libXdamage-1.1.6-5.fc42.x86_64 Module libXcomposite.so.1 from rpm libXcomposite-0.4.6-5.fc42.x86_64 Module libX11.so.6 from rpm libX11-1.8.11-1.fc42.x86_64 Module libcairo.so.2 from rpm cairo-1.18.2-3.fc42.x86_64 Module libpango-1.0.so.0 from rpm pango-1.56.3-1.fc42.x86_64 Module libgtk-3.so.0 from rpm gtk3-3.24.49-2.fc42.x86_64 Module libcups.so.2 from rpm cups-2.4.12-3.fc42.x86_64 Module libatk-bridge-2.0.so.0 from rpm at-spi2-core-2.56.2-1.fc42.x86_64 Module libatk-1.0.so.0 from rpm at-spi2-core-2.56.2-1.fc42.x86_64 Module libdbus-1.so.3 from rpm dbus-1.16.0-3.fc42.x86_64 Module libnspr4.so from rpm nss-3.112.0-1.fc42.x86_64 Module libsmime3.so from rpm nss-3.112.0-1.fc42.x86_64 Module libnssutil3.so from rpm nss-3.112.0-1.fc42.x86_64 Module libnss3.so from rpm nss-3.112.0-1.fc42.x86_64 Module libgio-2.0.so.0 from rpm glib2-2.84.2-1.fc42.x86_64 Module libgobject-2.0.so.0 from rpm glib2-2.84.2-1.fc42.x86_64 Module libglib-2.0.so.0 from rpm glib2-2.84.2-1.fc42.x86_64 Stack trace of thread 63788: #0 0x0000555b9189e4a9 n/a (/usr/share/cursor/cursor + 0x64384a9) #1 0x0000555b8dbff5ea n/a (/usr/share/cursor/cursor + 0x27995ea) #2 0x0000555b8dbfdac5 n/a (/usr/share/cursor/cursor + 0x2797ac5) #3 0x0000555b8dbfdf70 n/a (/usr/share/cursor/cursor + 0x2797f70) #4 0x0000555b8d8998f7 n/a (/usr/share/cursor/cursor + 0x24338f7) #5 0x00007f5ed2bc85f5 __libc_start_call_main (libc.so.6 + 0x35f5) #6 0x00007f5ed2bc86a8 __libc_start_main_impl (libc.so.6 + 0x36a8) #7 0x0000555b8d47102a n/a (/usr/share/cursor/cursor + 0x200b02a) ELF object binary architecture: AMD x86-64 GNU gdb (Fedora Linux) 16.3-1.fc42 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... /usr/share/cursor/cursor: No such file or directory. This GDB supports auto-downloading debuginfo from the following URLs: Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. warning: Can't open file /usr/share/cursor/libffmpeg.so during file-backed mapping note processing warning: Can't open file /usr/share/cursor/cursor during file-backed mapping note processing [New LWP 63788] Core was generated by `/tmp/.mount_Cursorco8TO2/usr/share/cursor/cursor'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 0x0000555b9189e4a9 in ?? () Missing file(s), try: dnf --enablerepo='*debug*' install /usr/lib/.build-id/79/bae446b9a2d28f83944da3e26fdc4738a35d86 /usr/lib/debug/.build-id/79/bae446b9a2d28f83944da3e26fdc4738a35d86.debug Missing file(s), try: dnf --enablerepo='*debug*' install /usr/lib/.build-id/60/fed38b5df7050dd9cfc6a9ff9082c863370451 /usr/lib/debug/.build-id/60/fed38b5df7050dd9cfc6a9ff9082c863370451.debug (gdb) bt full #0 0x0000555b9189e4a9 in ?? () No symbol table info available. #1 0x0000555b00000001 in ?? () No symbol table info available. #2 0xaaaaaa00ffffffff in ?? () No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. ~~~ ##### Rationale I've already enough information for a bug report to the developers , because I know what action caused it. However, considering the unusual signal, I'd like to be able to better confirm whether a [mis]configuration of mine is relevant, and provide *actionable* information.
Asked by RokeJulianLockhart (542 rep)
Jul 5, 2025, 11:05 AM
Last activity: Jul 5, 2025, 11:15 AM