Bug 409715 - KWin crash
Summary: KWin crash
Status: RESOLVED DUPLICATE of bug 398977
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-07-11 11:55 UTC by Szymon
Modified: 2020-03-19 09:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (15.48 KB, patch)
2020-02-22 11:28 UTC, bug2017
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon 2019-07-11 11:55:38 UTC
Application: kwin_x11 (5.16.3)

Qt Version: 5.13.0
Frameworks Version: 5.59.0
Operating System: Linux 5.2.0-arch2-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
After Alt + Tab ->  Show All Applications . KWin crashing sometimes in this combination.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5aa6675880 (LWP 1247))]

Thread 7 (Thread 0x7f59fbfff700 (LWP 7179)):
#0  0x00007f5aa8499756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5aa6fbb913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5aa6fbcfa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5aa6f665ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5aa6d992f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5aa54288f9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f5aa6d9a520 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f5a87e7f700 (LWP 4490)):
#0  0x00007f5aa8499756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5aa6fbb913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5aa6fbcfa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5aa6f665ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5aa6d992f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5aa6d9a520 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f5a9cfb7700 (LWP 2940)):
#0  0x00007f5aa5caf415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5aa6da05a0 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5aa6da0692 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5aa57c77bd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f5aa57c7a6e in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f5aa6d9a520 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5a8767e700 (LWP 1441)):
#0  0x00007f5aa5caf415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5aa6808edc in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f5aa6808ef9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f5a8ffff700 (LWP 1361)):
#0  0x00007f5aa8499756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5aa6fbb913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5aa6fbcfa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5aa6f665ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5aa6d992f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5aa54288f9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f5aa6d9a520 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f5a9e1cf700 (LWP 1309)):
#0  0x00007f5aa8499756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5aa6fbb913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5aa6fbcfa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5aa6f665ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5aa6d992f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5aa4e45b37 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f5aa6d9a520 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f5aa5ca957f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f5aa84a40e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5aa6675880 (LWP 1247)):
[KCrash Handler]
#6  0x000055eb170c6630 in  ()
#7  0x00007f5aa81b0d22 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#8  0x00007f5aa6f65457 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#9  0x00007f5a9f5b1e43 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#10 0x00007f5a9f5b2bc9 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5XcbQpa.so.5
#11 0x00007f5a9f5dc3ae in  () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007f5aa6f665ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#13 0x00007f5aa6f6e326 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#14 0x00007f5aa8579588 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#15 0x00007f5aa83ceee3 in __libc_start_main () at /usr/lib/libc.so.6
#16 0x000055eb163dd05e in _start ()
[Inferior 1 (process 1247) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-07-16 08:24:13 UTC
The backtrace lacks debug symbols, please repackage kwin so it includes debug symbols and post a new backtrace.
Comment 2 Bug Janitor Service 2019-07-31 04:33:11 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-08-15 04:33:11 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!
Comment 4 bug2017 2020-02-22 11:28:05 UTC
Created attachment 126285 [details]
New crash information added by DrKonqi

kwin_x11 (5.18.1) using Qt 5.14.1

- Unusual behavior I noticed:
Crash happend about minute after waking up from supend. Kwin frame rate was quite low at 15fps. (Frame counter effect was active to search a different problem)
- Custom settings of the application:
Most Desktop effects are disabled except Framecounter, desktop cube and present windows.

-- Backtrace (Reduced):
#7  0x000055f355c73d50 in  ()
#8  0x00007fdfab73bd72 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0x55f350d28920, e=0x7fdf9c063be0) at /var/tmp/portage/kde-plasma/kwin-5.18.1/work/kwin-5.18.1/x11eventfilter.h:51
#9  0x00007fdfaa3fd3f4 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fdf9c063be0, result=result@entry=0x7fff6369c7b8) at kernel/qabstracteventdispatcher.cpp:488
#10 0x00007fdfa44e64e1 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55f350c1bfe0, event=event@entry=0x7fdf9c063be0) at qxcbnativeinterface.h:101
#11 0x00007fdfa44e7236 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f350c1bfe0, flags=...) at qxcbconnection.cpp:1029
Comment 5 Vlad Zahorodnii 2020-03-19 09:35:02 UTC

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