Bug 412642 - kwin closed unexpectedly
Summary: kwin closed unexpectedly
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-10-05 18:36 UTC by Franco Diaz
Modified: 2021-02-02 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Diaz 2019-10-05 18:36:42 UTC
Application: kwin_x11 (5.16.4)

Qt Version: 5.12.2
Frameworks Version: 5.61.0
Operating System: Linux 5.0.0-29-generic x86_64
Distribution: Ubuntu 19.04

-- Information about the crash:
- What I was doing when the application crashed:
I was moving between my four virtual desktops too many times to exchange applications, until kwin reported a serious bug and the entire desktop get restarted.

The crash can be reproduced sometimes.

-- Backtrace:
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 0x7f31a2450880 (LWP 1443))]

Thread 8 (Thread 0x7f31993ac700 (LWP 26421)):
#0  0x00007f31a7e9d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b42c326ae0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f31a7e9d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x55b42c326a90, cond=0x55b42c326ab8) at pthread_cond_wait.c:502
#2  0x00007f31a7e9d3bb in __pthread_cond_wait (cond=0x55b42c326ab8, mutex=0x55b42c326a90) at pthread_cond_wait.c:655
#3  0x00007f31a8cfc733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f31a8cfc819 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f31a79da5d9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f31a79da83a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f31a8cf6612 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f319adee700 (LWP 22121)):
#0  0x00007f31a7e9d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b42c0ec814) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f31a7e9d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x55b42c0ec7c0, cond=0x55b42c0ec7e8) at pthread_cond_wait.c:502
#2  0x00007f31a7e9d3bb in __pthread_cond_wait (cond=0x55b42c0ec7e8, mutex=0x55b42c0ec7c0) at pthread_cond_wait.c:655
#3  0x00007f31a8cfc733 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f31a8cfc819 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f31a79da5d9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f31a79da83a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f31a8cf6612 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f31899ba700 (LWP 16235)):
#0  0x00007f31aa390826 in __GI_ppoll (fds=0x7f3178003058, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f31a8efb041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f31a8efc4b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f31a8eaa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f31a8cf52c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f31a7653ef5 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f31a8cf6612 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f31891b9700 (LWP 1624)):
#0  0x00007f31a7e9d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f31a888cfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f31a7e9d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f31a888cf68, cond=0x7f31a888cf90) at pthread_cond_wait.c:502
#2  0x00007f31a7e9d3bb in __pthread_cond_wait (cond=0x7f31a888cf90, mutex=0x7f31a888cf68) at pthread_cond_wait.c:655
#3  0x00007f31a8796eca in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f31a8796ee9 in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f318b56c700 (LWP 1602)):
#0  0x00007f31a7e9d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b42b857628) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f31a7e9d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x55b42b8575d8, cond=0x55b42b857600) at pthread_cond_wait.c:502
#2  0x00007f31a7e9d3bb in __pthread_cond_wait (cond=0x55b42b857600, mutex=0x55b42b8575d8) at pthread_cond_wait.c:655
#3  0x00007f318b7bd36b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f318b7bd0d7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f319a5ed700 (LWP 1593)):
#0  0x00007f31aa390826 in __GI_ppoll (fds=0x7f3190000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f31a8efb041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f31a8efc4b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f31a8eaa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f31a8cf52c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f31a7653ef5 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f31a8cf6612 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f319bfff700 (LWP 1493)):
#0  0x00007f31aa390826 in __GI_ppoll (fds=0x7f319400e988, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f31a8efb041 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f31a8efc4b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f31a8eaa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f31a8cf52c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f31a70af565 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f31a8cf6612 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f31a7e97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f31aa39cb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f31a2450880 (LWP 1443)):
[KCrash Handler]
#6  0x00007f31aa0142df in KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) () at /lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f31aa0ebc6b in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f31a893d925 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#9  0x00007f31aa0ede4f in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007f31a060d4ac in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#11 0x00007f31aa07c9f9 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f31a8ea944f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f31a1aee580 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007f31a1aef50d in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#15 0x00007f31a1b19a1c in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f31a8eaa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f31a8eb25e2 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f31aa473df8 in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#19 0x00007f31aa2a5b6b in __libc_start_main (main=0x55b42a6c4050, argc=3, argv=0x7ffd7530d338, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd7530d328) at ../csu/libc-start.c:308
#20 0x000055b42a6c408a in _start ()
[Inferior 1 (process 1443) detached]

Reported using DrKonqi
Comment 1 Mathieu Jobin 2021-01-03 07:26:28 UTC
what window decoration were you using?
what plasma applets do you have loaded?

what graphic drivers are you using?

I am seeing QtQuick in the stacktrace, likely something custom caused the crash.

please reopen with more details.
and plasma 5.19+
Comment 2 Bug Janitor Service 2021-01-18 04:33:18 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 2021-02-02 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!