<?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>417796</bug_id>
          
          <creation_ts>2020-02-17 17:21:52 +0000</creation_ts>
          <short_desc>Frequent kwin crash on resume from suspen</short_desc>
          <delta_ts>2021-03-15 23:43:29 +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.0</version>
          <rep_platform>Arch Linux</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="charly ghislain">charlyghislain</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>1910909</commentid>
    <comment_count>0</comment_count>
    <who name="charly ghislain">charlyghislain</who>
    <bug_when>2020-02-17 17:21:52 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.18.0)

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.3-arch1-1 x86_64
Windowing system: X11
Distribution: &quot;Arch Linux&quot;

-- Information about the crash:
This happens very frquently, if not always.
I have my laptop running on the nvidia chipset (optimus manager applet) to be able to connect an external monitor.
I quit work by unplugging the external display then closingthe lid to put the laptop to sleep.
At home I open the lid, and the first actions triggers a crash. In this case, i clicked on a window to focus it.
I just  clicked on the systray applet  expander to get the name of the optimus applet I was using , and then plasma crashed as well.

The crash can be reproduced every time.

-- 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 0x7f2c73ddd0c0 (LWP 2243779))]

Thread 5 (Thread 0x7f2c5ac64700 (LWP 2955279)):
#0  0x00007f2c79371cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2c7a1abcb4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2c7a1abd92 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c78e1c56b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f2c78e1c7fb in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f2c7a1a5fc6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f2c7936b46f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f2c7ba4b3d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f2c71714700 (LWP 2246048)):
[KCrash Handler]
#6  0x00007f2c7398fbbc in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib/libQt5XcbQpa.so.5
#7  0x00007f2c7a78935e in QOpenGLContext::create() () at /usr/lib/libQt5Gui.so.5
#8  0x00007f2c78e164cc in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007f2c78e183a4 in  () at /usr/lib/libQt5Quick.so.5
#10 0x00007f2c78e1c7b7 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007f2c7a1a5fc6 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f2c7936b46f in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007f2c7ba4b3d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2c70cff700 (LWP 2243867)):
#0  0x00007f2c7ba40bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f2c7a3d5f73 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2c7a3d763d in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c7a3804cc in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2c7a1a4e52 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f2c78ab4f89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f2c7a1a5fc6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f2c7936b46f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f2c7ba4b3d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2c7297d700 (LWP 2243818)):
#0  0x00007f2c7ba40bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f2c7a3d5f73 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2c7a3d763d in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c7a3804cc in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2c7a1a4e52 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f2c7b47ab28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f2c7a1a5fc6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f2c7936b46f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f2c7ba4b3d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2c73ddd0c0 (LWP 2243779)):
#0  0x00007f2c79371cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2c7a1abcb4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2c7a1abd92 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c78e1a8e7 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f2c78e1b82b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f2c78e1c25b in  () at /usr/lib/libQt5Quick.so.5
#6  0x00007f2c7a7539dd in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#7  0x00007f2c78e83183 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#8  0x00007f2c6384f7b4 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
#9  0x00007f2c7ae1b362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f2c7ae24819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f2c7a381962 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f2c7a7499c2 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
#13 0x00007f2c7a749c00 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#14 0x00007f2c7a722c2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Gui.so.5
#15 0x00007f2c739b7f76 in  () at /usr/lib/libQt5XcbQpa.so.5
#16 0x00007f2c7a3804cc in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#17 0x00007f2c7a3884d6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#18 0x00007f2c7bb1a379 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#19 0x00007f2c7b973023 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x0000556df5d0505e in _start ()
[Inferior 1 (process 2243779) detached]

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

Possible duplicates by query: bug 416886, bug 415485, bug 414805, bug 414555, bug 411216.

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

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

    </bug>

</bugzilla>