<?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>446606</bug_id>
          
          <creation_ts>2021-12-07 04:59:42 +0000</creation_ts>
          <short_desc>uninstalling software I don&apos;t use causes kwin to crash in KWin::EffectQuickView::update()</short_desc>
          <delta_ts>2022-01-19 20:18:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>5.23.4</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sharon Norman">smnorma</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</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>2083418</commentid>
    <comment_count>0</comment_count>
    <who name="Sharon Norman">smnorma</who>
    <bug_when>2021-12-07 04:59:42 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.23.4)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.88.0
Operating System: Linux 5.11.0-41-generic x86_64
Windowing System: X11
Distribution: Windowsfx 11
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was uninstalling kodi and another program I installed called muon manager. Sad face appeared and said kwin crashed report bug error.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[New LWP 34661]
[New LWP 34662]
[New LWP 34663]
[New LWP 34664]
[New LWP 34665]
[New LWP 34666]
[New LWP 34673]
[New LWP 34877]
[New LWP 46080]
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
0x00007fc97689caff in __GI___poll (fds=0x7ffefd2a0378, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fc970b5c080 (LWP 34655))]

Thread 10 (Thread 0x7fc94adee700 (LWP 46080)):
#0  0x00007fc97689cbf6 in __ppoll (fds=fds@entry=0x7fc91c0115d8, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fc9776d6519 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc91c0115d8) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc91c0115d8) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fc91c0115d8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fc9776d7bc3 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fc97767e8ab in QEventLoop::exec (this=this@entry=0x7fc94adedbc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fc9774982c2 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fc975542549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fc97749945c in QThreadPrivate::start (arg=0x564f1aa8a900) at thread/qthread_unix.cpp:329
#10 0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#11 0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fc960845700 (LWP 34877)):
#0  0x00007fc97689cbf6 in __ppoll (fds=fds@entry=0x7fc930000d78, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fc9776d6519 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc930000d78) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc930000d78) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fc930000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fc9776d7bc3 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fc97767e8ab in QEventLoop::exec (this=this@entry=0x7fc960844bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fc9774982c2 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fc975542549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fc97749945c in QThreadPrivate::start (arg=0x564f1a4369d0) at thread/qthread_unix.cpp:329
#10 0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#11 0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fc94a475700 (LWP 34673)):
#0  0x00007fc97689cbf6 in __ppoll (fds=fds@entry=0x7fc93c000d78, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fc9776d6519 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc93c000d78) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc93c000d78) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fc93c000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fc9776d7bc3 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fc97767e8ab in QEventLoop::exec (this=this@entry=0x7fc94a474bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fc9774982c2 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fc975542549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fc97749945c in QThreadPrivate::start (arg=0x564f194aaa70) at thread/qthread_unix.cpp:329
#10 0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#11 0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fc961046700 (LWP 34666)):
#0  0x00007fc97689cbf6 in __ppoll (fds=fds@entry=0x7fc94400b118, nfds=nfds@entry=1, timeout=&lt;optimized out&gt;, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fc9776d6519 in ppoll (__ss=&lt;optimized out&gt;, __timeout=&lt;optimized out&gt;, __nfds=&lt;optimized out&gt;, __fds=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc94400b118) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc94400b118) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fc94400b118, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fc9776d7bc3 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fc97767e8ab in QEventLoop::exec (this=this@entry=0x7fc961045bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fc9774982c2 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fc977345f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fc97749945c in QThreadPrivate::start (arg=0x7fc9773c9d80) at thread/qthread_unix.cpp:329
#10 0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#11 0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fc961847700 (LWP 34665)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x564f19079ca8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564f19079c58, cond=0x564f19079c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564f19079c80, mutex=0x564f19079c58) at pthread_cond_wait.c:638
#3  0x00007fc96db46e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fc96db46a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#6  0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc962048700 (LWP 34664)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x564f19079ca8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564f19079c58, cond=0x564f19079c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564f19079c80, mutex=0x564f19079c58) at pthread_cond_wait.c:638
#3  0x00007fc96db46e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fc96db46a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#6  0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc962849700 (LWP 34663)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x564f19079ca8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564f19079c58, cond=0x564f19079c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564f19079c80, mutex=0x564f19079c58) at pthread_cond_wait.c:638
#3  0x00007fc96db46e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fc96db46a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#6  0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc96cf8e700 (LWP 34662)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x564f19079ca8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564f19079c58, cond=0x564f19079c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564f19079c80, mutex=0x564f19079c58) at pthread_cond_wait.c:638
#3  0x00007fc96db46e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fc96db46a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#6  0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc96d8e4700 (LWP 34661)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x564f19079444) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564f190793f0, cond=0x564f19079418) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564f19079418, mutex=0x564f190793f0) at pthread_cond_wait.c:638
#3  0x00007fc96db46e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fc96db46a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fc974f01609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#6  0x00007fc9768a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc970b5c080 (LWP 34655)):
[KCrash Handler]
#4  0x00007fc975872a62 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fc97586eb14 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&amp;, QSGMaterial*, QSGMaterial*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fc9758521b9 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fc975857b7d in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fc97585826a in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fc97583be24 in QSGRenderer::renderScene(QSGBindable const&amp;) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fc97583c2db in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fc9758ab087 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fc975918a39 in QQuickWindowPrivate::renderSceneGraph(QSize const&amp;, QSize const&amp;) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fc9759a2bfd in QQuickRenderControl::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fc97665d623 in KWin::EffectQuickView::update() () from /lib/x86_64-linux-gnu/libkwineffects.so.13
#15 0x00007fc9776b6dce in QtPrivate::QSlotObjectBase::call (a=0x7ffefd2a1f80, r=0x564f1acfce50, this=0x564f19fd6100) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate&lt;false&gt; (sender=0x564f1adeabc0, signal_index=3, argv=0x7ffefd2a1f80) at kernel/qobject.cpp:3886
#17 0x00007fc9776b0197 in QMetaObject::activate (sender=&lt;optimized out&gt;, m=m@entry=0x7fc97791bc80 &lt;QTimer::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffefd2a1f80) at kernel/qobject.cpp:3946
#18 0x00007fc9776bb90e in QTimer::timeout (this=&lt;optimized out&gt;, _t1=...) at .moc/moc_qtimer.cpp:205
#19 0x00007fc9776ad865 in QObject::event (this=0x564f1adeabc0, e=0x7ffefd2a22b0) at kernel/qobject.cpp:1336
#20 0x00007fc976cd1dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x564f18ee14a0, receiver=receiver@entry=0x564f1adeabc0, e=e@entry=0x7ffefd2a22b0) at kernel/qapplication.cpp:3632
#21 0x00007fc976cdabb8 in QApplication::notify (this=0x7ffefd2a2540, receiver=0x564f1adeabc0, e=0x7ffefd2a22b0) at kernel/qapplication.cpp:3156
#22 0x00007fc97767fdaa in QCoreApplication::notifyInternal2 (receiver=0x564f1adeabc0, event=0x7ffefd2a22b0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#23 0x00007fc9776d9950 in QTimerInfoList::activateTimers (this=this@entry=0x564f18f996d8) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007fc9776d7020 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x564f18f99650) at kernel/qeventdispatcher_unix.cpp:249
#25 0x00007fc9776d7d17 in QEventDispatcherUNIX::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#26 0x00007fc9704a2262 in QXcbUnixEventDispatcher::processEvents (this=0x564f18fa36e0, flags=...) at qxcbeventdispatcher.cpp:60
#27 0x00007fc97767e8ab in QEventLoop::exec (this=this@entry=0x7ffefd2a2450, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#28 0x00007fc977686a64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x0000564f17e50ae3 in ?? ()
#30 0x00007fc9767ae0b3 in __libc_start_main (main=0x564f17e506e0, argc=3, argv=0x7ffefd2a26f8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffefd2a26e8) at ../csu/libc-start.c:308
#31 0x0000564f17e5101e in ?? ()
[Inferior 1 (process 34655) detached]

Possible duplicates by query: bug 445980, bug 445677, bug 444429, bug 444381, bug 444306.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083650</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-12-07 21:05:07 +0000</bug_when>
    <thetext>Weird, not sure how that could have caused it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095540</commentid>
    <comment_count>2</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-01-19 20:18:16 +0000</bug_when>
    <thetext>It&apos;s a crash caused by EffectQuickView not properly cleaning up scene graph nodes, it&apos;s similar to bug 444381. This should be fixed in 5.23.5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>