Bug 501759

Summary: konsole crashed after pasting code
Product: [Applications] konsole Reporter: efedagli04
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description efedagli04 2025-03-19 18:36:27 UTC
Application: konsole (22.04.3)

Qt Version: 5.15.3
Frameworks Version: 5.104.0
Operating System: Linux 6.8.0-51-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.5 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
i tried to paste code into python3 and it crashed konsole

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ae5fffcc964 in Konsole::ProcessInfo::isValid() const () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#5  0x00007ae6000563d4 in Konsole::Session::getUrl() () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#6  0x00007ae600058296 in Konsole::SessionController::url() const () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007ae60006bd6b in Konsole::SessionController::showDisplayContextMenu(QPoint const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007ae5feaf1793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ae5fffbced9 in Konsole::TerminalDisplay::configureRequest(QPoint const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#10 0x00007ae600032391 in Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#11 0x00007ae5ff7af4ee in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ae5ff76c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ae5ff774364 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ae5feab9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ae5ff772e47 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ae5ff7c8d40 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ae5ff7cbfd5 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ae5ff76c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ae5feab9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ae5fef41307 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007ae5fef16a2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ae5f88f8d6e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007ae5fcdc7d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ae5fce1d2b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ae5fcdc53e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ae5feb130b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ae5feab875b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ae5feac0cf4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x0000636d7ed2a655 in ?? ()
#30 0x00007ae5fe029d90 in __libc_start_call_main (main=main@entry=0x636d7ed28c80, argc=argc@entry=1, argv=argv@entry=0x7ffd43830518) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007ae5fe029e40 in __libc_start_main_impl (main=0x636d7ed28c80, argc=1, argv=0x7ffd43830518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd43830508) at ../csu/libc-start.c:392
#32 0x0000636d7ed2ae95 in ?? ()
[Inferior 1 (process 3747) detached]

The reporter indicates this bug may be a duplicate of or related to bug 465885.

Reported using DrKonqi
Comment 1 TraceyC 2025-03-20 00:55:04 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 454122. That bug was fixed in konsole 22.12.0
If you would like Ubuntu to backport this patch to 22.04, please file a bug with them. 
Click the Report a bug link on https://bugs.launchpad.net/ubuntu/jammy

Thanks.

*** This bug has been marked as a duplicate of bug 454122 ***