Bug 434865 - KWin Randomly Crashes
Summary: KWin Randomly Crashes
Status: RESOLVED DUPLICATE of bug 423319
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-24 05:05 UTC by Samarth Hawaldar
Modified: 2021-03-26 08:40 UTC (History)
0 users

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 Samarth Hawaldar 2021-03-24 05:05:47 UTC
Application: kwin_x11 (5.18.5)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-67-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.2 LTS

-- Information about the crash:
- Unusual behavior I noticed:
Just before the crash, the system started to become unresponsive. The crash happened just after starting ungoogled chromium and then going to a website (website was starting to load. No previous issues with accessing the same)

- Custom settings of the application:
Was using 4 Virtual Desktops (? if that is what they are called) with some load on each. ~ 1 Firefox instance on each with a total of ~8 tabs over all Desktops

-- 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 0x7f0ebb318800 (LWP 1770))]

Thread 13 (Thread 0x7f0e91858700 (LWP 64085)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea2ca87b4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea2ca8760, cond=0x55dea2ca8788) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea2ca8788, mutex=0x55dea2ca8760) at pthread_cond_wait.c:638
#3  0x00007f0ec08b8b0f in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55dea2ca8760) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55dea2f3a4d0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f0ec08b8c01 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x55dea2f3a4d8, mutex=0x55dea2f3a4d0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f0ebf954109 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f0ebf9543ad in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea2f3a450) at thread/qthread_unix.cpp:361
#9  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f0e99858700 (LWP 53148)):
#0  0x00007f0ec20d2bf6 in __ppoll (fds=fds@entry=0x7f0e7c087328, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f0ec0ace4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0e7c087328) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0e7c087328) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f0e7c087328, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f0ec0acfa14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f0ec0a794db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0e99857d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f0ec08b1785 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f0ebf5e31a9 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea22c7b00) at thread/qthread_unix.cpp:361
#10 0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f0dfa998700 (LWP 36702)):
#0  0x00007f0ec0ad1509 in QTimerInfoList::activateTimers() (this=this@entry=0x7f0df4067dc0) at kernel/qtimerinfo_unix.cpp:570
#1  0x00007f0ec0acef10 in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x7f0df4067d20) at kernel/qeventdispatcher_unix.cpp:249
#2  0x00007f0ec0acfb6f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#3  0x00007f0ec0a794db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0dfa997da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#4  0x00007f0ec08b1785 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#5  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea257ed80) at thread/qthread_unix.cpp:361
#6  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f0eb299c700 (LWP 20376)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea2c58fa0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea2c58f50, cond=0x55dea2c58f78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea2c58f78, mutex=0x55dea2c58f50) at pthread_cond_wait.c:638
#3  0x00007f0ec08b8b0f in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55dea2c58f50) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55dea28cb310, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f0ec08b8c01 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x55dea28cb318, mutex=0x55dea28cb310, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f0ebf954109 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f0ebf9543ad in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea28cb290) at thread/qthread_unix.cpp:361
#9  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f0eb3fff700 (LWP 5488)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea265f820) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea265f7d0, cond=0x55dea265f7f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea265f7f8, mutex=0x55dea265f7d0) at pthread_cond_wait.c:638
#3  0x00007f0ec08b8b0f in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55dea265f7d0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55dea265f3b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f0ec08b8c01 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x55dea265f3b8, mutex=0x55dea265f3b0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f0ebf954109 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f0ebf9543ad in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea265f330) at thread/qthread_unix.cpp:361
#9  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f0e937ff700 (LWP 1993)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f0ec04bbfb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f0ec04bbf68, cond=0x7f0ec04bbf90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f0ec04bbf90, mutex=0x7f0ec04bbf68) at pthread_cond_wait.c:638
#3  0x00007f0ec03be5fa in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f0ec03be61f in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f0e9a059700 (LWP 1946)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea19b3d58) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea19b3d08, cond=0x55dea19b3d30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea19b3d30, mutex=0x55dea19b3d08) at pthread_cond_wait.c:638
#3  0x00007f0eb0bf1b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0eb0bf175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f0e92059700 (LWP 1945)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea19b3d58) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea19b3d08, cond=0x55dea19b3d30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea19b3d30, mutex=0x55dea19b3d08) at pthread_cond_wait.c:638
#3  0x00007f0eb0bf1b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0eb0bf175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f0e9a85a700 (LWP 1944)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea19b3d58) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea19b3d08, cond=0x55dea19b3d30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea19b3d30, mutex=0x55dea19b3d08) at pthread_cond_wait.c:638
#3  0x00007f0eb0bf1b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0eb0bf175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0e9b05b700 (LWP 1943)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dea19b3d58) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dea19b3d08, cond=0x55dea19b3d30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55dea19b3d30, mutex=0x55dea19b3d08) at pthread_cond_wait.c:638
#3  0x00007f0eb0bf1b5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0eb0bf175b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0eb37fe700 (LWP 1932)):
#0  0x00007f0ec20d2bf6 in __ppoll (fds=fds@entry=0x7f0ea0000d68, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f0ec0ace4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0ea0000d68) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0ea0000d68) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f0ea0000d68, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f0ec0acfa14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f0ec0a794db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0eb37fdd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f0ec08b1785 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f0ebf5e31a9 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x55dea19c41c0) at thread/qthread_unix.cpp:361
#10 0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0eb9c17700 (LWP 1824)):
#0  0x00007f0ec20d2bf6 in __ppoll (fds=fds@entry=0x7f0eac00b648, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f0ec0ace4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0eac00b648) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f0eac00b648) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f0eac00b648, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f0ec0acfa14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f0ec0a794db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0eb9c16d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f0ec08b1785 in QThread::exec() (this=this@entry=0x7f0ec1b66d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f0ec1ae3efa in QDBusConnectionManager::run() (this=0x7f0ec1b66d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f0ec08b29d2 in QThreadPrivate::start(void*) (arg=0x7f0ec1b66d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#10 0x00007f0ebfe70609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f0ec20df293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0ebb318800 (LWP 1770)):
[KCrash Handler]
#5  0x00007f0ec1db457e in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libkwin.so.5
#6  0x00007f0ec0a77d8f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7f0eb407b140, result=0x7fffa4d8e428) at kernel/qabstracteventdispatcher.cpp:484
#7  0x00007f0ebac337b5 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f0ebac3478a in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007f0ebac5f6f0 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#10 0x00007f0ec0a794db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffa4d8e5b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#11 0x00007f0ec0a81246 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#12 0x00007f0ec21b89ef in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#13 0x00007f0ec1fe40b3 in __libc_start_main (main=0x55de9fca3060, argc=1, argv=0x7fffa4d8e848, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa4d8e838) at ../csu/libc-start.c:308
#14 0x000055de9fca309e in _start ()
[Inferior 1 (process 1770) detached]

Possible duplicates by query: bug 434372, bug 434368, bug 431795, bug 431564, bug 430945.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2021-03-26 08:40:16 UTC

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