<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>430591</bug_id>
          
          <creation_ts>2020-12-19 17:38:32 +0000</creation_ts>
          <short_desc>Plasma crash on Wayland after install updates</short_desc>
          <delta_ts>2021-01-13 18:44:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>general</component>
          <version>5.20.4</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi, wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexandr">sasha01945</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1986851</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandr">sasha01945</who>
    <bug_when>2020-12-19 17:38:32 +0000</bug_when>
    <thetext>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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;synthetic pointer&gt;...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffd6adf17f0, msg=msg@entry=0x7f4d11e890b8 &quot;The Wayland connection broke. Did the Wayland compositor die?&quot;) at global/qlogging.cpp:893
#8  0x00007f4d11dccd65 in QtWaylandClient::QWaylandDisplay::checkError (this=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlogging.h:90
#9  QtWaylandClient::QWaylandDisplay::checkError (this=&lt;optimized out&gt;) at qwaylanddisplay.cpp:204
#10 0x00007f4d11dde16c in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x5619beeffe20) at qwaylanddisplay.cpp:222
#11 0x00007f4d13ee56f0 in doActivate&lt;false&gt; (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 &lt;QAbstractEventDispatcher::staticMetaObject&gt;, 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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991282</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-01-05 17:09:49 +0000</bug_when>
    <thetext>#7  QMessageLogger::fatal (this=this@entry=0x7ffd6adf17f0, msg=msg@entry=0x7f4d11e890b8 &quot;The Wayland connection broke. Did the Wayland compositor die?&quot;) at global/qlogging.cpp:893

Gross.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993973</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-01-13 18:44:48 +0000</bug_when>
    <thetext>#6  QMessageLogger::fatal (this=this@entry=0x7fffd70c5ba0, msg=msg@entry=0x7ff994ac00b8 &quot;The Wayland connection broke. Did the Wayland compositor die?&quot;) 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>