https://bugs.kde.org/show_bug.cgi?id=506879
Bug ID: 506879
Summary: DrKonqi failed to capture a trace with an
UnexpectedMappingException
Classification: Applications
Product: drkonqi
Version First 6.4.2
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: backtraceparsing
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 183143
--> https://bugs.kde.org/attachment.cgi?id=183143&action=edit
A Screenshot Of The GUI
# SUMMARY
Using `plasma-drkonqi-6.4.2-1.fc42.x86_64` to debug Konsole hanging when
searching for something in a 200 000-line terminal window, it fails.
# STEPS TO REPRODUCE
1. Create a custom Konsole profile with unlimited line support.
2. Invoke `sudo strace -Ttrf waydroid container start` until you've 200 000
lines.
3. Search for something.
4. When hung, allow the DE to kill Konsole.
5. When Dr. Konqi offers to generate a trace, accept.
# OBSERVED RESULT
> ~~~
> Starting debugger gdb --init-eval-command=set auto-solib-add off --nw --nx
> --batch --init-eval-command=set debuginfod enabled on
> --command=/tmp/drkonqi.KpkcFl --command=/tmp/drkonqi.qrxpfy
> --core=/tmp/drkonqi-core.DEGIcE/core /usr/bin/konsole
> Downloading separate debug info for /usr/bin/konsole...
>
> warning: BFD: warning: /tmp/drkonqi-core.DEGIcE/core has a segment extending
> past end of file
>
> warning: Can't open file /memfd:wayland-shm (deleted) during file-backed
> mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309320
> (deleted) during file-backed mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309321
> (deleted) during file-backed mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309322
> (deleted) during file-backed mapping note processing
> [New LWP 46450]
> [New LWP 46451]
> [New LWP 46452]
> [New LWP 46453]
> [New LWP 46454]
> [New LWP 46455]
> [New LWP 46458]
> [New LWP 46456]
> [New LWP 110157]
> [New LWP 110155]
> [New LWP 46460]
> [New LWP 110160]
> [New LWP 110159]
> [New LWP 46459]
> [New LWP 110156]
> [New LWP 110154]
> [New LWP 46457]
>
> warning: failed to parse execution context from corefile: Cannot access
> memory at address 0x7ffd553f7fe0
>
> warning: Error reading shared library list entry at 0x723a565200343932
> Cannot access memory at address 0x6e613a564200313a
> Cannot access memory at address 0x6e613a5642003132
> Failed to read a valid object file image from memory.
> Core was generated by `/usr/bin/konsole'.
> Program terminated with signal SIGABRT, Aborted.
> #0 0x00007fc38a68111c in ?? ()
> [Current thread is 1 (LWP 46450)]
> Cannot QML trace cores :(
> 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 520, in
> make
> stacktrace = SentryTrace(crash_thread, True).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 332, in
> load_solib
> raise UnexpectedMappingException(f"No solib and no image found for frame
> #{i} on thread {thread}! You could try with debug symbols downloading
> enabled.")
> UnexpectedMappingException: No solib and no image found for frame #0 on
> thread <gdb.InferiorThread id=1.1 target-id="LWP 46450">! You could try with
> debug symbols downloading enabled.
> No solib and no image found for frame #0 on thread <gdb.InferiorThread id=1.1
> target-id="LWP 46450">! You could try with debug symbols downloading enabled.
> 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'
> ~~~
# EXPECTED RESULT
It should generate a trace.
# SOFTWARE/OS VERSIONS
> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.2
> KDE Frameworks Version: 6.15.0
> Qt Version: 6.9.1
> Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~
# ADDITIONAL INFORMATION
`gnome-abrt-1.4.3-4` fails to, too. Probably because `coredumpctl debug` does:
> ~~~
> PID: 46450 (konsole)
> UID: 1000 (RokeJulianLockhart)
> GID: 1000 (RokeJulianLockhart)
> Signal: 6 (ABRT)
> Timestamp: Thu 2025-07-10 18:42:18 BST (9min ago)
> Command Line: /usr/bin/konsole
> Executable: /usr/bin/konsole
> Control Group:
> /user.slice/user-1000.slice/[email protected]/app.slice/app-org.kde.konsole-46450.scope
> Unit: [email protected]
> User Unit: app-org.kde.konsole-46450.scope
> Slice: user-1000.slice
> Owner UID: 1000 (RokeJulianLockhart)
> Boot ID: 2c634527fdf84b47a0713f5be3a618b5
> Machine ID: b4f0bef5ffd640fba0ab31fdaa2820b8
> Hostname: Beedell.RokeJulianLockhart.desktop.SSV2AY
> Storage:
> /var/lib/systemd/coredump/core.konsole.1000.2c634527fdf84b47a0713f5be3a618b5.46450.1752169338000000.zst
> (present)
> Size on Disk: 220.5M
> Package: konsole/25.04.3-1.fc42
> build-id: e206ebc0033f8c64de7a30638d6a922191691b12
> Message: Process 46450 (konsole) of user 1000 dumped core.
>
> Module /usr/bin/konsole from rpm konsole-25.04.3-1.fc42.x86_64
> Stack trace of thread 46450:
> #0 0x00007fc38a68111c n/a (n/a + 0x0)
> 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 <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-redhat-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 /usr/bin/konsole...
>
> This GDB supports auto-downloading debuginfo from the following URLs:
> <https://debuginfod.fedoraproject.org/>
> 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.
> Reading symbols from
> /home/RokeJulianLockhart/.cache/debuginfod_client/e206ebc0033f8c64de7a30638d6a922191691b12/debuginfo...
>
> warning: BFD: warning: /var/tmp/coredump-Ci6DRO has a segment extending past
> end of file
>
> warning: Can't open file /memfd:wayland-shm (deleted) during file-backed
> mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309320
> (deleted) during file-backed mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309321
> (deleted) during file-backed mapping note processing
>
> warning: Can't open file /home/RokeJulianLockhart/.cache/konsole/#16309322
> (deleted) during file-backed mapping note processing
> [New LWP 46450]
> [New LWP 46451]
> [New LWP 46452]
> [New LWP 46453]
> [New LWP 46454]
> [New LWP 46455]
> [New LWP 46458]
> [New LWP 46456]
> [New LWP 110157]
> --Type <RET> for more, q to quit, c to continue without paging--c
> [New LWP 110155]
> [New LWP 46460]
> [New LWP 110160]
> [New LWP 110159]
> [New LWP 46459]
> [New LWP 110156]
> [New LWP 110154]
> [New LWP 46457]
>
> warning: failed to parse execution context from corefile: Cannot access
> memory at address 0x7ffd553f7fe0
>
> warning: Error reading shared library list entry at 0x723a565200343932
> Cannot access memory at address 0x6e613a564200313a
> Cannot access memory at address 0x6e613a5642003132
> Failed to read a valid object file image from memory.
> Core was generated by `/usr/bin/konsole'.
> Program terminated with signal SIGABRT, Aborted.
> #0 0x00007fc38a68111c in ?? ()
> [Current thread is 1 (LWP 46450)]
> (gdb) bt full
> #0 0x00007fc38a68111c in ?? ()
> No symbol table info available.
> Backtrace stopped: Cannot access memory at address 0x7ffd553f3cb0
> ~~~
You can download the corefile yourself at
https://www.mediafire.com/file/1al2rqcvv7qnjlk/core.konsole.1000.2c634527fdf84b47a0713f5be3a618b5.46450.1752169338000000.tar.lzma/file,
if of use. It's 5 GiB uncompressed, but I've compressed it in an LZMA2 TAr file
to 98 MiB.
--
You are receiving this mail because:
You are watching all bug changes.