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

            Bug ID: 472985
           Summary: kate crash when opening saved session
    Classification: Applications
           Product: kate
           Version: 23.04.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: t...@1.21jiggawatts.net
  Target Milestone: ---

Application: kate (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.6-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
I was trying out the LSP Plugin with a Rust project, which I opened with "Open
Folder". I had 5 files open and experimentally saved a session. I then closed
the "project" using the red cross button in the toolbar, then tried to open the
saved "session" from the menu bar. The kate window appeared to close, re-open,
then crash in quick succession.

I don't really know what I was doing with project/sessions because I'm still
learning how they work. Hopefully the stack trace is useful!

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007faaf0116042 in QObjectData::dynamicMetaObject (this=0x55b7ce203180)
at kernel/qobject.cpp:185
#5  0x00007faaf00f6459 in QMetaObject::cast (this=this@entry=0x7faaf18cba00
<DiagnosticsProvider::staticMetaObject>, obj=0x55b7ce0eecd0) at
kernel/qmetaobject.cpp:389
#6  0x00007faaf00f6495 in QMetaObject::cast (this=this@entry=0x7faaf18cba00
<DiagnosticsProvider::staticMetaObject>, obj=<optimized out>) at
kernel/qmetaobject.cpp:378
#7  0x00007faaf181f5a8 in qobject_cast<DiagnosticsProvider*> (object=<optimized
out>) at /usr/include/qt5/QtCore/qobject.h:519
#8  QtPrivate::QVariantValueHelper<DiagnosticsProvider*>::object (v=...) at
/usr/include/qt5/QtCore/qvariant.h:753
#9 
QtPrivate::ObjectInvoker<QtPrivate::QVariantValueHelper<DiagnosticsProvider*>,
QVariant const&, DiagnosticsProvider*>::invoke (a=...) at
/usr/include/qt5/QtCore/qvariant.h:107
#10 qvariant_cast<DiagnosticsProvider*> (v=...) at
/usr/include/qt5/QtCore/qvariant.h:879
#11 QVariant::value<DiagnosticsProvider*> (this=0x7ffd1849f9f0) at
/usr/include/qt5/QtCore/qvariant.h:367
#12 getProvider (item=0x55b7ce3e7870) at
/usr/src/debug/kate-23.04.3/apps/lib/diagnostics/diagnosticview.cpp:668
#13 DiagnosticsView::clearSuppressionsFromProvider (this=0x55b7ce051d40,
provider=<optimized out>) at
/usr/src/debug/kate-23.04.3/apps/lib/diagnostics/diagnosticview.cpp:748
#14 0x00007faaf01257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffd1849fb30,
r=0x55b7ce051d40, this=0x55b7ce48ab00) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x55b7ce21fa00, signal_index=7,
argv=0x7ffd1849fb30) at kernel/qobject.cpp:3925
#16 0x00007faaf011e40f in QMetaObject::activate
(sender=sender@entry=0x55b7ce21fa00, m=m@entry=0x7faaf18cba00
<DiagnosticsProvider::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd1849fb30)
at kernel/qobject.cpp:3985
#17 0x00007faaf17aed62 in DiagnosticsProvider::requestClearSuppressions
(this=this@entry=0x55b7ce21fa00, _t1=<optimized out>, _t1@entry=0x55b7ce21fa00)
at
/usr/src/debug/kate-23.04.3/build/apps/lib/kateprivate_autogen/2XSJLH2FHN/moc_diagnosticview.cpp:255
#18 0x00007faae05b3433 in LSPClientPluginViewImpl::onServerChanged
(this=0x55b7ce21f520) at
/usr/src/debug/kate-23.04.3/addons/lspclient/lspclientpluginview.cpp:2112
#19 0x00007faaf01257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffd1849fbf0,
r=0x55b7ce21f520, this=0x55b7d06f98f0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x55b7ce0b7ac0, signal_index=3,
argv=0x7ffd1849fbf0) at kernel/qobject.cpp:3925
#21 0x00007faaf011e40f in QMetaObject::activate
(sender=sender@entry=0x55b7ce0b7ac0, m=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3985
#22 0x00007faae05ea870 in LSPClientServerManager::serverChanged
(this=0x55b7ce0b7ac0) at
/usr/src/debug/kate-23.04.3/build/addons/lspclient/lspclientplugin_autogen/EWIEGA46WW/moc_lspclientservermanager.cpp:196
#23 LSPClientServerManagerImpl::updateServerConfig (this=0x55b7ce0b7ac0) at
/usr/src/debug/kate-23.04.3/addons/lspclient/lspclientservermanager.cpp:922
#24 0x00007faaf0129612 in QtPrivate::QSlotObjectBase::call (a=0x7ffd1849fd50,
r=<optimized out>, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 QSingleShotTimer::timerEvent (this=0x55b7cf4c3d00) at kernel/qtimer.cpp:322
#26 0x00007faaf01191bb in QObject::event (this=0x55b7cf4c3d00,
e=0x7ffd1849fe90) at kernel/qobject.cpp:1369
#27 0x00007faaf0fa519e in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55b7cf4c3d00, e=0x7ffd1849fe90) at
kernel/qapplication.cpp:3640
#28 0x00007faaf00ed4f8 in QCoreApplication::notifyInternal2
(receiver=0x55b7cf4c3d00, event=0x7ffd1849fe90) at
kernel/qcoreapplication.cpp:1064
#29 0x00007faaf00ed6be in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#30 0x00007faaf0145889 in QTimerInfoList::activateTimers (this=0x55b7cdb02e40)
at kernel/qtimerinfo_unix.cpp:643
#31 0x00007faaf0146134 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:183
#32 0x00007faaed916988 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#33 0x00007faaed916d98 in ?? () from /lib64/libglib-2.0.so.0
#34 0x00007faaed916e2c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#35 0x00007faaf0146496 in QEventDispatcherGlib::processEvents
(this=0x55b7cdb03e10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007faaf00ebf8b in QEventLoop::exec (this=this@entry=0x7ffd184a00d0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007faaf00f4420 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x000055b7cd995478 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kate-23.04.3/apps/kate/main.cpp:609
[Inferior 1 (process 442) detached]

Reported using DrKonqi

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

Reply via email to