Bug 506786 - Drkonqi fails to gather information and shows warning bar
Summary: Drkonqi fails to gather information and shows warning bar
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-09 08:43 UTC by Riccardo Robecchi
Modified: 2025-11-18 12:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
crash report (58.40 KB, text/plain)
2025-11-17 03:56 UTC, Ben Creasy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2025-07-09 08:43:29 UTC
SUMMARY
After restarting Plasma, Ark crashes on my system. If I try to gather information on the crash, the Drkonqi window shows a bar that says "Gathering crash information failed for unknown reasons...".
The output is as follows:
Starting debugger gdb --init-eval-command=set auto-solib-add off --nw --nx --batch --init-eval-command=set debuginfod enabled on --command=/tmp/drkonqi.bayGaN --command=/tmp/drkonqi.vnWBYi --core=/tmp/drkonqi-core.nBOBES/core /usr/bin/ark
Downloading separate debug info for /usr/bin/ark...

warning: could not find '.gnu_debugaltlink' file for /usr/bin/ark
Downloading separate debug info for /usr/bin/ark...

warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
[New LWP 550773]
[New LWP 550776]
[New LWP 550777]
[New LWP 550778]
[New LWP 550782]
[New LWP 550781]
[New LWP 550779]
[New LWP 550784]
[New LWP 550783]
[New LWP 550787]
[New LWP 550788]
[New LWP 550780]
Downloading separate debug info for system-supplied DSO at 0x7f7d2c81f000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/ark /tmp/pid-6679/2025_07_01-Interview-Proxmox-Edge9-Hardware-Upgrade.'.
Program terminated with signal SIGSEGV, Segmentation fault.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44

warning: 44	./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x7f7d2454f200 (LWP 550773))]
Cannot QML trace cores :(
add symbol table from file "/lib/x86_64-linux-gnu/libc.so.6"
Downloading separate debug info for /lib/x86_64-linux-gnu/libKF6Crash.so.6...
add symbol table from file "/lib/x86_64-linux-gnu/libKF6Crash.so.6"
add symbol table from file "/lib/x86_64-linux-gnu/libQt6Core.so.6"
Downloading separate debug info for /lib/x86_64-linux-gnu/libKF6JobWidgets.so.6...
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libKF6JobWidgets.so.6
Downloading separate debug info for /lib/x86_64-linux-gnu/libKF6JobWidgets.so.6...
add symbol table from file "/lib/x86_64-linux-gnu/libKF6JobWidgets.so.6"
warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libKF6JobWidgets.so.6.15.0
add symbol table from file "/lib/x86_64-linux-gnu/libQt6DBus.so.6"
add symbol table from file "/lib/x86_64-linux-gnu/libQt6Widgets.so.6"
Downloading separate debug info for /lib/x86_64-linux-gnu/libglib-2.0.so.0...
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libglib-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libglib-2.0.so.0...
add symbol table from file "/lib/x86_64-linux-gnu/libglib-2.0.so.0"
warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0
add symbol table from file "/usr/bin/ark"
Download failed: Invalid argument.  Continuing without source file ./csu/../csu/libc-start.c.
Download failed: Invalid argument.  Continuing without source file ./csu/../sysdeps/nptl/libc_start_call_main.h.
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qflags.h...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qeventdispatcher_glib.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qcoreapplication.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/widgets/kernel/qapplication.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobject.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/dbus/qdbusintegrator.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/obj-x86_64-linux-gnu/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/dbus/qdbusservicewatcher.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobjectdefs.h...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobjectdefs_impl.h...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/tools/qsharedpointer.cpp...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qbasicatomic.h...
Downloading source file /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/thread/qatomic_cxx11.h...
Downloading separate debug info for /lib/x86_64-linux-gnu/libgallium-25.1.4 - kisak-mesa PPA.so...
Traceback (most recent call last):
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 812, in print_preamble
    print_preamble_internal()
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 803, in print_preamble_internal
    print_sentry_payload(thread)
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 727, in print_sentry_payload
    payload = SentryEvent().make(program, thread)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 528, in make
    SentryThread(thread, is_crashed=(thread == crash_thread)).to_dict() for thread in gdb.selected_inferior().threads()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 416, in to_dict
    'stacktrace': trace.to_dict(),
                  ^^^^^^^^^^^^^^^
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 367, in to_dict
    SentryTrace.load_solib(self.thread, cramped_memory)
  File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line 349, in load_solib
    gdb.execute(f'add-symbol-file {solib}')
gdb.error: Unrecognized argument "-"
Unrecognized argument "-"
Sentry is attempting to send 2 pending events
Waiting up to 30 seconds
Press Ctrl-C to quit
Debugging ended with exit code '1' and exit status 'NormalExit'

STEPS TO REPRODUCE
1. Make Ark crash

OBSERVED RESULT
Drkonqi fails to gather information.

EXPECTED RESULT
Drkonqi is able to gather debug information.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Harald Sitter 2025-07-10 05:41:42 UTC
gdb trips over space in lib path, probably needs quoting "/lib/x86_64-linux-gnu/libgallium-25.1.4 - kisak-mesa PPA.so"
Comment 2 Ben Creasy 2025-11-17 03:56:21 UTC
Created attachment 186874 [details]
crash report

I'm using Universal Blue Aurora

Fastfetch output:
➜  fastfetch
                  +++++++++                        ben@iridium14
               +++++++++++++++
           ++++++++++  +++++++++++               󱋩  aurora-dx:stable 🔐
       +++++++++++     +   +++++++++++           󰣛  Aurora (Version: 42.20251005.1)
    +++++++++++      +++      +++++++++++          Linux 6.16.7-200.fc42.x86_64
  ++++++++++   +    +++++  ++    ++++++++++      󰅐  8 hours, 28 mins
 ++++++++ + +  +   +++++++    +  +  ++++++++     󰔠  Forged on Sep 22 2025
++++++  +  +++    +++++++++     +++ ++++++++
++++++      +    +++++ +++++     +               󰾰  Iridium 14
++++++ +        +++++   +++++           +++++    󰻠  13th Gen Intel(R) Core(TM) i5-13500H (16) @ 4.70 GHz
++++++   +     +++++     ++++++    ++++++++++    󰍛  Intel Iris Xe Graphics @ 1.45 GHz [Integrated]
++++++ +++++  +++++   +   +++++++++++++++++++    󰧑  10.66 GiB / 15.34 GiB (69%)
++++++   +   +++++   +   +++++++++++++++           90.71 GiB / 929.93 GiB (10%) - btrfs
++++++      ++++++    +++++++++++++              󰍹  1920x1200 @ 60 Hz (as 1742x1089) in 14" [Built-in]
++++++  +  ++++++ +++++++++++++ +++  ++            74% [Charging, AC Connected]
++++++    ++++++++++++++++      ++++  ++  +
++++++   ++++++++++++++     +    ++++            󰕮  KDE Plasma 6.4.5
++++++  +++++++++++    +      +        ++++++      KWin (Wayland)
++++++ ++++++++++     +++       +++++++++++++      bash 5.2.37
+++++ +++++++++        +   +++++++++++++           Ptyxis 48.5
 +++ ++++++++ ++   +   ++++++++++++++   ++++     󰏖  62 (flatpak), 5 (brew), 1 (appman)
 ++ ++++++++    +  ++++++++++++++   +++++++
    ++++++   +   +++++++++++++   +++++++++                                 
      ++++    +++++++++++++   +++++++++                                    
            +++++++++++   +++++++++
              +++++    +++++++++
                    ++++++++
                    +++++

ben in bip39key on  main is 󰏗 v1.4.1 via 󱘗
Comment 3 Harald Sitter 2025-11-18 12:36:01 UTC
Git commit 4293a88204d9a07407db7d2f1b2189b202f7e756 by Harald Sitter.
Committed on 18/11/2025 at 12:35.
Pushed by sitter into branch 'master'.

preamble: quote solib when calling add

otherwise gdb doesn't handle it correctly

M  +1    -1    src/data/gdb_preamble/preamble.py

https://invent.kde.org/plasma/drkonqi/-/commit/4293a88204d9a07407db7d2f1b2189b202f7e756