Bug 411632 - Kwin crashing on switching virtual desktop.
Summary: Kwin crashing on switching virtual desktop.
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 05:01 UTC by d0020002
Modified: 2019-10-06 04:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description d0020002 2019-09-06 05:01:45 UTC
SUMMARY
Kwin Crashes Sometime when switching between virtual Desktop

STEPS TO REPRODUCE
1. Set one of the Screen edge to switch virtual desktop
2. Switch between Virtual Desktop
3. Some it crashes the kwin.

OBSERVED RESULT
kwin Crashed and opened window on virtual desktop merge into one but virtual desktop remain.

I have already clean install two times.

EXPECTED RESULT
NO crash ig

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

Kernel Version : 5.0.0-27-generic

Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f383bc60880 (LWP 1235))]

Thread 10 (Thread 0x7f3789fa5700 (LWP 2139)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f383402bb14) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f383402bac0, cond=0x7f383402bae8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f383402bae8, mutex=0x7f383402bac0) at pthread_cond_wait.c:655
#3  0x00007f38424f6733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424f6819 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f38411dd5d9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f38411dd83a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f378c397700 (LWP 2138)):
#0  0x00007f3843b7f826 in __GI_ppoll (fds=0x7f3784000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f38426f5041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f38426f64b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f38426a45bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424ef2c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3840e56ef5 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f3838d13700 (LWP 1633)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558e5c1f98e4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x558e5c1f9890, cond=0x558e5c1f98b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x558e5c1f98b8, mutex=0x558e5c1f9890) at pthread_cond_wait.c:655
#3  0x00007f38424f6733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424f6819 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f38411dd5d9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f38411dd83a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f3828898700 (LWP 1632)):
#0  0x00007f3843b7f826 in __GI_ppoll (fds=0x7f3814001b28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f38426f5041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f38426f64b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f38426a45bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424ef2c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3840e56ef5 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f382afbe700 (LWP 1549)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558e5be8acd0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x558e5be8ac80, cond=0x558e5be8aca8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x558e5be8aca8, mutex=0x558e5be8ac80) at pthread_cond_wait.c:655
#3  0x00007f38424f6733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424f6819 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f38411dd5d9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f38411dd83a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f381af3a700 (LWP 1406)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f384208efb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f384208ef68, cond=0x7f384208ef90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f384208ef90, mutex=0x7f384208ef68) at pthread_cond_wait.c:655
#3  0x00007f3841f98eca in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f3841f98ee9 in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f38293d5700 (LWP 1404)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558e5b8e0fd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x558e5b8e0f88, cond=0x558e5b8e0fb0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x558e5b8e0fb0, mutex=0x558e5b8e0f88) at pthread_cond_wait.c:655
#3  0x00007f382997036b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f38299700d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f382bfff700 (LWP 1368)):
#0  0x00007f3843b7f826 in __GI_ppoll (fds=0x7f3824000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f38426f5041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f38426f64b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f38426a45bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38424ef2c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3840e56ef5 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f383a18d700 (LWP 1308)):
#0  0x00007f38426f8058 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f38426f660c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f38426a45bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f38424ef2c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f38408b8565 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#5  0x00007f38424f0612 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f384169a182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f3843b8bb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f383bc60880 (LWP 1235)):
[KCrash Handler]
#6  0x00007f38438021f5 in KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) () from /lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f38438db7bb in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f384213e3b1 in ?? () from /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#9  0x00007f38438dd8ef in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007f383996a4ec in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#11 0x00007f384386a109 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f38426a344f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f383b587580 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007f383b58850d in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#15 0x00007f383b5b2a1c in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f38426a45bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f38426ac5e2 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f3843c62d8b in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#19 0x00007f3843a94b6b in __libc_start_main (main=0x558e5a74a050, argc=3, argv=0x7ffc0f702128, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc0f702118) at ../csu/libc-start.c:308
#20 0x0000558e5a74a08a in _start ()
[Inferior 1 (process 1235) detached]
Comment 1 Vlad Zahorodnii 2019-09-06 08:12:59 UTC
Unfortunately the backtrace lacks debug symbols. Please install relevant kwin debug packages and submit a new backtrace.
Comment 2 Bug Janitor Service 2019-09-21 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2019-10-06 04:33:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!