Bug 492029

Summary: Konsole crashed after creating a new tab
Product: [Applications] konsole Reporter: Oded Arbel <oded>
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev, vivo75+kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KCrash file for Konsole
attachment-2407885-0.html

Description Oded Arbel 2024-08-22 08:42:37 UTC
Created attachment 172848 [details]
KCrash file for Konsole

SUMMARY
I created a new tab, then started typing and Konsole closed. kcrash file attached, and backtrace appended below.

Running up to date Neon unstable, Konsole reports itself as version 24.11.70.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

Backtrace from drkonqi:

----8<----
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#4  0x0000000000000020 in ??? ()
#5  0x00007ecfed8ae5ee in QMetaObject::cast (this=0x7ecfeeff69a0 <KToolBar::staticMetaObject>, obj=0x64e6a4b77cb0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qmetaobject.cpp:395
#6  0x00007ecfeefb210e in QMetaObject::cast (obj=<optimized out>, this=<optimized out>, this=<optimized out>, obj=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:241
#7  qobject_cast<KToolBar*> (object=<optimized out>, object=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:419
#8  KXMLGUI::ContainerNode::unplugClient (client=0x64e6a4019bd0, this=0x64e6a5a40d90) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:390
#9  KXMLGUI::ContainerNode::unplugActions (state=..., this=<optimized out>) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:365
#10 KXMLGUI::ContainerNode::unplugActions (state=..., this=<optimized out>) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:343
#11 KXMLGUI::ContainerNode::destruct (this=this@entry=0x64e6a5a40d90, element=..., state=...) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:282
#12 0x00007ecfeefb1dd4 in KXMLGUI::ContainerNode::destructChildren (state=..., element=..., this=0x64e6a36b9eb0) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:322
#13 KXMLGUI::ContainerNode::destruct (this=0x64e6a36b9eb0, element=..., state=...) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:280
#14 0x00007ecfeefa8363 in KXMLGUIFactory::removeClient (client=0x64e6a33a0f78, this=0x64e6a36d1b20) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory.cpp:423
#15 KXMLGUIFactory::removeClient (this=0x64e6a36d1b20, client=client@entry=0x64e6a33a0f78) at /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory.cpp:379
#16 0x00007ecfef2d8f76 in Konsole::MainWindow::disconnectController (this=this@entry=0x64e6a368d990, controller=0x64e6a33a0f30) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/MainWindow.cpp:230
#17 0x00007ecfef2da78a in Konsole::MainWindow::activeViewChanged (this=0x64e6a368d990, controller=0x64e6a45ba380) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/MainWindow.cpp:253
#18 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffd656dc690, r=0x64e6a368d990, this=0x64e6a36d1fe0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#19 doActivate<false> (sender=0x64e6a369db00, signal_index=5, argv=0x7ffd656dc690) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#20 0x00007ecfef0de314 in Konsole::ViewManager::activeViewChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_ViewManager.cpp:783
#21 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffd656dc7b0, r=0x64e6a369db00, this=0x64e6a4e6d460, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#22 doActivate<false> (sender=0x64e6a45ba380, signal_index=10, argv=0x7ffd656dc7b0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#23 0x00007ecfef18a781 in Konsole::SessionController::viewFocused (this=<optimized out>, _t1=<optimized out>) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_SessionController.cpp:850
#24 0x00007ecfef17b99f in Konsole::SessionController::viewFocusChangeHandler (focused=<optimized out>, this=0x64e6a45ba380) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:293
#25 Konsole::SessionController::viewFocusChangeHandler (this=0x64e6a45ba380, focused=<optimized out>) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:288
#26 0x00007ecfef18d304 in Konsole::SessionController::sessionAttributeChanged (this=0x64e6a45ba380) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:1999
#27 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffd656dc9b8, r=0x64e6a45ba380, this=0x64e6a3d58390, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#28 doActivate<false> (sender=0x64e6a3f463d0, signal_index=5, argv=0x7ffd656dc9b8) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#29 0x00007ecfef17ae4e in Konsole::SessionController::snapshot (this=0x64e6a45ba380) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:349
#30 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffd656dcbf0, r=0x64e6a45ba380, this=0x64e6a504b070, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#31 doActivate<false> (sender=0x64e6a3e50380, signal_index=3, argv=0x7ffd656dcbf0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#32 0x00007ecfed81576d in QTimer::timeout (this=<optimized out>, _t1=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qtimer.cpp:224
#33 0x00007ecfed7f7916 in QObject::event (this=0x64e6a3e50380, e=0x7ffd656dcd90) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:1427
#34 0x00007ecfee9ff2b0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x64e6a3e50380, e=0x7ffd656dcd90) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:3287
#35 0x00007ecfed8a4fd0 in QCoreApplication::notifyInternal2 (receiver=0x64e6a3e50380, event=0x7ffd656dcd90) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
#36 0x00007ecfed779cc8 in QTimerInfoList::activateTimers (this=0x64e6a34702a0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qtimerinfo_unix.cpp:434
#37 0x00007ecfed64e431 in timerSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#38 idleTimerSourceDispatch (source=source@entry=0x64e6a33b8f90) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:197
#39 0x00007ecfea8c35b5 in g_main_dispatch (context=0x7ecfe0000f00) at ../../../glib/gmain.c:3344
#40 0x00007ecfea922717 in g_main_context_dispatch_unlocked (context=0x7ecfe0000f00) at ../../../glib/gmain.c:4152
#41 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7ecfe0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#42 0x00007ecfea8c2a53 in g_main_context_iteration (context=0x7ecfe0000f00, may_block=1) at ../../../glib/gmain.c:4282
#43 0x00007ecfed64cd7f in QEventDispatcherGlib::processEvents (this=0x64e6a3318170, flags=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#44 0x00007ecfed8aff43 in QEventLoop::exec (this=0x7ffd656dd000, flags=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:34
#45 0x00007ecfed8a996e in QCoreApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:74
#46 0x00007ecfedcc699d in QGuiApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qguiapplication.cpp:1926
#47 0x00007ecfee9f7129 in QApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2555
#48 0x000064e6a243868b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/main.cpp:260
[Inferior 1 (process 198999) detached]
----8<----
Comment 1 tcanabrava 2024-08-22 13:14:16 UTC
Created attachment 172855 [details]
attachment-2407885-0.html

that's a really strange backtrace. looks like it happens inside of Qt.

On Thu, Aug 22, 2024 at 10:42 AM Oded Arbel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=492029
>
>             Bug ID: 492029
>            Summary: Konsole crashed after creating a new tab
>     Classification: Applications
>            Product: konsole
>            Version: master
>           Platform: Other
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: oded@geek.co.il
>   Target Milestone: ---
>
> Created attachment 172848 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=172848&action=edit
> KCrash file for Konsole
>
> SUMMARY
> I created a new tab, then started typing and Konsole closed. kcrash file
> attached, and backtrace appended below.
>
> Running up to date Neon unstable, Konsole reports itself as version
> 24.11.70.
>
> SOFTWARE/OS VERSIONS
> Operating System: KDE neon Unstable Edition
> KDE Plasma Version: 6.1.80
> KDE Frameworks Version: 6.6.0
> Qt Version: 6.7.2
> Kernel Version: 6.8.0-40-generic (64-bit)
> Graphics Platform: Wayland
> Processors: 20 × 12th Gen Intel® Core™ i7-12700H
> Memory: 31.0 GiB of RAM
> Graphics Processor: Mesa Intel® Graphics
>
> Backtrace from drkonqi:
>
> ----8<----
> Application: Konsole (konsole), signal: Segmentation fault
> Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() =
> <optimized
> out>}
> [KCrash Handler]
> #4  0x0000000000000020 in ??? ()
> #5  0x00007ecfed8ae5ee in QMetaObject::cast (this=0x7ecfeeff69a0
> <KToolBar::staticMetaObject>, obj=0x64e6a4b77cb0) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qmetaobject.cpp:395
> #6  0x00007ecfeefb210e in QMetaObject::cast (obj=<optimized out>,
> this=<optimized out>, this=<optimized out>, obj=<optimized out>) at
> /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:241
> #7  qobject_cast<KToolBar*> (object=<optimized out>, object=<optimized
> out>) at
> /usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:419
> #8  KXMLGUI::ContainerNode::unplugClient (client=0x64e6a4019bd0,
> this=0x64e6a5a40d90) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:390
> #9  KXMLGUI::ContainerNode::unplugActions (state=..., this=<optimized
> out>) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:365
> #10 KXMLGUI::ContainerNode::unplugActions (state=..., this=<optimized
> out>) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:343
> #11 KXMLGUI::ContainerNode::destruct (this=this@entry=0x64e6a5a40d90,
> element=..., state=...) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:282
> #12 0x00007ecfeefb1dd4 in KXMLGUI::ContainerNode::destructChildren
> (state=...,
> element=..., this=0x64e6a36b9eb0) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:322
> #13 KXMLGUI::ContainerNode::destruct (this=0x64e6a36b9eb0, element=...,
> state=...) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory_p.cpp:280
> #14 0x00007ecfeefa8363 in KXMLGUIFactory::removeClient
> (client=0x64e6a33a0f78,
> this=0x64e6a36d1b20) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory.cpp:423
> #15 KXMLGUIFactory::removeClient (this=0x64e6a36d1b20,
> client=client@entry=0x64e6a33a0f78) at
>
> /usr/src/kf6-kxmlgui-6.5.0+p24.04+vunstable+git20240816.1703-0/src/kxmlguifactory.cpp:379
> #16 0x00007ecfef2d8f76 in Konsole::MainWindow::disconnectController
> (this=this@entry=0x64e6a368d990, controller=0x64e6a33a0f30) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/MainWindow.cpp:230
> #17 0x00007ecfef2da78a in Konsole::MainWindow::activeViewChanged
> (this=0x64e6a368d990, controller=0x64e6a45ba380) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/MainWindow.cpp:253
> #18 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call
> (a=0x7ffd656dc690,
> r=0x64e6a368d990, this=0x64e6a36d1fe0, this=<optimized out>, r=<optimized
> out>,
> a=<optimized out>) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
> #19 doActivate<false> (sender=0x64e6a369db00, signal_index=5,
> argv=0x7ffd656dc690) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
> #20 0x00007ecfef0de314 in Konsole::ViewManager::activeViewChanged
> (this=<optimized out>, _t1=<optimized out>) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_ViewManager.cpp:783
> #21 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call
> (a=0x7ffd656dc7b0,
> r=0x64e6a369db00, this=0x64e6a4e6d460, this=<optimized out>, r=<optimized
> out>,
> a=<optimized out>) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
> #22 doActivate<false> (sender=0x64e6a45ba380, signal_index=10,
> argv=0x7ffd656dc7b0) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
> #23 0x00007ecfef18a781 in Konsole::SessionController::viewFocused
> (this=<optimized out>, _t1=<optimized out>) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_SessionController.cpp:850
> #24 0x00007ecfef17b99f in
> Konsole::SessionController::viewFocusChangeHandler
> (focused=<optimized out>, this=0x64e6a45ba380) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:293
> #25 Konsole::SessionController::viewFocusChangeHandler
> (this=0x64e6a45ba380,
> focused=<optimized out>) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:288
> #26 0x00007ecfef18d304 in
> Konsole::SessionController::sessionAttributeChanged
> (this=0x64e6a45ba380) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:1999
> #27 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call
> (a=0x7ffd656dc9b8,
> r=0x64e6a45ba380, this=0x64e6a3d58390, this=<optimized out>, r=<optimized
> out>,
> a=<optimized out>) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
> #28 doActivate<false> (sender=0x64e6a3f463d0, signal_index=5,
> argv=0x7ffd656dc9b8) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
> #29 0x00007ecfef17ae4e in Konsole::SessionController::snapshot
> (this=0x64e6a45ba380) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/session/SessionController.cpp:349
> #30 0x00007ecfed864d34 in QtPrivate::QSlotObjectBase::call
> (a=0x7ffd656dcbf0,
> r=0x64e6a45ba380, this=0x64e6a504b070, this=<optimized out>, r=<optimized
> out>,
> a=<optimized out>) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
> #31 doActivate<false> (sender=0x64e6a3e50380, signal_index=3,
> argv=0x7ffd656dcbf0) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
> #32 0x00007ecfed81576d in QTimer::timeout (this=<optimized out>, _t1=...)
> at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qtimer.cpp:224
> #33 0x00007ecfed7f7916 in QObject::event (this=0x64e6a3e50380,
> e=0x7ffd656dcd90) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:1427
> #34 0x00007ecfee9ff2b0 in QApplicationPrivate::notify_helper
> (this=<optimized
> out>, receiver=0x64e6a3e50380, e=0x7ffd656dcd90) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:3287
> #35 0x00007ecfed8a4fd0 in QCoreApplication::notifyInternal2
> (receiver=0x64e6a3e50380, event=0x7ffd656dcd90) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
> #36 0x00007ecfed779cc8 in QTimerInfoList::activateTimers
> (this=0x64e6a34702a0)
> at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qtimerinfo_unix.cpp:434
> #37 0x00007ecfed64e431 in timerSourceDispatch (source=<optimized out>) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:150
> #38 idleTimerSourceDispatch (source=source@entry=0x64e6a33b8f90) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:197
> #39 0x00007ecfea8c35b5 in g_main_dispatch (context=0x7ecfe0000f00) at
> ../../../glib/gmain.c:3344
> #40 0x00007ecfea922717 in g_main_context_dispatch_unlocked
> (context=0x7ecfe0000f00) at ../../../glib/gmain.c:4152
> #41 g_main_context_iterate_unlocked.isra.0
> (context=context@entry=0x7ecfe0000f00, block=block@entry=1,
> dispatch=dispatch@entry=1, self=<optimized out>) at
> ../../../glib/gmain.c:4217
> #42 0x00007ecfea8c2a53 in g_main_context_iteration (context=0x7ecfe0000f00,
> may_block=1) at ../../../glib/gmain.c:4282
> #43 0x00007ecfed64cd7f in QEventDispatcherGlib::processEvents
> (this=0x64e6a3318170, flags=...) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:394
> #44 0x00007ecfed8aff43 in QEventLoop::exec (this=0x7ffd656dd000,
> flags=...) at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:34
> #45 0x00007ecfed8a996e in QCoreApplication::exec () at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:74
> #46 0x00007ecfedcc699d in QGuiApplication::exec () at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qguiapplication.cpp:1926
> #47 0x00007ecfee9f7129 in QApplication::exec () at
>
> /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2555
> #48 0x000064e6a243868b in main (argc=<optimized out>, argv=<optimized
> out>) at
>
> /usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/main.cpp:260
> [Inferior 1 (process 198999) detached]
> ----8<----
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 Oded Arbel 2024-08-27 09:24:17 UTC
I got another crash in the same location, but with a different behavior - this time I tried to select some text, and made several attempts to select what I needed, at some point an RMB menu opened - even though I didn't press the right mouse button, and then Konsole crashed:

Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#4  0x00007bd1e56ae5ec in QMetaObject::cast (this=0x7bd1e693d000 <QWidgetWindow::staticMetaObject>, obj=obj@entry=0x5cb7ae1680b0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qmetaobject.cpp:395
#5  0x00007bd1e6805cb0 in QMetaObject::cast (obj=0x5cb7ae1680b0, this=<optimized out>, this=<optimized out>, obj=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs.h:241
#6  qobject_cast<QWidgetWindow*> (object=0x5cb7ae1680b0, object=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.h:419
#7  QGestureManager::filterEvent (event=0x7ffecce7a650, receiver=0x5cb7ae1680b0, this=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qgesturemanager.cpp:530
#8  QApplication::notify (this=0x5cb7ab7ec690, receiver=<optimized out>, e=0x7ffecce7a650) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2618
#9  0x00007bd1e56a4fd0 in QCoreApplication::notifyInternal2 (receiver=0x5cb7ae1680b0, event=0x7ffecce7a650) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
#10 0x00007bd1e56a501d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1583
#11 0x00007bd1e5e3d687 in QAction::event (this=0x5cb7acd20260, e=0x7ffecce7a650) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qaction.cpp:1032
#12 0x00007bd1e67ff2b0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5cb7acd20260, e=0x7ffecce7a650) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:3287
#13 0x00007bd1e56a4fd0 in QCoreApplication::notifyInternal2 (receiver=0x5cb7acd20260, event=0x7ffecce7a650) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
#14 0x00007bd1e56a501d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1583
#15 0x00007bd1e5e39103 in QActionPrivate::sendDataChanged (this=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qaction.cpp:75
#16 0x00007bd1e5e3e478 in QActionPrivate::setEnabled (this=this@entry=0x5cb7acd20280, b=b@entry=false, byGroup=byGroup@entry=false) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qaction.cpp:956
#17 0x00007bd1e5e3e69b in QActionPrivate::setVisible (this=0x5cb7acd20280, b=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qaction.cpp:1012
#18 0x00007bd1e5e3e7f2 in QAction::setVisible (this=<optimized out>, b=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qaction.cpp:998
#19 0x00007bd1e6f7bffd in Konsole::SessionController::updateCopyAction (this=0x5cb7acad02a0, selectionEmpty=<optimized out>) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/src/session/SessionController.cpp:478
#20 0x00007bd1e5664d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffecce7a920, r=0x5cb7acad02a0, this=0x5cb7acc4e770, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#21 doActivate<false> (sender=0x5cb7ab85fa20, signal_index=19, argv=0x7ffecce7a920) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#22 0x00007bd1e6f6fd34 in Konsole::Session::selectionChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_Session.cpp:1075
#23 0x00007bd1e5664d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffecce7aa40, r=0x5cb7ab85fa20, this=0x5cb7ac3736c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#24 doActivate<false> (sender=0x5cb7acc634d0, signal_index=19, argv=0x7ffecce7aa40) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#25 0x00007bd1e6ea1684 in Konsole::Emulation::selectionChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/obj-x86_64-linux-gnu/src/konsoleprivate_autogen/include/moc_Emulation.cpp:692
#26 0x00007bd1e5664d34 in QtPrivate::QSlotObjectBase::call (a=0x7ffecce7aaf8, r=0x5cb7acc634d0, this=0x5cb7acd54420, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobjectdefs_impl.h:469
#27 doActivate<false> (sender=0x5cb7acd74530, signal_index=6, argv=0x7ffecce7aaf8) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qobject.cpp:4086
#28 0x00007bd1e6f4ebc1 in Konsole::TerminalDisplay::clearSelection (this=0x5cb7acc48070) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/src/terminalDisplay/TerminalDisplay.cpp:3360
#29 0x00007bd1e6f4b264 in Konsole::TerminalDisplay::mousePressEvent (this=0x5cb7acc48070, ev=0x7ffecce7b110) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/src/terminalDisplay/TerminalDisplay.cpp:1217
#30 0x00007bd1e68410b8 in QWidget::event (this=0x5cb7acc48070, event=0x7ffecce7b110) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qwidget.cpp:9021
#31 0x00007bd1e67ff2b0 in QApplicationPrivate::notify_helper (this=this@entry=0x5cb7ab7fe410, receiver=receiver@entry=0x5cb7acc48070, e=e@entry=0x7ffecce7b110) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:3287
#32 0x00007bd1e6804ab7 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffecce7b110) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2765
#33 0x00007bd1e56a4fd0 in QCoreApplication::notifyInternal2 (receiver=0x5cb7acc48070, event=0x7ffecce7b110) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
#34 0x00007bd1e56a575d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1597
#35 0x00007bd1e67fa5fe in QApplicationPrivate::sendMouseEvent (receiver=0x5cb7acc48070, event=0x7ffecce7b110, alienWidget=0x5cb7acc48070, nativeWidget=0x5cb7abb653d0, buttonDown=0x7bd1e69582c0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2347
#36 0x00007bd1e684eb67 in QWidgetWindow::handleMouseEvent (this=0x5cb7abb4d1e0, event=0x7ffecce7b4e0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qwidgetwindow.cpp:649
#37 0x00007bd1e6851035 in QWidgetWindow::event (this=0x5cb7abb4d1e0, event=0x7ffecce7b4e0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qwidgetwindow.cpp:263
#38 0x00007bd1e67ff2b0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5cb7abb4d1e0, e=0x7ffecce7b4e0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:3287
#39 0x00007bd1e56a4fd0 in QCoreApplication::notifyInternal2 (receiver=0x5cb7abb4d1e0, event=0x7ffecce7b4e0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1142
#40 0x00007bd1e56a575d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qcoreapplication.cpp:1597
#41 0x00007bd1e5acc553 in QGuiApplicationPrivate::processMouseEvent (e=0x7bd1d00030a0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qguiapplication.cpp:2327
#42 0x00007bd1e5b2dd5c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qwindowsysteminterface.cpp:1114
#43 0x00007bd1e5f19874 in userEventSourceDispatch (source=source@entry=0x5cb7ab917bc0) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#44 0x00007bd1e25d75b5 in g_main_dispatch (context=0x7bd1d8000f00) at ../../../glib/gmain.c:3344
#45 0x00007bd1e2636717 in g_main_context_dispatch_unlocked (context=0x7bd1d8000f00) at ../../../glib/gmain.c:4152
#46 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7bd1d8000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#47 0x00007bd1e25d6a53 in g_main_context_iteration (context=0x7bd1d8000f00, may_block=1) at ../../../glib/gmain.c:4282
#48 0x00007bd1e544cd7f in QEventDispatcherGlib::processEvents (this=0x5cb7ab7ed170, flags=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#49 0x00007bd1e56aff43 in QEventLoop::exec (this=0x7ffecce7b930, flags=...) at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:34
#50 0x00007bd1e56a996e in QCoreApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/corelib/global/qflags.h:74
#51 0x00007bd1e5ac699d in QGuiApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/gui/kernel/qguiapplication.cpp:1926
#52 0x00007bd1e67f7129 in QApplication::exec () at /usr/src/qt6-base-6.7.2-0zneon+24.04+noble+stable+build1/src/widgets/kernel/qapplication.cpp:2555
#53 0x00005cb7aa1f568b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/konsole-4:24.08.0+p24.04+vunstable+git20240822.0415-0/src/main.cpp:260
[Inferior 1 (process 1173244) detached]
Comment 3 Filip 2024-11-21 19:57:29 UTC
*** Bug 496517 has been marked as a duplicate of this bug. ***
Comment 4 TraceyC 2025-03-20 00:25:59 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 488427. Please follow that report if you would like updates on the progress of this issue.

I realize this has a different cause as the other crash you submitted for konsole, but they resulted in the same backtrace.

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