Bug 402676 - [Wayland] Plasma crashed when I tried to open kickoff immediately after login
Summary: [Wayland] Plasma crashed when I tried to open kickoff immediately after login
Status: RESOLVED DUPLICATE of bug 399514
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.16.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 11:32 UTC by Patrick Silva
Modified: 2020-05-21 12:48 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 Patrick Silva 2018-12-29 11:32:06 UTC
I started Wayland session, clicked kickoff icon immediately after login, plasma crashed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.14.4
Qt Version: 5.12.0
KDE Frameworks Version: 5.53.0


Thread 12 (Thread 0x7f75275f1700 (LWP 810)):
#0  0x00007f75403f47a4 in read () at /usr/lib/libc.so.6
#1  0x00007f753e6aa971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f753e6fb0b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f753e6fc4e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f753e6fc62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f754092b5c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f75408d458c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f75407185c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f7526a38700 (LWP 813)):
#0  0x00007f754092aea2 in  () at /usr/lib/libQt5Core.so.5
#1  0x00007f754092969a in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#2  0x00007f7540929c96 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#3  0x00007f754092b30f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f753e6fbe0a in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#5  0x00007f753e6fc466 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f753e6fc62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#7  0x00007f754092b5c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007f75408d458c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#9  0x00007f75407185c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#10 0x00007f75423dae5b in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f74fffff700 (LWP 937)):
#0  0x00007f753f626afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f754071fadc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f754071fbca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f75424624cd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f754246273c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f74fdfc4700 (LWP 865)):
#0  0x00007f753f626afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f754071fadc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f754071fbca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f75424624cd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f754246273c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f75324a0700 (LWP 802)):
#0  0x00007f753f626afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7532ac0c24 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f7532ac0948 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f7539d41700 (LWP 640)):
#0  0x00007f753e6fbde0 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007f753e6fc466 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f753e6fc62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f754092b5c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f75408d458c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f75407185c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f75411b2ba6 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f753affc5c0 (LWP 620)):
#0  0x00007f75403d06a8 in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f75403d05ae in sleep () at /usr/lib/libc.so.6
#2  0x00007f7541c31813 in  () at /usr/lib/libKF5Crash.so.5
#3  0x00007f7541c31fee in  () at /usr/lib/libKF5Crash.so.5
#4  0x00007f7541c3254d in KCrash::defaultCrashHandler(int) () at /usr/lib/libKF5Crash.so.5
#5  0x00007f754033fe00 in <signal handler called> () at /usr/lib/libc.so.6
#6  0x00007f75427c3be0 in  () at /usr/lib/libKF5Plasma.so.5
#7  0x00007f75427d8464 in  () at /usr/lib/libKF5Plasma.so.5
#8  0x00007f75427c7959 in Plasma::DataEngineConsumer::~DataEngineConsumer() () at /usr/lib/libKF5Plasma.so.5
#9  0x00007f7526d84518 in UKMETIon::~UKMETIon() (this=0x558d713a04e0, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qhash.h:254
#10 0x00007f7526d8462a in UKMETIon::~UKMETIon() (this=0x558d713a04e0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-workspace-5.14.4/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:63
#11 0x00007f75427c7959 in Plasma::DataEngineConsumer::~DataEngineConsumer() () at /usr/lib/libKF5Plasma.so.5
#12 0x00007f752764bbcb in WeatherEngine::~WeatherEngine() (this=0x558d7130f650, __in_chrg=<optimized out>) at /usr/include/c++/8.2.1/bits/atomic_base.h:303
#13 0x00007f752764bbf9 in WeatherEngine::~WeatherEngine() (this=0x558d7130f650, __in_chrg=<optimized out>) at /usr/src/debug/plasma-workspace-5.14.4/dataengines/weather/weatherengine.cpp:54
#14 0x00007f75427d7cc2 in  () at /usr/lib/libKF5Plasma.so.5
#15 0x00007f75427d7e29 in  () at /usr/lib/libKF5Plasma.so.5
#16 0x00007f754034245c in __run_exit_handlers () at /usr/lib/libc.so.6
#17 0x00007f754034258e in  () at /usr/lib/libc.so.6
#18 0x00007f753ac2c4ef in  () at /usr/lib/libQt5WaylandClient.so.5
#19 0x00007f753ac2c54a in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#20 0x00007f754090028c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#21 0x00007f754092b661 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f75408d458c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f75408dc896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x0000558d6fb82d2e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.14.4/shell/main.cpp:212

Thread 5 (Thread 0x7f750d82d700 (LWP 842)):
#0  0x00007f753e6fc4fd in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007f753e6fd5c2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#2  0x00007f751e35fcb8 in  () at /usr/lib/libgio-2.0.so.0
#3  0x00007f753e6d767b in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7538b30700 (LWP 686)):
#0  0x00007f75403f47a4 in read () at /usr/lib/libc.so.6
#1  0x00007f753e6aa971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f753e6fb0b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f753e6fc4e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f753e6fc62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f754092b5c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f75408d458c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f75407185c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f7542114b89 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f74fd205700 (LWP 871)):
#0  0x00007f753f626afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f754071fadc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f754071fbca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f75424624cd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f754246273c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f751ffff700 (LWP 817)):
#0  0x00007f753f626afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f754071fadc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f754071fbca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f75424624cd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f754246273c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f75407199cc in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f7540403b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f750e06b700 (LWP 841)):
#0  0x00007f753e6eac36 in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007f753e6eae1e in g_log_default_handler () at /usr/lib/libglib-2.0.so.0
#2  0x00007f753e6eb5c1 in g_logv () at /usr/lib/libglib-2.0.so.0
#3  0x00007f753e6eb7e0 in g_log () at /usr/lib/libglib-2.0.so.0
#4  0x00007f751e33b5c0 in  () at /usr/lib/libgio-2.0.so.0
#5  0x00007f751e33c0e8 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007f753e6fa8d1 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#7  0x00007f753e6fc5e9 in  () at /usr/lib/libglib-2.0.so.0
#8  0x00007f753e6fc62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#9  0x00007f753e6fc682 in  () at /usr/lib/libglib-2.0.so.0
#10 0x00007f753e6d767b in  () at /usr/lib/libglib-2.0.so.0
#11 0x00007f753f620a9d in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f7540403b23 in clone () at /usr/lib/libc.so.6
Comment 1 Friedrich W. H. Kossebau 2019-01-18 04:28:30 UTC
Thanks fro the report.

Seems the interesting point in the backtrace is

#16 0x00007f754034245c in __run_exit_handlers () at /usr/lib/libc.so.6

which is triggered from within /usr/lib/libQt5WaylandClient.so.5, possibly because some state was reached where QtWayland could not cope with and just calls exit on the whole process.

Possibly Plasma might need improvements in doing the clean-up here, so the exit does not escalate in a crash. But more important would be to prevent the exit call. Which would need to know what QtWayland paniced about, no idea how to debug that myself.

Nothing to do with the weather dataengine itself from what I can tell, so moving over to Plasma Generic bugs.
Comment 2 Marco Martin 2020-05-21 12:48:48 UTC

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