<?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>420269</bug_id>
          
          <creation_ts>2020-04-18 19:26:43 +0000</creation_ts>
          <short_desc>Random crash after launching a steam game (SteamPlay - Proton)</short_desc>
          <delta_ts>2021-11-09 12:31:52 +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.18.4</version>
          <rep_platform>Arch Linux</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>kde</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>aldk1703</cc>
    
    <cc>kde.org</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>1923456</commentid>
    <comment_count>0</comment_count>
    <who name="">kde</who>
    <bug_when>2020-04-18 19:26:43 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.18.4)

Qt Version: 5.14.2
Frameworks Version: 5.69.0
Operating System: Linux 5.6.4-arch1-1 x86_64
Windowing system: X11
Distribution: &quot;Arch Linux&quot;

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

I launched the game (DmC Devil May Cry, a DX9 game running with Valve Proton (and VK3D/DXVK idk)), alt-tabbed back out, replied to someone on Discord, tried to switch back and, after multiple tried back and forth, kwin_x11 crashed. I noticed the cursor being inverted while the game was supposed to be on foreground, however this could be caused by the game itself

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library &quot;/usr/lib/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7faf6f3c8840 (LWP 561))]

Thread 10 (Thread 0x7faeb2ac1700 (LWP 3046)):
#0  0x00007faf7704cbb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007faf759db7eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf759dcead in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757aac62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007faf740bc389 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7faec162e700 (LWP 3034)):
#0  0x00007faf7497901a in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007faf757b1a48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf757b1b69 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf757af1dd in  () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7faec214c700 (LWP 3033)):
#0  0x00007faf7497901a in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007faf757b1a48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf757b1b69 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf757af1dd in  () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7faebb030700 (LWP 3021)):
#0  0x00007faf7704cbb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007faf759db7eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf759dcead in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757aac62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7faf65203700 (LWP 1534)):
#0  0x00007faf74978cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007faf757b1ac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf757b1ba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf744215cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007faf7442185b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7faf67fff700 (LWP 926)):
#0  0x00007faf7704cbb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007faf759db7eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf759dcead in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757aac62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007faf740bc389 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7faf667bd700 (LWP 770)):
#0  0x00007faf74978cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007faf752a8c4c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007faf752a8c69 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7faf677fe700 (LWP 722)):
#0  0x00007faf7704cbb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007faf759db7eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf759dcead in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757aac62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007faf740bc389 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7faf6d887700 (LWP 646)):
#0  0x00007faf7704cbb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007faf759db7eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007faf759dcead in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007faf757aac62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007faf76a83b28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007faf757abdd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007faf7497246f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007faf770573d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7faf6f3c8840 (LWP 561)):
[KCrash Handler]
#6  0x00005607b7c6c710 in  ()
#7  0x00007faf76d4c482 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#8  0x00007faf75984a37 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&amp;, void*, long*) () at /usr/lib/libQt5Core.so.5
#9  0x00007faf6ef2faa3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#10 0x00007faf6ef30829 in QXcbConnection::processXcbEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5XcbQpa.so.5
#11 0x00007faf6ef5a1ee in  () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007faf7598605c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#13 0x00007faf7598e066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#14 0x00007faf77126379 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#15 0x00007faf76f7f023 in __libc_start_main () at /usr/lib/libc.so.6
#16 0x00005607b5c6105e in _start ()
[Inferior 1 (process 561) detached]

Possible duplicates by query: bug 419615, bug 419085, bug 418932, bug 418783, bug 418214.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074892</commentid>
    <comment_count>1</comment_count>
    <who name="">kde.org</who>
    <bug_when>2021-11-04 20:35:59 +0000</bug_when>
    <thetext>his bug report is quite old. Can you still reproduce this issue with KDE 5.23? If so, can you please install debugging packages following the info provided in  https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports, try to reproduce the bug and resubmit a backtrace with debugging information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2076270</commentid>
    <comment_count>2</comment_count>
    <who name="">kde</who>
    <bug_when>2021-11-09 12:31:52 +0000</bug_when>
    <thetext>Feel free to close this 
(In reply to kde.org from comment #1)
&gt; his bug report is quite old. Can you still reproduce this issue with KDE
&gt; 5.23? If so, can you please install debugging packages following the info
&gt; provided in 
&gt; https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
&gt; How_to_create_useful_crash_reports, try to reproduce the bug and resubmit a
&gt; backtrace with debugging information.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>