Bug 417796

Summary: Frequent kwin crash on resume from suspen
Product: [Plasma] kwin Reporter: charly ghislain <charlyghislain>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description charly ghislain 2020-02-17 17:21:52 UTC
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: "Arch Linux"

-- 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 "/usr/lib/libthread_db.so.1".
[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<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c7a3804cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2c7a3804cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#15 0x00007f2c739b7f76 in  () at /usr/lib/libQt5XcbQpa.so.5
#16 0x00007f2c7a3804cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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
Comment 1 Nate Graham 2021-03-15 23:43:29 UTC

*** This bug has been marked as a duplicate of bug 414823 ***