Bug 479093 - Konsole crash while copying/pasting
Summary: Konsole crash while copying/pasting
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 24.01.85
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-12-27 19:44 UTC by Enrico
Modified: 2024-06-07 14:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico 2023-12-27 19:44:02 UTC
Application: konsole (24.01.85)

Qt Version: 6.6.1
Frameworks Version: 5.247.0
Operating System: Linux 6.5.11-1 x86_64
Windowing System: Wayland
Distribution: KaOS (2023)
DrKonqi: 5.91.0 [CoredumpBackend]

-- Information about the crash:
I was using Python in the console. I just created a virtual evironment with "python3 -m venv .venv" and when I tried to paste another string Konsole freezed and then crashed

The reporter is unsure if this crash is reproducible.

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

[New LWP 5402]
[New LWP 5405]
[New LWP 5406]
[New LWP 5404]
[New LWP 5407]
[New LWP 5403]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/konsole'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa0574adb8c in __pthread_kill_implementation () from /lib/libc.so.6
[Current thread is 1 (Thread 0x7fa05092ff00 (LWP 5402))]
python sentry-sdk not installed :(
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fa05092ff00 (LWP 5402))]

Thread 6 (Thread 0x7fa0505ff6c0 (LWP 5403)):
#0  0x00007fa05751cfbf in poll () at /lib/libc.so.6
#1  0x00007fa0558f64e7 in ??? () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa0558f6b1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fa0571f206c in QEventDispatcherGlib::processEvents (this=0x7fa048000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#4  0x00007fa056f62e33 in QEventLoop::exec (this=this@entry=0x7fa0505febc0, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:34
#5  0x00007fa05705470c in QThread::exec (this=this@entry=0x7fa055dc6960 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:74
#6  0x00007fa055d3827a in QDBusConnectionManager::run (this=0x7fa055dc6960 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/dbus/qdbusconnection.cpp:131
#7  0x00007fa0570eca27 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#9  QThreadPrivate::start (arg=0x7fa055dc6960 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#10 0x00007fa0574abf2c in start_thread () at /lib/libc.so.6
#11 0x00007fa05752969c in clone3 () at /lib/libc.so.6

Thread 5 (Thread 0x7fa02ffff6c0 (LWP 5407)):
#0  0x00007fa0574a8d86 in __futex_abstimed_wait_common () at /lib/libc.so.6
#1  0x00007fa0574ab3c8 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib/libc.so.6
#2  0x00007fa04c70f499 in ??? () at /usr/lib/dri/iris_dri.so
#3  0x00007fa04c6f09fb in ??? () at /usr/lib/dri/iris_dri.so
#4  0x00007fa04c70f3d7 in ??? () at /usr/lib/dri/iris_dri.so
#5  0x00007fa0574abf2c in start_thread () at /lib/libc.so.6
#6  0x00007fa05752969c in clone3 () at /lib/libc.so.6

Thread 4 (Thread 0x7fa04f7ff6c0 (LWP 5404)):
#0  0x00007fa05751cfbf in poll () at /lib/libc.so.6
#1  0x00007fa054e2572e in ??? () at /usr/lib/libQt6WaylandClient.so.6
#2  0x00007fa0570eca27 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#3  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#4  QThreadPrivate::start (arg=0x1820710) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#5  0x00007fa0574abf2c in start_thread () at /lib/libc.so.6
#6  0x00007fa05752969c in clone3 () at /lib/libc.so.6

Thread 3 (Thread 0x7fa037dff6c0 (LWP 5406)):
#0  0x00007fa0574a8d86 in __futex_abstimed_wait_common () at /lib/libc.so.6
#1  0x00007fa0574ab3c8 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib/libc.so.6
#2  0x00007fa04c70f499 in ??? () at /usr/lib/dri/iris_dri.so
#3  0x00007fa04c6f09fb in ??? () at /usr/lib/dri/iris_dri.so
#4  0x00007fa04c70f3d7 in ??? () at /usr/lib/dri/iris_dri.so
#5  0x00007fa0574abf2c in start_thread () at /lib/libc.so.6
#6  0x00007fa05752969c in clone3 () at /lib/libc.so.6

Thread 2 (Thread 0x7fa04effe6c0 (LWP 5405)):
#0  0x00007fa05751cfbf in poll () at /lib/libc.so.6
#1  0x00007fa054e2572e in ??? () at /usr/lib/libQt6WaylandClient.so.6
#2  0x00007fa0570eca27 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#3  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#4  QThreadPrivate::start (arg=0x1893f40) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#5  0x00007fa0574abf2c in start_thread () at /lib/libc.so.6
#6  0x00007fa05752969c in clone3 () at /lib/libc.so.6

Thread 1 (Thread 0x7fa05092ff00 (LWP 5402)):
[KCrash Handler]
#4  0x00007fa0508fc8b1 in QtWaylandClient::QWaylandXdgSurface::setGrabPopup(QtWaylandClient::QWaylandWindow*, QtWaylandClient::QWaylandInputDevice*, int) () at /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so
#5  0x00007fa0508fcaa8 in QtWaylandClient::QWaylandXdgSurface::QWaylandXdgSurface(QtWaylandClient::QWaylandXdgShell*, xdg_surface*, QtWaylandClient::QWaylandWindow*) () at /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so
#6  0x00007fa0508fd0df in QtWaylandClient::QWaylandXdgShellIntegration::createShellSurface(QtWaylandClient::QWaylandWindow*) () at /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so
#7  0x00007fa054e4c7c6 in QtWaylandClient::QWaylandWindow::initWindow() () at /usr/lib/libQt6WaylandClient.so.6
#8  0x00007fa054e4cdd3 in QtWaylandClient::QWaylandWindow::setVisible(bool) () at /usr/lib/libQt6WaylandClient.so.6
#9  0x00007fa05780c3a8 in QWindowPrivate::setVisible (this=0x20a07d0, visible=visible@entry=true) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/gui/kernel/qwindow.cpp:411
#10 0x00007fa0581def8d in QWidgetWindow::setNativeWindowVisibility (this=this@entry=0x21d53b0, visible=visible@entry=true) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidgetwindow.cpp:176
#11 0x00007fa0581c27b1 in QWidgetPrivate::show_sys (this=this@entry=0x20436f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidget.cpp:8202
#12 0x00007fa0581cacdb in QWidgetPrivate::show_helper (this=this@entry=0x20436f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidget.cpp:8125
#13 0x00007fa0581cd3d3 in QWidgetPrivate::setVisible (this=0x20436f0, visible=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidget.cpp:8421
#14 0x00007fa0583330f6 in QMenuPrivate::popup(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=this@entry=0x20436f0, p=..., atAction=atAction@entry=0x0, positionFunction=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qmenu.cpp:2575
#15 0x00007fa058334b7a in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x20436f0, p=..., action=0x0, positionFunction=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qmenu.cpp:2655
#16 0x00007fa058334c9f in QMenu::exec (this=<optimized out>, p=<optimized out>, action=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qmenu.cpp:2645
#17 0x00007fa05898fb3a in Konsole::SessionController::showDisplayContextMenu(QPoint const&) () at /usr/lib/libkonsoleprivate.so.24.01.85
#18 0x00007fa056fb2cc2 in QtPrivate::QSlotObjectBase::call (a=0x7ffd3a6213e0, r=0x1c904a0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobjectdefs_impl.h:433
#19 doActivate<false> (sender=0x1f63f00, signal_index=12, argv=0x7ffd3a6213e0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4021
#20 0x00007fa05892c0d5 in Konsole::TerminalDisplay::configureRequest(QPoint const&) () at /usr/lib/libkonsoleprivate.so.24.01.85
#21 0x00007fa05893cde3 in Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () at /usr/lib/libkonsoleprivate.so.24.01.85
#22 0x00007fa0581cd818 in QWidget::event (this=0x1f63f00, event=0x7ffd3a621920) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidget.cpp:9363
#23 0x00007fa05817ac31 in QApplicationPrivate::notify_helper (this=this@entry=0x17e0a30, receiver=receiver@entry=0x1f63f00, e=e@entry=0x7ffd3a621920) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:3296
#24 0x00007fa058183bbd in QApplication::notify (this=<optimized out>, receiver=0x1f63f00, e=0x7ffd3a621920) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:2782
#25 0x00007fa056f57738 in QCoreApplication::notifyInternal2 (receiver=0x1f63f00, event=0x7ffd3a621920) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1121
#26 0x00007fa056f578c9 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1553
#27 0x00007fa058182574 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1f63f00, event=event@entry=0x7ffd3a621920, alienWidget=<optimized out>, alienWidget@entry=0x1f63f00, nativeWidget=0x1ce2cb0, buttonDown=buttonDown@entry=0x7fa05871edc0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:2366
#28 0x00007fa0581df3aa in QWidgetWindow::handleMouseEvent (this=0x1afaa40, event=0x7ffd3a621b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidgetwindow.cpp:627
#29 0x00007fa0581e1e30 in QWidgetWindow::event (this=0x1afaa40, event=0x7ffd3a621b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qwidgetwindow.cpp:241
#30 0x00007fa05817ac31 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1afaa40, e=0x7ffd3a621b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:3296
#31 0x00007fa056f57738 in QCoreApplication::notifyInternal2 (receiver=0x1afaa40, event=0x7ffd3a621b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1121
#32 0x00007fa056f578c9 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1553
#33 0x00007fa0577baab3 in QGuiApplicationPrivate::processMouseEvent (e=0x7fa040001d80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/gui/kernel/qguiapplication.cpp:2323
#34 0x00007fa05781178c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/gui/kernel/qwindowsysteminterface.cpp:1109
#35 0x00007fa057c938c0 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#36 0x00007fa0558f3817 in ??? () at /usr/lib/libglib-2.0.so.0
#37 0x00007fa0558f6547 in ??? () at /usr/lib/libglib-2.0.so.0
#38 0x00007fa0558f6b1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#39 0x00007fa0571f206c in QEventDispatcherGlib::processEvents (this=0x17e3240, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#40 0x00007fa056f62e33 in QEventLoop::exec (this=this@entry=0x7ffd3a621f00, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:34
#41 0x00007fa056f5f814 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:74
#42 0x0000000000404ada in ??? ()
#43 0x00007fa05744d677 in __libc_start_call_main () at /lib/libc.so.6
#44 0x00007fa05744d735 in __libc_start_main_impl () at /lib/libc.so.6
#45 0x0000000000404db1 in ??? ()

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-06-07 14:15:52 UTC
This should be fixed in current version of Konsole. Please reopen the issue if you encounter the issue again, thanks!