https://bugs.kde.org/show_bug.cgi?id=434459

            Bug ID: 434459
           Summary: Kwin crash when ALT+TAB after waking laptop from sleep
           Product: kwin
           Version: 5.20.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ra...@rabin.io
  Target Milestone: ---

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) "kwin_x11"):
#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) "QQmlThread"):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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) "QQmlThread"):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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) "QDBusConnection"):
#1  0x00007fe38dc6f9c9 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /lib64/libQt5Core.so.5
#2  0x00007fe38dc70d43 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#3  0x00007fe38dc2557b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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) "kwin_x11"):
#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<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#9  0x00007fe37a4b6867 in
QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5XcbQpa.so.5
#10 0x00007fe38dc2557b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to