Bug 461318 - Kate crash when hung plasmashell is killed
Summary: Kate crash when hung plasmashell is killed
Status: RESOLVED DUPLICATE of bug 471531
Alias: None
Product: frameworks-kjobwidgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.98.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 12:48 UTC by Vassilis Virvilis
Modified: 2023-06-29 16:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vassilis Virvilis 2022-11-02 12:48:52 UTC
When the kwin hangs as in https://bugs.kde.org/show_bug.cgi?id=461316 I got a 50% percent chance that the plasmashell got hang and I have to kiil it and restart it.

When that happens the Kate crashes (again a 50% chances) with the following backtrace.

Hope this helps.

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 31.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: Gigabyte Technology Co., Ltd.

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

[KCrash Handler]
#4  0x00007fec1ea5e654 in KJob::isSuspended() const () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007fec1f81a0dc in KUiServerV2JobTracker::registerJob (this=0x559dfb9ddd40, job=<optimized out>) at ./src/kuiserverv2jobtracker.cpp:236
#6  0x00007fec1f818fe6 in operator() (__closure=0x559dfbe0a4a0) at ./src/kuiserverv2jobtracker.cpp:227
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUiServerV2JobTracker::registerJob(KJob*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x559dfbe0a490, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fec1d6e8caf in QtPrivate::QSlotObjectBase::call (a=0x7ffcf054e070, r=0x559dfb9ddd40, this=0x559dfbe0a490) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x7fec1f8290c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, signal_index=3, argv=0x7ffcf054e070) at kernel/qobject.cpp:3919
#12 0x00007fec1d6e8caf in QtPrivate::QSlotObjectBase::call (a=0x7ffcf054e180, r=0x7fec1f8290c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, this=0x559dfb9ddd70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x559dfbad27f0, signal_index=5, argv=0x7ffcf054e180) at kernel/qobject.cpp:3919
#14 0x00007fec1d6e1f4f in QMetaObject::activate (sender=sender@entry=0x559dfbad27f0, m=m@entry=0x7fec1e9546c0 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffcf054e180) at kernel/qobject.cpp:3979
#15 0x00007fec1e936d6f in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x559dfbad27f0, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#16 0x00007fec1e93768a in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (newOwner=..., oldOwner=..., service=..., this=<optimized out>) at ./src/dbus/qdbusservicewatcher.cpp:76
#17 QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x559dfbad27f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffcf054e300) at .moc/moc_qdbusservicewatcher.cpp:116
#18 0x00007fec1e937b33 in QDBusServiceWatcher::qt_metacall (this=0x559dfbad27f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffcf054e300) at .moc/moc_qdbusservicewatcher.cpp:197
#19 0x00007fec1e8e961b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#20 0x00007fec1d6dd450 in QObject::event (this=0x559dfbad27f0, e=0x7febf803ae90) at kernel/qobject.cpp:1347
#21 0x00007fec1e362f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fec1d6b1718 in QCoreApplication::notifyInternal2 (receiver=0x559dfbad27f0, event=0x7febf803ae90) at kernel/qcoreapplication.cpp:1064
#23 0x00007fec1d6b46b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559df97d0ec0) at kernel/qcoreapplication.cpp:1821
#24 0x00007fec1d709dd3 in postEventSourceDispatch (s=0x559df98babe0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007fec1b868799 in g_main_dispatch (context=0x7fec10005010) at ../../../glib/gmain.c:3444
#26 g_main_context_dispatch (context=context@entry=0x7fec10005010) at ../../../glib/gmain.c:4162
#27 0x00007fec1b868a28 in g_main_context_iterate (context=context@entry=0x7fec10005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4238
#28 0x00007fec1b868abc in g_main_context_iteration (context=0x7fec10005010, may_block=1) at ../../../glib/gmain.c:4303
#29 0x00007fec1d7094b6 in QEventDispatcherGlib::processEvents (this=0x559df98bc080, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fec1d6b019b in QEventLoop::exec (this=this@entry=0x7ffcf054e740, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007fec1d6b8306 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x0000559df8ee9511 in ?? ()
#33 0x00007fec1cc2920a in __libc_start_call_main (main=main@entry=0x559df8ee7220, argc=argc@entry=4, argv=argv@entry=0x7ffcf054ecb8) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x00007fec1cc292bc in __libc_start_main_impl (main=0x559df8ee7220, argc=4, argv=0x7ffcf054ecb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcf054eca8) at ../csu/libc-start.c:389
#35 0x0000559df8eeabaa in ?? ()
[Inferior 1 (process 6342) detached]
Comment 1 Vassilis Virvilis 2022-11-25 07:02:38 UTC
This is time the backtrace is somewhat different. That's why I am posting again...

Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fab83ee484f in QObject::property (this=this@entry=0x564e91ce5570, name=name@entry=0x7fab86200155 "desktopFileName") at kernel/qobject.cpp:4119
#5  0x00007fab861f9091 in KUiServerV2JobTracker::registerJob (this=0x564e91a02110, job=<optimized out>) at ./src/kuiserverv2jobtracker.cpp:186
#6  0x00007fab861f7fe6 in operator() (__closure=0x564e91890740) at ./src/kuiserverv2jobtracker.cpp:227
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUiServerV2JobTracker::registerJob(KJob*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x564e91890730, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fab83ee8caf in QtPrivate::QSlotObjectBase::call (a=0x7ffedb40a550, r=0x564e91a02110, this=0x564e91890730) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x7fab862080c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, signal_index=3, argv=0x7ffedb40a550) at kernel/qobject.cpp:3919
#12 0x00007fab83ee8caf in QtPrivate::QSlotObjectBase::call (a=0x7ffedb40a660, r=0x7fab862080c0 <(anonymous namespace)::Q_QGS_serverProxy::innerFunction()::holder>, this=0x564e916af5e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x7fab600245e0, signal_index=5, argv=0x7ffedb40a660) at kernel/qobject.cpp:3919
#14 0x00007fab83ee1f4f in QMetaObject::activate (sender=sender@entry=0x7fab600245e0, m=m@entry=0x7fab8531e6c0 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffedb40a660) at kernel/qobject.cpp:3979
#15 0x00007fab85300d6f in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x7fab600245e0, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#16 0x00007fab8530168a in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (newOwner=..., oldOwner=..., service=..., this=<optimized out>) at ./src/dbus/qdbusservicewatcher.cpp:76
#17 QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x7fab600245e0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffedb40a7e0) at .moc/moc_qdbusservicewatcher.cpp:116
#18 0x00007fab85301b33 in QDBusServiceWatcher::qt_metacall (this=0x7fab600245e0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffedb40a7e0) at .moc/moc_qdbusservicewatcher.cpp:197
#19 0x00007fab852b361b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#20 0x00007fab83edd450 in QObject::event (this=0x7fab600245e0, e=0x7fab600151f0) at kernel/qobject.cpp:1347
#21 0x00007fab84b62f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fab83eb1718 in QCoreApplication::notifyInternal2 (receiver=0x7fab600245e0, event=0x7fab600151f0) at kernel/qcoreapplication.cpp:1064
#23 0x00007fab83eb46b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x564e8f525ec0) at kernel/qcoreapplication.cpp:1821
#24 0x00007fab83f09dd3 in postEventSourceDispatch (s=0x564e8f611500) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007fab822667a9 in g_main_dispatch (context=0x7fab78005010) at ../../../glib/gmain.c:3444
#26 g_main_context_dispatch (context=context@entry=0x7fab78005010) at ../../../glib/gmain.c:4162
#27 0x00007fab82266a38 in g_main_context_iterate (context=context@entry=0x7fab78005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4238
#28 0x00007fab82266acc in g_main_context_iteration (context=0x7fab78005010, may_block=1) at ../../../glib/gmain.c:4303
#29 0x00007fab83f094b6 in QEventDispatcherGlib::processEvents (this=0x564e8f612910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fab83eb019b in QEventLoop::exec (this=this@entry=0x7ffedb40ac20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007fab83eb8306 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x0000564e8f418511 in ?? ()
#33 0x00007fab83a4618a in __libc_start_call_main (main=main@entry=0x564e8f416220, argc=argc@entry=4, argv=argv@entry=0x7ffedb40b198) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x00007fab83a46245 in __libc_start_main_impl (main=0x564e8f416220, argc=4, argv=0x7ffedb40b198, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffedb40b188) at ../csu/libc-start.c:381
#35 0x0000564e8f419baa in ?? ()
[Inferior 1 (process 557480) detached]
Comment 2 Christoph Cullmann 2023-06-29 16:22:24 UTC

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