Bug 460360 - Plasma discover notifier crashes after sleep in KIdleTimePrivate::timeoutReached()
Summary: Plasma discover notifier crashes after sleep in KIdleTimePrivate::timeoutReac...
Status: REPORTED
Alias: None
Product: frameworks-kidletime
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.92.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-13 12:53 UTC by Alexey Shildyakov
Modified: 2022-10-14 19:00 UTC (History)
2 users (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 Alexey Shildyakov 2022-10-13 12:53:05 UTC
Application: DiscoverNotifier (5.24.6)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.0-50-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Closed laptop lid for several hours, then opened it, entered user password.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Уведомления центра программ Discover (DiscoverNotifier), signal: Segmentation fault

[KCrash Handler]
#4  QHashData::nextNode (node=node@entry=0x55b88270ba30) at tools/qhash.cpp:591
#5  0x00007f9e44515ee8 in QHash<int, int>::const_iterator::operator++ (this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:425
#6  KIdleTimePrivate::timeoutReached (msec=<optimized out>, this=0x55b882711010) at ./src/kidletime.cpp:291
#7  operator() (msec=<optimized out>, __closure=<optimized out>) at ./src/kidletime.cpp:88
#8  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, KIdleTime::KIdleTime()::<lambda(int)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor<KIdleTime::KIdleTime()::<lambda(int)>, 1>::call<QtPrivate::List<int>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<KIdleTime::KIdleTime()::<lambda(int)>, 1, QtPrivate::List<int>, void>::impl (which=<optimized out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#11 QtPrivate::QFunctorSlotObject<KIdleTime::KIdleTime()::<lambda(int)>, 1, QtPrivate::List<int>, 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/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:436
#12 0x00007f9e4309c793 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7370ce60, r=0x55b8827d6b50, this=0x55b8827112c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x55b8827ccab0, signal_index=4, argv=0x7ffc7370ce60) at kernel/qobject.cpp:3886
#14 0x00007f9e43095aa7 in QMetaObject::activate (sender=sender@entry=0x55b8827ccab0, m=m@entry=0x7f9e4451da60 <AbstractSystemPoller::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc7370ce60) at kernel/qobject.cpp:3946
#15 0x00007f9e44515c75 in AbstractSystemPoller::timeoutReached (this=this@entry=0x55b8827ccab0, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/KF5IdleTime_autogen/EWIEGA46WW/moc_abstractsystempoller.cpp:189
#16 0x00007f9e35c52e3b in XSyncBasedPoller::xcbEvent (event=0x7f9e380043d0, this=0x55b8827ccab0) at ./src/plugins/xsync/xsyncbasedpoller.cpp:295
#17 XSyncBasedPoller::xcbEvent (event=0x7f9e380043d0, this=0x55b8827ccab0) at ./src/plugins/xsync/xsyncbasedpoller.cpp:279
#18 XSyncBasedPollerHelper::nativeEventFilter (result=<optimized out>, message=0x7f9e380043d0, eventType=..., this=0x7f9e35c57060 <(anonymous namespace)::Q_QGS_s_globalXSyncBasedPoller::innerFunction()::holder>) at ./src/plugins/xsync/xsyncbasedpoller.cpp:44
#19 XSyncBasedPollerHelper::nativeEventFilter (this=0x7f9e35c57060 <(anonymous namespace)::Q_QGS_s_globalXSyncBasedPoller::innerFunction()::holder>, eventType=..., message=0x7f9e380043d0, result=<optimized out>) at ./src/plugins/xsync/xsyncbasedpoller.cpp:39
#20 0x00007f9e43062207 in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f9e380043d0, result=result@entry=0x7ffc7370cef8) at kernel/qabstracteventdispatcher.cpp:495
#21 0x00007f9e3eeedb05 in QXcbConnection::handleXcbEvent (this=this@entry=0x55b882664290, event=event@entry=0x7f9e380043d0) at ./src/plugins/platforms/xcb/qxcbconnection.cpp:536
#22 0x00007f9e3eeef116 in QXcbConnection::processXcbEvents (this=0x55b882664290, flags=...) at ./src/plugins/platforms/xcb/qxcbconnection.cpp:1014
#23 0x00007f9e3ef15d67 in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#24 0x00007f9e41a90d1b in g_main_dispatch (context=0x7f9e38005010) at ../../../glib/gmain.c:3417
#25 g_main_context_dispatch (context=0x7f9e38005010) at ../../../glib/gmain.c:4135
#26 0x00007f9e41ae56f8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f9e38005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#27 0x00007f9e41a8e3c3 in g_main_context_iteration (context=0x7f9e38005010, may_block=1) at ../../../glib/gmain.c:4276
#28 0x00007f9e430be0b8 in QEventDispatcherGlib::processEvents (this=0x55b8827371f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f9e4306375b in QEventLoop::exec (this=this@entry=0x7ffc7370d180, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f9e4306bcf4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x000055b8811c6755 in main (argc=<optimized out>, argv=<optimized out>) at ./notifier/main.cpp:78
[Inferior 1 (process 1895) detached]

Possible duplicates by query: bug 459515, bug 458531, bug 456560, bug 455093, bug 454471.