Bug 456175

Summary: kate crash
Product: [Applications] kate Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph, waqar.17a
Priority: NOR Keywords: drkonqi
Version: 21.12.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toralf Förster 2022-06-30 16:16:46 UTC
Application: kate (21.12.3)
 (Compiled from sources)
Qt Version: 5.15.5
Frameworks Version: 5.95.0
Operating System: Linux 5.15.51 x86_64
Windowing System: X11
Distribution: "Gentoo Base System release 2.8"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
I closed completely other unrelated bugs - among them a VPN connection.
Kate crashed w/o any futher logs.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00005647447907f0 in ?? ()
#5  0x00007f1eab87d9cd in QObject::property (this=0x564744910fa0, name=name@entry=0x7f1eaacf7fc8 "desktopFileName") at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:4086
#6  0x00007f1eaacf0025 in KUiServerV2JobTracker::registerJob (this=0x5647445bcf60, job=<optimized out>) at /var/tmp/portage/kde-frameworks/kjobwidgets-5.95.0/work/kjobwidgets-5.95.0/src/kuiserverv2jobtracker.cpp:187
#7  0x00007f1eaacef098 in operator() (__closure=0x564744599730) at /var/tmp/portage/kde-frameworks/kjobwidgets-5.95.0/work/kjobwidgets-5.95.0/src/kuiserverv2jobtracker.cpp:215
#8  0x00007f1eaacefcd8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUiServerV2JobTracker::registerJob(KJob*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:145
#9  QtPrivate::Functor<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<KUiServerV2JobTracker::registerJob(KJob*)::<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:443
#11 0x00007f1eab883b19 in QtPrivate::QSlotObjectBase::call (a=0x7ffc5e9155b0, r=0x5647445bcf60, this=0x564744599720) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x7f1eaad000c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, signal_index=3, argv=0x7ffc5e9155b0) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:3886
#13 0x00007f1eab87c401 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1eaacff300 <KSharedUiServerV2Proxy::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:3946
#14 0x00007f1eaacea922 in KSharedUiServerV2Proxy::serverRegistered (this=<optimized out>) at /var/tmp/portage/kde-frameworks/kjobwidgets-5.95.0/work/kjobwidgets-5.95.0_build/src/KF5JobWidgets_autogen/include/moc_kuiserverv2jobtracker_p.cpp:143
#15 0x00007f1eaacea9d4 in KSharedUiServerV2Proxy::uiserverOwnerChanged (this=<optimized out>, serviceName=..., oldOwner=..., newOwner=...) at /var/tmp/portage/kde-frameworks/kjobwidgets-5.95.0/work/kjobwidgets-5.95.0/src/kuiserverv2jobtracker.cpp:416
#16 0x00007f1eaacf0b73 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<QString const&, QString const&, QString const&>, void, void (KSharedUiServerV2Proxy::*)(QString const&, QString const&, QString const&)>::call (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#17 QtPrivate::FunctionPointer<void (KSharedUiServerV2Proxy::*)(QString const&, QString const&, QString const&)>::call<QtPrivate::List<QString const&, QString const&, QString const&>, void> (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#18 QtPrivate::QSlotObject<void (KSharedUiServerV2Proxy::*)(QString const&, QString const&, QString const&), QtPrivate::List<QString const&, QString const&, QString const&>, void>::impl (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#19 0x00007f1eab883b19 in QtPrivate::QSlotObjectBase::call (a=0x7ffc5e915710, r=0x7f1eaad000c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, this=0x5647445996c0) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x5647445bda70, signal_index=5, argv=0x7ffc5e915710) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:3886
#21 0x00007f1eab87c401 in QMetaObject::activate (sender=sender@entry=0x5647445bda70, m=m@entry=0x7f1eac9b1960 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc5e915710) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:3946
#22 0x00007f1eac99358a in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x5647445bda70, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#23 0x00007f1eac9935c3 in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (this=<optimized out>, service=..., oldOwner=..., newOwner=...) at /var/tmp/portage/dev-qt/qtdbus-5.15.5/work/qtbase-everywhere-src-5.15.5/src/dbus/qdbusservicewatcher.cpp:76
#24 0x00007f1eac993ac2 in QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x5647445bda70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffc5e915880) at .moc/moc_qdbusservicewatcher.cpp:116
#25 0x00007f1eac993dec in QDBusServiceWatcher::qt_metacall (this=0x5647445bda70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffc5e915880) at .moc/moc_qdbusservicewatcher.cpp:197
#26 0x00007f1eac93f945 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.5/work/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#27 0x00007f1eac94adff in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.5/work/qtbase-everywhere-src-5.15.5/src/dbus/qdbusintegrator_p.h:114
#28 0x00007f1eab87ce55 in QObject::event (this=<optimized out>, e=0x7f1e98014230) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qobject.cpp:1314
#29 0x00007f1eac219b70 in QApplicationPrivate::notify_helper (this=this@entry=0x5647434f6d50, receiver=receiver@entry=0x5647445bda70, e=e@entry=0x7f1e98014230) at /var/tmp/portage/dev-qt/qtwidgets-5.15.5/work/qtbase-everywhere-src-5.15.5/src/widgets/kernel/qapplication.cpp:3637
#30 0x00007f1eac221e23 in QApplication::notify (this=0x7ffc5e916160, receiver=0x5647445bda70, e=0x7f1e98014230) at /var/tmp/portage/dev-qt/qtwidgets-5.15.5/work/qtbase-everywhere-src-5.15.5/src/widgets/kernel/qapplication.cpp:2977
#31 0x00007f1eab84abcd in QCoreApplication::notifyInternal2 (receiver=0x5647445bda70, event=0x7f1e98014230) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1064
#32 0x00007f1eab84ad86 in QCoreApplication::sendEvent (receiver=receiver@entry=0x5647445bda70, event=event@entry=0x7f1e98014230) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1462
#33 0x00007f1eab84e31e in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5647434f5ef0) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1821
#34 0x00007f1eab84e52c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qcoreapplication.cpp:1680
#35 0x00007f1eab8a6b9b in postEventSourceDispatch (s=s@entry=0x5647435c6440) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#36 0x00007f1ea9c54632 in g_main_dispatch (context=context@entry=0x7f1ea0005000) at ../glib-2.72.1/glib/gmain.c:3417
#37 0x00007f1ea9c57acb in g_main_context_dispatch (context=context@entry=0x7f1ea0005000) at ../glib-2.72.1/glib/gmain.c:4135
#38 0x00007f1ea9c57c39 in g_main_context_iterate (context=context@entry=0x7f1ea0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.72.1/glib/gmain.c:4211
#39 0x00007f1ea9c57cbc in g_main_context_iteration (context=0x7f1ea0005000, may_block=1) at ../glib-2.72.1/glib/gmain.c:4276
#40 0x00007f1eab8a69b0 in QEventDispatcherGlib::processEvents (this=0x5647435d7460, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#41 0x00007f1ea6d460b0 in QXcbGlibEventDispatcher::processEvents (this=<optimized out>, flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.5/work/qtbase-everywhere-src-5.15.5/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143
#42 0x00007f1eab849107 in QEventLoop::processEvents (this=this@entry=0x7ffc5e915f20, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/src/corelib/kernel/qeventloop.cpp:139
#43 0x00007f1eab84951b in QEventLoop::exec (this=this@entry=0x7ffc5e915f20, flags=flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/global/qflags.h:69
#44 0x00007f1eab85230a in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.5-r1/work/qtbase-everywhere-src-5.15.5/include/QtCore/../../src/corelib/global/qflags.h:121
#45 0x00007f1eabc2a5c4 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.5/work/qtbase-everywhere-src-5.15.5/src/gui/kernel/qguiapplication.cpp:1867
#46 0x00007f1eac219ae5 in QApplication::exec () at /var/tmp/portage/dev-qt/qtwidgets-5.15.5/work/qtbase-everywhere-src-5.15.5/src/widgets/kernel/qapplication.cpp:2829
#47 0x00005647422e390a in ?? ()
#48 0x00007f1eab20331c in __libc_start_call_main (main=main@entry=0x5647422e16a0, argc=argc@entry=3, argv=argv@entry=0x7ffc5e916478) at ../sysdeps/nptl/libc_start_call_main.h:58
#49 0x00007f1eab2033cc in __libc_start_main_impl (main=0x5647422e16a0, argc=3, argv=0x7ffc5e916478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5e916468) at ../csu/libc-start.c:392
#50 0x00005647422e4f7a in _start ()
[Inferior 1 (process 19466) detached]

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

Possible duplicates by query: bug 455658, bug 455056, bug 454594, bug 454589, bug 453795.

Reported using DrKonqi
Comment 1 Waqar Ahmed 2022-06-30 17:36:03 UTC
Hi, 

thanks for the report. Can you provide steps to reproduce this?

Doesn't seem like its directly related to kate.
Comment 2 Toralf Förster 2022-06-30 17:49:47 UTC
(In reply to Waqar Ahmed from comment #1)
> Hi, 
> 
> thanks for the report. Can you provide steps to reproduce this?
> 
> Doesn't seem like its directly related to kate.

I do have 2 desktops. At end of the workday I do close all apps (needed for my work) at the 2nd. Kate was open at the 1st where I do have private things.
While closing the work apps  it happened.
Comment 3 Christoph Cullmann 2022-07-02 19:37:22 UTC
Yeah, not nice, dupe of this bug that has XX dupes...

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