Bug 357141 - kdeinit5 crashes on waking up in fedora22
Summary: kdeinit5 crashes on waking up in fedora22
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Klapetek
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2015-12-25 09:17 UTC by nikita.rogatnev
Modified: 2018-09-19 14:43 UTC (History)
5 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 nikita.rogatnev 2015-12-25 09:17:23 UTC
call trace i've got:

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8e5aa0b840 (LWP 15591))]

Thread 7 (Thread 0x7f8e3bbab700 (LWP 15594)):
#0  0x00007f8e577782fd in poll () at /lib64/libc.so.6
#1  0x00007f8e56957182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f8e56958c77 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f8e3dd3bda9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f8e583853ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f8e30271700 (LWP 15596)):
#0  0x00007f8e577782fd in poll () at /lib64/libc.so.6
#1  0x00007f8e55bf3dbc in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f8e55bf4142 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f8e30b8f696 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007f8e55c1b0a5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8e23093700 (LWP 15598)):
#0  0x00007f8e55c38ec9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f8e55bf2d60 in g_main_context_acquire () at /lib64/libglib-2.0.so.0
#2  0x00007f8e55bf3c75 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f8e55bf3ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f8e585bcf0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f8e58563f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f8e58380424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f8e583853ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8e21e82700 (LWP 15602)):
#0  0x00007f8e55c38ec9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f8e55bf380c in g_main_context_check () at /lib64/libglib-2.0.so.0
#2  0x00007f8e55bf3d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f8e55bf3ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f8e585bcf0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f8e58563f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f8e58380424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f8e3397b397 in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007f8e583853ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8e21681700 (LWP 15603)):
#0  0x00007f8e5779163f in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007f8e577782f2 in poll () at /lib64/libc.so.6
#2  0x00007f8e55bf3dbc in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f8e55bf3ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f8e585bcf0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f8e58563f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f8e58380424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f8e583853ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8e1aa84700 (LWP 15762)):
#0  0x00007f8e57773fad in read () at /lib64/libc.so.6
#1  0x00007f8e55c37b00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f8e55bf38b4 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f8e55bf3d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f8e55bf3ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f8e585bcf0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f8e58563f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007f8e58380424 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007f8e583853ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f8e56dbf555 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8e57783b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8e5aa0b840 (LWP 15591)):
[KCrash Handler]
#5  0x00007f8e42fb1719 in KNotification::id() () at /lib64/libKF5Notifications.so.5
#6  0x00007f8e42fb4c4c in KNotificationManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libKF5Notifications.so.5
#7  0x00007f8e585952ea in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#8  0x00007f8e42fdc1ff in KNotificationPlugin::finished(KNotification*) () at /lib64/libKF5Notifications.so.5
#9  0x00007f8e42fcb6cc in NotifyByPopup::onPassivePopupDestroyed() () at /lib64/libKF5Notifications.so.5
#10 0x00007f8e585952ea in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007f8e58595b8f in QObject::destroyed(QObject*) () at /lib64/libQt5Core.so.5
#12 0x00007f8e5928ab0d in QWidget::~QWidget() () at /lib64/libQt5Widgets.so.5
#13 0x00007f8e42fb7429 in KPassivePopup::~KPassivePopup() () at /lib64/libKF5Notifications.so.5
#14 0x00007f8e585961d0 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f8e5928f17b in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007f8e5938e26e in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f8e5924c41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f8e592518e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f8e5856677b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00007f8e58568b76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#21 0x00007f8e585bcae3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#22 0x00007f8e55bf3a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#23 0x00007f8e55bf3e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#24 0x00007f8e55bf3ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#25 0x00007f8e585bceef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f8e58563f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00007f8e5856bfec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#28 0x00007f8e3e1feee6 in kdemain () at /lib64/libkdeinit5_kded5.so
#29 0x00000000004085d0 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#30 0x00000000004058f2 in main ()

Reproducible: Always

Steps to Reproduce:
1. exit -> sleep mode
2. wait for machine to suspend
3. wake up

Actual Results:  
I'm getting notification window, which says that kdeinit5 crashed and I cannot post this error because there is no bug tracking address for kdeinit.
Then some tray icons dissapears (keyboard layout and audio volume as example) and there is no way to bring them back.
Only KDE restart (logging out or reboot) solves the problem.

Expected Results:  
Waking up without any problem

fedora 22 is up to date (updated 23.12.2015 from stable updates repo)

$ kdeinit5 --version
Qt: 5.5.1
KDE: 5.16.0
Comment 1 Kai Uwe Broulik 2015-12-25 09:58:57 UTC
Someone was spawning a notification as a passive popup and when it closed it crashed. Can you see a notification (a Plasma style notification, no DrKonqi)?
Comment 2 Martin Klapetek 2015-12-29 19:24:09 UTC
Setting as needsinfo.
Comment 3 nikita.rogatnev 2016-01-13 08:22:05 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Someone was spawning a notification as a passive popup and when it closed it
> crashed. Can you see a notification (a Plasma style notification, no
> DrKonqi)?

When I resume from sleep mode I don't see any notification. How Plasma-style notifications can be distinguished from DrKonqi?
Comment 4 Martin Klapetek 2016-01-13 17:14:08 UTC
Can you still reproduce this crash?
Comment 5 nikita.rogatnev 2016-01-19 07:53:54 UTC
Yes, KDE is now 5.17.0, but bug remains
Comment 6 Andrew Crouthamel 2018-09-19 14:43:06 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.