https://bugs.kde.org/show_bug.cgi?id=446510

            Bug ID: 446510
           Summary: Segmentation fault
           Product: kate
           Version: 20.04.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: dutchgig...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to