Bug 446510 - Segmentation fault
Summary: Segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: kpart (show other bugs)
Version: 20.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-12-05 11:08 UTC by André Verwijs
Modified: 2022-12-31 05:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Verwijs 2021-12-05 11:08:46 UTC
Application: kate (20.04.2)

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.14.19-150400.1-default x86_64
Windowing system: X11
Distribution: openSUSE Leap 15.4 Alpha

-- Information about the crash:
SYSTEM INFO:
~~~~~~~~~~~~~~~~~
Operating System: openSUSE Leap 15.4 ( openSUSE Leap 15.4 Alpha ) 
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7
Kernel Version: 5.14.19-150400.1-default
OS Type: 64-bit
Processors: 2 × Intel® Core™2 CPU 6700 @ 2.66GHz
Memory: 5,7 GiB
---

Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fbdf11da9df in Konsole::SessionController::<lambda()>::operator() (__closure=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:1693
#5  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#6  QtPrivate::Functor<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#7  QtPrivate::QFunctorSlotObject<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#8  0x00007fbe1731756f in QtPrivate::QSlotObjectBase::call (a=0x7ffd15977a60, r=0x556c00b71ad0, this=0x556c00bd7ab0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  QMetaObject::activate (sender=sender@entry=0x556c00b71ad0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd15977a60) at kernel/qobject.cpp:3784
#10 0x00007fbe17317b67 in QMetaObject::activate (sender=sender@entry=0x556c00b71ad0, m=m@entry=0x7fbe1778e900 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd15977a60) at kernel/qobject.cpp:3657
#11 0x00007fbe17317c0f in QObject::destroyed (this=this@entry=0x556c00b71ad0, _t1=<optimized out>, _t1@entry=0x556c00b71ad0) at .moc/moc_qobject.cpp:218
#12 0x00007fbe1731ef09 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:912
#13 0x00007fbdf11e4648 in Konsole::SessionController::~SessionController (this=0x556c00b71ad0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:233
#14 0x00007fbdf11e46e9 in Konsole::SessionController::~SessionController (this=0x556c00b71ad0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:243
#15 0x00007fbe1731506b in QObjectPrivate::deleteChildren (this=this@entry=0x556c00b143c0) at kernel/qobject.cpp:2017
#16 0x00007fbe1731ec0b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1033
#17 0x00007fbdf120dfb9 in Konsole::ViewManager::~ViewManager (this=0x556c00b14340, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/ViewManager.h:63
#18 0x00007fbdf1480dfe in Konsole::Part::~Part (this=0x556c008463e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/Part.cpp:90
#19 0x00007fbdf1480e59 in Konsole::Part::~Part (this=0x556c008463e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/Part.cpp:91
#20 0x00007fbe1731506b in QObjectPrivate::deleteChildren (this=this@entry=0x556bff980450) at kernel/qobject.cpp:2017
#21 0x00007fbe183f5c4c in QWidget::~QWidget (this=0x556bff9803d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#22 0x00007fbe014729e8 in KateConsole::~KateConsole (this=0x556bff9803d0, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:166
#23 0x00007fbe01472a49 in KateConsole::~KateConsole (this=0x556bff9803d0, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:171
#24 0x00007fbe01472d4d in KateKonsolePluginView::~KateKonsolePluginView (this=0x556bff970390, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:113
#25 0x00007fbe01472d89 in KateKonsolePluginView::~KateKonsolePluginView (this=0x556bff970390, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:115
#26 0x0000556bfd25f594 in KatePluginManager::disablePluginGUI (item=0x556bff663b70, win=win@entry=0x556bff6a7860, this=0x7ffd15978930) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:279
#27 0x0000556bfd25f952 in KatePluginManager::disablePluginGUI (win=0x556bff6a7860, item=<optimized out>, this=0x7ffd15978930) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:185
#28 KatePluginManager::disableAllPluginsGUI (this=0x7ffd15978930, win=win@entry=0x556bff6a7860) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:186
#29 0x0000556bfd24dbc0 in KateMainWindow::~KateMainWindow (this=this@entry=0x556bff6a7860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katemainwindow.cpp:204
#30 0x0000556bfd24dd59 in KateMainWindow::~KateMainWindow (this=0x556bff6a7860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katemainwindow.cpp:217
#31 0x00007fbe17318020 in QObject::event (this=this@entry=0x556bff6a7860, e=e@entry=0x556bff8bf700) at kernel/qobject.cpp:1252
#32 0x00007fbe183fa453 in QWidget::event (this=this@entry=0x556bff6a7860, event=event@entry=0x556bff8bf700) at kernel/qwidget.cpp:9409
#33 0x00007fbe18503d80 in QMainWindow::event (this=this@entry=0x556bff6a7860, event=event@entry=0x556bff8bf700) at widgets/qmainwindow.cpp:1339
#34 0x00007fbe1ac4a741 in KMainWindow::event (this=this@entry=0x556bff6a7860, ev=ev@entry=0x556bff8bf700) at /usr/src/debug/kxmlgui-5.76.0-bp154.1.5.x86_64/src/kmainwindow.cpp:911
#35 0x00007fbe1ac8bf07 in KXmlGuiWindow::event (this=0x556bff6a7860, ev=0x556bff8bf700) at /usr/src/debug/kxmlgui-5.76.0-bp154.1.5.x86_64/src/kxmlguiwindow.cpp:109
#36 0x00007fbe183b9f3c in QApplicationPrivate::notify_helper (this=this@entry=0x556bff35d200, receiver=receiver@entry=0x556bff6a7860, e=e@entry=0x556bff8bf700) at kernel/qapplication.cpp:3701
#37 0x00007fbe183c1550 in QApplication::notify (this=0x7ffd15978860, receiver=0x556bff6a7860, e=0x556bff8bf700) at kernel/qapplication.cpp:3447
#38 0x00007fbe172e7948 in QCoreApplication::notifyInternal2 (receiver=0x556bff6a7860, event=0x556bff8bf700) at kernel/qcoreapplication.cpp:1088
#39 0x00007fbe172e7b1e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x556bff8bf700) at kernel/qcoreapplication.cpp:1476
#40 0x00007fbe172ea507 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x556bff35c850) at kernel/qcoreapplication.cpp:1825
#41 0x00007fbe172eaaa8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#42 0x00007fbe173453b3 in postEventSourceDispatch (s=0x556bff45bd20) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007fbe0ff216e4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fbe0ff21a80 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fbe0ff21b0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fbe173449cf in QEventDispatcherGlib::processEvents (this=0x556bff364fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007fbe172e5b9a in QEventLoop::exec (this=this@entry=0x7ffd15978610, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#48 0x00007fbe172eeda0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#49 0x0000556bfd2334fa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/main.cpp:633
[Inferior 1 (process 9838) detached]

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fbdf11da9df in Konsole::SessionController::<lambda()>::operator() (__closure=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:1693
#5  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#6  QtPrivate::Functor<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#7  QtPrivate::QFunctorSlotObject<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#8  0x00007fbe1731756f in QtPrivate::QSlotObjectBase::call (a=0x7ffd15977a60, r=0x556c00b71ad0, this=0x556c00bd7ab0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  QMetaObject::activate (sender=sender@entry=0x556c00b71ad0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd15977a60) at kernel/qobject.cpp:3784
#10 0x00007fbe17317b67 in QMetaObject::activate (sender=sender@entry=0x556c00b71ad0, m=m@entry=0x7fbe1778e900 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd15977a60) at kernel/qobject.cpp:3657
#11 0x00007fbe17317c0f in QObject::destroyed (this=this@entry=0x556c00b71ad0, _t1=<optimized out>, _t1@entry=0x556c00b71ad0) at .moc/moc_qobject.cpp:218
#12 0x00007fbe1731ef09 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:912
#13 0x00007fbdf11e4648 in Konsole::SessionController::~SessionController (this=0x556c00b71ad0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:233
#14 0x00007fbdf11e46e9 in Konsole::SessionController::~SessionController (this=0x556c00b71ad0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/SessionController.cpp:243
#15 0x00007fbe1731506b in QObjectPrivate::deleteChildren (this=this@entry=0x556c00b143c0) at kernel/qobject.cpp:2017
#16 0x00007fbe1731ec0b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1033
#17 0x00007fbdf120dfb9 in Konsole::ViewManager::~ViewManager (this=0x556c00b14340, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/ViewManager.h:63
#18 0x00007fbdf1480dfe in Konsole::Part::~Part (this=0x556c008463e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/Part.cpp:90
#19 0x00007fbdf1480e59 in Konsole::Part::~Part (this=0x556c008463e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-20.04.2-bp154.1.4.x86_64/src/Part.cpp:91
#20 0x00007fbe1731506b in QObjectPrivate::deleteChildren (this=this@entry=0x556bff980450) at kernel/qobject.cpp:2017
#21 0x00007fbe183f5c4c in QWidget::~QWidget (this=0x556bff9803d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#22 0x00007fbe014729e8 in KateConsole::~KateConsole (this=0x556bff9803d0, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:166
#23 0x00007fbe01472a49 in KateConsole::~KateConsole (this=0x556bff9803d0, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:171
#24 0x00007fbe01472d4d in KateKonsolePluginView::~KateKonsolePluginView (this=0x556bff970390, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:113
#25 0x00007fbe01472d89 in KateKonsolePluginView::~KateKonsolePluginView (this=0x556bff970390, __in_chrg=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/addons/konsole/kateconsole.cpp:115
#26 0x0000556bfd25f594 in KatePluginManager::disablePluginGUI (item=0x556bff663b70, win=win@entry=0x556bff6a7860, this=0x7ffd15978930) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:279
#27 0x0000556bfd25f952 in KatePluginManager::disablePluginGUI (win=0x556bff6a7860, item=<optimized out>, this=0x7ffd15978930) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:185
#28 KatePluginManager::disableAllPluginsGUI (this=0x7ffd15978930, win=win@entry=0x556bff6a7860) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katepluginmanager.cpp:186
#29 0x0000556bfd24dbc0 in KateMainWindow::~KateMainWindow (this=this@entry=0x556bff6a7860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katemainwindow.cpp:204
#30 0x0000556bfd24dd59 in KateMainWindow::~KateMainWindow (this=0x556bff6a7860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/katemainwindow.cpp:217
#31 0x00007fbe17318020 in QObject::event (this=this@entry=0x556bff6a7860, e=e@entry=0x556bff8bf700) at kernel/qobject.cpp:1252
#32 0x00007fbe183fa453 in QWidget::event (this=this@entry=0x556bff6a7860, event=event@entry=0x556bff8bf700) at kernel/qwidget.cpp:9409
#33 0x00007fbe18503d80 in QMainWindow::event (this=this@entry=0x556bff6a7860, event=event@entry=0x556bff8bf700) at widgets/qmainwindow.cpp:1339
#34 0x00007fbe1ac4a741 in KMainWindow::event (this=this@entry=0x556bff6a7860, ev=ev@entry=0x556bff8bf700) at /usr/src/debug/kxmlgui-5.76.0-bp154.1.5.x86_64/src/kmainwindow.cpp:911
#35 0x00007fbe1ac8bf07 in KXmlGuiWindow::event (this=0x556bff6a7860, ev=0x556bff8bf700) at /usr/src/debug/kxmlgui-5.76.0-bp154.1.5.x86_64/src/kxmlguiwindow.cpp:109
#36 0x00007fbe183b9f3c in QApplicationPrivate::notify_helper (this=this@entry=0x556bff35d200, receiver=receiver@entry=0x556bff6a7860, e=e@entry=0x556bff8bf700) at kernel/qapplication.cpp:3701
#37 0x00007fbe183c1550 in QApplication::notify (this=0x7ffd15978860, receiver=0x556bff6a7860, e=0x556bff8bf700) at kernel/qapplication.cpp:3447
#38 0x00007fbe172e7948 in QCoreApplication::notifyInternal2 (receiver=0x556bff6a7860, event=0x556bff8bf700) at kernel/qcoreapplication.cpp:1088
#39 0x00007fbe172e7b1e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x556bff8bf700) at kernel/qcoreapplication.cpp:1476
#40 0x00007fbe172ea507 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x556bff35c850) at kernel/qcoreapplication.cpp:1825
#41 0x00007fbe172eaaa8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#42 0x00007fbe173453b3 in postEventSourceDispatch (s=0x556bff45bd20) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007fbe0ff216e4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fbe0ff21a80 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fbe0ff21b0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fbe173449cf in QEventDispatcherGlib::processEvents (this=0x556bff364fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007fbe172e5b9a in QEventLoop::exec (this=this@entry=0x7ffd15978610, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#48 0x00007fbe172eeda0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#49 0x0000556bfd2334fa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-20.04.2-bp154.1.4.x86_64/kate/main.cpp:633
[Inferior 1 (process 9838) detached]

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

Possible duplicates by query: bug 445746, bug 445496, bug 445355, bug 443954, bug 443784.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2021-12-05 13:54:09 UTC
Looks more like a Konsole issue, but might already be fixed in current master/21.12
Comment 2 Justin Zobel 2022-12-01 05:27:08 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-16 05:15:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-31 05:25:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!