Bug 430591 - Plasma crash on Wayland after install updates
Summary: Plasma crash on Wayland after install updates
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.4
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2020-12-19 17:38 UTC by Alexandr
Modified: 2021-01-13 18:44 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 Alexandr 2020-12-19 17:38:32 UTC
Application: plasmashell (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.4.0-58-generic x86_64
Windowing system: Wayland
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed:
I am installed latest updates and reboot

- Unusual behavior I noticed:
After logon: briefly saw desktop iconswithout panels, theneverything turned black.

- Custom settings of the application:
- Time: show seconds
- Thame - default
Icons: Home, Trash, one SH file.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[New LWP 1367]
[New LWP 1490]
[New LWP 1495]
[New LWP 1496]
[New LWP 1497]
[New LWP 1498]
[New LWP 1537]
[New LWP 1540]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4d1393baff in __GI___poll (fds=0x7ffd6adf0ba8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f4d0fb9d3c0 (LWP 1339))]

Thread 9 (Thread 0x7f4ceaffd700 (LWP 1540)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f4d08019224) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f4d080191d0, cond=0x7f4d080191f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f4d080191f8, mutex=0x7f4d080191d0) at pthread_cond_wait.c:638
#3  0x00007f4d13cced1b in QWaitConditionPrivate::wait (deadline=..., this=0x7f4d080191d0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x7f4d0800ec50, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4d15a68814 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f4d15a68c89 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f4d13cc8bac in QThreadPrivate::start (arg=0x7f4d0800ebb0) at thread/qthread_unix.cpp:329
#8  0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4ceb7fe700 (LWP 1537)):
#0  0x00007f4d162b4aaa in _dl_update_slotinfo (req_modid=1) at ../elf/dl-tls.c:625
#1  0x00007f4d162b4cac in update_get_addr (ti=0x7f4d1414a588) at ../elf/dl-tls.c:799
#2  0x00007f4d162bad4c in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55
#3  0x00007f4d13cc807a in get_thread_data () at thread/qthread_unix.cpp:207
#4  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:207
#5  0x00007f4d13f08e8e in postEventSourcePrepare (s=0x7f4cdc010cb0, timeout=0x7f4ceb7fdad4) at kernel/qeventdispatcher_glib.cpp:253
#6  0x00007f4d1226c72f in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f4d1226d0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f4d1226d2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f4d13f08fbb in QEventDispatcherGlib::processEvents (this=0x7f4cdc00e920, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#10 0x00007f4d13ead1ab in QEventLoop::exec (this=this@entry=0x7f4ceb7fdca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#11 0x00007f4d13cc7a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#12 0x00007f4d159a338a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f4d13cc8bac in QThreadPrivate::start (arg=0x5619bfa9d220) at thread/qthread_unix.cpp:329
#14 0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#15 0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4cebfff700 (LWP 1498)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5619bf4ed968) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5619bf4ed918, cond=0x5619bf4ed940) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5619bf4ed940, mutex=0x5619bf4ed918) at pthread_cond_wait.c:638
#3  0x00007f4d04a4e62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f4d04a4e23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f4cfa969700 (LWP 1497)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5619bf4ed968) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5619bf4ed918, cond=0x5619bf4ed940) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5619bf4ed940, mutex=0x5619bf4ed918) at pthread_cond_wait.c:638
#3  0x00007f4d04a4e62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f4d04a4e23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4cfb16a700 (LWP 1496)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5619bf4ed968) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5619bf4ed918, cond=0x5619bf4ed940) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5619bf4ed940, mutex=0x5619bf4ed918) at pthread_cond_wait.c:638
#3  0x00007f4d04a4e62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f4d04a4e23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4cfb96b700 (LWP 1495)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5619bf4ed968) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5619bf4ed918, cond=0x5619bf4ed940) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5619bf4ed940, mutex=0x5619bf4ed918) at pthread_cond_wait.c:638
#3  0x00007f4d04a4e62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f4d04a4e23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f4d0dccb700 (LWP 1490)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4d0dccaab0, fd=8) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=8, buf=0x7f4d0dccaab0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4d122b589f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4d1226ccfe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4d1226d152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4d1226d2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f4d13f08fbb in QEventDispatcherGlib::processEvents (this=0x7f4d00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f4d13ead1ab in QEventLoop::exec (this=this@entry=0x7f4d0dccacc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f4d13cc7a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f4d1559efa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f4d13cc8bac in QThreadPrivate::start (arg=0x5619bf1bf070) at thread/qthread_unix.cpp:329
#11 0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4d0ef5d700 (LWP 1367)):
#0  0x00007f4d1226b09d in g_source_ref () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4d1226b168 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4d1226caff in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4d1226d152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4d1226d2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4d13f08fbb in QEventDispatcherGlib::processEvents (this=0x7f4d08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f4d13ead1ab in QEventLoop::exec (this=this@entry=0x7f4d0ef5ccb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f4d13cc7a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f4d14830f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f4d13cc8bac in QThreadPrivate::start (arg=0x7f4d148b4d80) at thread/qthread_unix.cpp:329
#10 0x00007f4d12d2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f4d13948293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4d0fb9d3c0 (LWP 1339)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f4d1384b859 in __GI_abort () at abort.c:79
#6  0x00007f4d13c8dbe7 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffd6adf17f0, msg=msg@entry=0x7f4d11e890b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893
#8  0x00007f4d11dccd65 in QtWaylandClient::QWaylandDisplay::checkError (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlogging.h:90
#9  QtWaylandClient::QWaylandDisplay::checkError (this=<optimized out>) at qwaylanddisplay.cpp:204
#10 0x00007f4d11dde16c in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x5619beeffe20) at qwaylanddisplay.cpp:222
#11 0x00007f4d13ee56f0 in doActivate<false> (sender=0x5619bef2ddd0, signal_index=3, argv=0x7ffd6adf1900) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#12 0x00007f4d13edea87 in QMetaObject::activate (sender=sender@entry=0x5619bef2ddd0, m=m@entry=0x7f4d141481e0 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#13 0x00007f4d13eab224 in QAbstractEventDispatcher::aboutToBlock (this=this@entry=0x5619bef2ddd0) at .moc/moc_qabstracteventdispatcher.cpp:143
#14 0x00007f4d13f08f76 in QEventDispatcherGlib::processEvents (this=0x5619bef2ddd0, flags=...) at kernel/qeventdispatcher_glib.cpp:410
#15 0x00007f4d13ead1ab in QEventLoop::exec (this=this@entry=0x7ffd6adf1a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#16 0x00007f4d13eb5354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#17 0x00005619bd3acd6c in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:252
[Inferior 1 (process 1339) detached]

Possible duplicates by query: bug 429344, bug 429342, bug 429026, bug 428977, bug 428513.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-05 17:09:49 UTC
#7  QMessageLogger::fatal (this=this@entry=0x7ffd6adf17f0, msg=msg@entry=0x7f4d11e890b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893

Gross.
Comment 2 Nate Graham 2021-01-13 18:44:48 UTC
#6  QMessageLogger::fatal (this=this@entry=0x7fffd70c5ba0, msg=msg@entry=0x7ff994ac00b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893

This means that the compositor crashed. Due to a Qt issue, when this happens, the app using it will crash too. KDE developers submitted a fix, but sadly it was not merged. See https://codereview.qt-project.org/c/qt/qtwayland/+/308984.

Until we get better handling of this in Qt, the best we can do is debug why the compositor crashed in the first place. So can you please get a backtrace of the crash in kwin_wayland and then file a new bug report with it on kwin | wayland-generic? Thanks!

You may be able to use the `coredumpctl` utility to retrieve the backtrace. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl