[konsole] [Bug 465885] New: Konsole crashed when copying code into Python REPL
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Feb 17 01:14:39 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=465885
Bug ID: 465885
Summary: Konsole crashed when copying code into Python REPL
Classification: Applications
Product: konsole
Version: 22.08.2
Platform: Kubuntu
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: gavin.grotegut at gmail.com
Target Milestone: ---
Application: konsole (22.08.2)
Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-31-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]
-- Information about the crash:
I was testing out ChatGPT, and I asked it to write a quine in Python. The text
it produced was "s='s=%r;print(s%%s)';print(s%s)", which I then tried to copy
into the Python REPL. When I did this, it crashed Konsole. This happened
everytime I copied the text into the terminal when it was running Python, but
did not happen when it was pasted into the terminal normally.
The crash can be reproduced every time.
-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
[KCrash Handler]
#4 0x00007f972299f574 in Konsole::ProcessInfo::isValid() const () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#5 0x00007f9722a2ae54 in Konsole::Session::getUrl() () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#6 0x00007f9722a2fc8d in Konsole::SessionController::url() const () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7 0x00007f9722a450c9 in
Konsole::SessionController::showDisplayContextMenu(QPoint const&) () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8 0x00007f97214f36ff in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007f972298fa69 in Konsole::TerminalDisplay::configureRequest(QPoint
const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#10 0x00007f9722a094b2 in
Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#11 0x00007f97221aeb48 in QWidget::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f972216bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f97221745b2 in QApplication::notify(QObject*, QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f97214bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f97221726b2 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f97221c80dc in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f97221cb4a0 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f972216bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f97214bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f97219426fd in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007f972191663c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007f971b2fa78e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007f971f7e4569 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f971f8393c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f971f7e1d20 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9721514aea in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f97214b97cb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f97214c1c2a in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055fc921487c1 in ?? ()
#30 0x00007f9720a23510 in __libc_start_call_main
(main=main at entry=0x55fc92146ce0, argc=argc at entry=1,
argv=argv at entry=0x7ffe478161f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007f9720a235c9 in __libc_start_main_impl (main=0x55fc92146ce0, argc=1,
argv=0x7ffe478161f8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe478161e8) at ../csu/libc-start.c:381
#32 0x000055fc92149055 in ?? ()
[Inferior 1 (process 6276) detached]
The reporter indicates this bug may be a duplicate of or related to bug 391447,
bug 464448.
Reported using DrKonqi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list