<?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>434459</bug_id>
          
          <creation_ts>2021-03-15 19:28:55 +0000</creation_ts>
          <short_desc>Kwin crash when ALT+TAB after waking laptop from sleep</short_desc>
          <delta_ts>2021-03-15 23:43:17 +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.20.5</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>414823</dup_id>
          
          <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="rabin">rabin</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>2015581</commentid>
    <comment_count>0</comment_count>
    <who name="rabin">rabin</who>
    <bug_when>2021-03-15 19:28:55 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.10.19-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:

This happen a lot, 
- putting the laptop to sleep, 
- and then when I wake up the lapotp if I try to ALT+TAB to switch windows, kwin will crash.
- but it will respown and after that, everting works... (until the next sleep,resume cycle)

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fe37a493bfb in QXcbConnection::glIntegration() const () from /lib64/libQt5XcbQpa.so.5
#5  0x00007fe37a495a05 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () from /lib64/libQt5XcbQpa.so.5
#6  0x00007fe38e09d071 in QOpenGLContext::create() () from /lib64/libQt5Gui.so.5
#7  0x00007fe38c8483aa in QSGRenderThread::syncAndRender(QImage*) () from /lib64/libQt5Quick.so.5
#8  0x00007fe38c84b7cf in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#9  0x00007fe38da8bdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007fe38cf123f9 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe38d6c7b53 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe31ca6f640 (LWP 3445656) &quot;kwin_x11&quot;):
#1  0x00007fe38d3b6cec in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007fe38d3b6d1f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007fe38cf123f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe38d6c7b53 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe353fff640 (LWP 3445645) &quot;QQmlThread&quot;):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#4  0x00007fe38da8ab67 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007fe38c4d15ec in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007fe38da8bdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007fe38cf123f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe38d6c7b53 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe370ee4640 (LWP 3445631) &quot;QQmlThread&quot;):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#4  0x00007fe38da8ab67 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007fe38c4d15ec in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007fe38da8bdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007fe38cf123f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe38d6c7b53 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe3796c8640 (LWP 3445619) &quot;QDBusConnection&quot;):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#4  0x00007fe38da8ab67 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007fe38ed0b10b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#6  0x00007fe38da8bdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007fe38cf123f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe38d6c7b53 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe387ad60c0 (LWP 3445615) &quot;kwin_x11&quot;):
#1  0x00007fe38da919bb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007fe38c847426 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) () from /lib64/libQt5Quick.so.5
#3  0x00007fe38c84ca39 in QSGThreadedRenderLoop::exposureChanged(QQuickWindow*) () from /lib64/libQt5Quick.so.5
#4  0x00007fe38e06d7b5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#5  0x00007fe38e6bbec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fe38dc26bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#7  0x00007fe38e0637d5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib64/libQt5Gui.so.5
#8  0x00007fe38e0438cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Gui.so.5
#9  0x00007fe37a4b6867 in QXcbUnixEventDispatcher::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5XcbQpa.so.5
#10 0x00007fe38dc2557b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#11 0x00007fe38dc2d1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#12 0x000055a2131a0aff in main ()
[Inferior 1 (process 3445615) detached]

The reporter indicates this bug may be a duplicate of or related to bug 417796.

Possible duplicates by query: bug 432604, bug 422489, bug 422283, bug 417796, bug 416886.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015652</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-03-15 23:43:17 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 414823 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>