Bug 474368 - Sometimes, on system wake-up, the entire desktop is messed up and the windows are blinking between the two screens
Summary: Sometimes, on system wake-up, the entire desktop is messed up and the windows...
Status: RESOLVED DUPLICATE of bug 414805
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.7
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, multiscreen
Depends on:
Blocks:
 
Reported: 2023-09-10 15:18 UTC by Filip Cvejić
Modified: 2024-07-15 13:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Cvejić 2023-09-10 15:18:47 UTC
Application: elisa (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.2.0-10018-tuxedo x86_64
Windowing System: X11
Distribution: TUXEDO OS 2
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
I have two screens connected to my Zephyrus G14 (2020) running Tuxedo OS 2. Sometimes, on system wake-up, the entire desktop is messed up and the windows are blinking between the two screens. I fix this by disconnecting one of the screens and reconnecting it. Elisa crashed during this process (possibly before disconnecting the screen).

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Elisa (elisa), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff03f56c4e8 in QScreen::handle() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007ff03ad62d24 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#6  0x00007ff03f58fe51 in QOpenGLContext::create() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007ff03fe1a328 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007ff03fe1c18c in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007ff03fe1cec7 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7ff0137fe640 (LWP 29082) "elisa"):
#1  __pselect (nfds=5, readfds=0x7ff0137f5b40, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007ff03892803d in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007ff038928d88 in ?? () from /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7ff013fff640 (LWP 29081) "threaded-ml"):
#1  0x00007ff02944721d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ff0294305a1 in pa_mainloop_poll () from /lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ff02943b0bb in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ff02943b170 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ff02944b37d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007ff023ec6cb3 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#7  0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7ff018ff9640 (LWP 29080) "QThread"):
#1  0x00007ff03e0e56dd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007ff03eb15c05 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff03eb144ad in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eb14a69 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03eb1671e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03d2518e7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff03d2a7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7ff0197fa640 (LWP 29079) "QThread"):
#1  0x00007ff03e0e56dd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007ff03eb15c05 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff03eb144ad in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eb14a69 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03eb1671e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03d2518e7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff03d2a7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7ff019ffb640 (LWP 29078) "QThread"):
#1  __GI___libc_read (fd=39, buf=0x7ff019ffaa90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff03d252134 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff03d2a719d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7ff01a7fc640 (LWP 29077) "QThread"):
#1  0x00007ff03e0e56dd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007ff03eb15c05 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff03eb144ad in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eb14a69 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03eb1671e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03d2518e7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff03d2a7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7ff023211640 (LWP 29072) "QQuickPixmapRea"):
#1  0x00007ff03e0e56dd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007ff03eb15c05 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff03eb144ad in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eb14a69 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03eb1671e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03d2518e7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff03d2a7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff03fd612fa in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7ff030bba640 (LWP 29071) "QQmlThread"):
#1  0x00007ff03e0e56dd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007ff03eb15c05 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff03eb144ad in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eb14a69 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03eb1671e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03d2518e7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff03d2a7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff03f1335d9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ff03a522640 (LWP 29068) "QDBusConnection"):
#1  0x00007ff03d2a71f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff03eb163ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff03e8cd962 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03e3860eb in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff03e8cebd3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff03e094b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007ff03e126a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ff03ad718c0 (LWP 29066) "elisa"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x56541aa6db50) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56541aa6db50, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007ff03e093ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56541aa6db00, cond=0x56541aa6db28) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56541aa6db28, mutex=0x56541aa6db00) at ./nptl/pthread_cond_wait.c:627
#5  0x00007ff03e8d4c0b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff03fe1e84a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ff03fe8fc1f in QQuickWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007ff04036c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ff03eabce4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff03f531e74 in QPlatformWindow::windowEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007ff04037398a in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ff03eabce4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ff03eb1566b in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ff03eb15f6c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff03d251d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ff03d2a7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ff03d24f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ff03eb16338 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ff03eabb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ff03eac3d14 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x0000565417a033cd in ?? ()
#22 0x00007ff03e029d90 in __libc_start_call_main (main=main@entry=0x565417a02b70, argc=argc@entry=1, argv=argv@entry=0x7ffefd7fc6f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#23 0x00007ff03e029e40 in __libc_start_main_impl (main=0x565417a02b70, argc=1, argv=0x7ffefd7fc6f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffefd7fc6e8) at ../csu/libc-start.c:392
#24 0x0000565417a03585 in ?? ()
[Inferior 1 (process 29066) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-09-11 21:01:45 UTC
> Sometimes, on system wake-up, the entire desktop is messed up and the windows are blinking between the two screens
This seems to be the root cause of the issue, and I suspect the fact that Elisa crashes is a symptom. Elisa doesn't have any screen-specific code in it that I would be inclined to blame.
Comment 2 David Edmundson 2024-07-15 13:03:33 UTC

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