Bug 415750 - KWin crashes randomly
Summary: KWin crashes randomly
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 415469 415498 415824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-31 15:57 UTC by Nicolas Fella
Modified: 2020-01-07 11:20 UTC (History)
3 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 Nicolas Fella 2019-12-31 15:57:39 UTC
Application: kwin_x11 (5.17.80)
 (Compiled from sources)
Qt Version: 5.14.0
Frameworks Version: 5.66.0
Operating System: Linux 5.4.6-2-MANJARO x86_64
Windowing system: X11
Distribution: Manjaro Linux

-- Information about the crash:
- What I was doing when the application crashed:
Nothing particularly special. Running on X11 with all KDE stuff freshly built from master

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f2fdffff700 (LWP 1710)):
#0  0x00007f2ff68ecc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2ff88f6f3c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f2ff88f6f59 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f2fdd1ec700 (LWP 1707)):
#0  0x00007f2ff68ecc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2fdf027d0c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f2fdf027908 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f2fdd9ed700 (LWP 1706)):
#0  0x00007f2ff68ecc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2fdf027d0c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f2fdf027908 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f2fde1ee700 (LWP 1705)):
#0  0x00007f2ff68ecc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2fdf027d0c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f2fdf027908 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f2fde9ef700 (LWP 1704)):
#0  0x00007f2ff68ecc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2fdf027d0c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f2fdf027908 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2fed6b1700 (LWP 1701)):
#0  0x00007f2ff4da1ae6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f2ff54b8cc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2ff54ba2dd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2ff546339c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2ff5288e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f2ff7e2e249 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f2ff5289fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2fef3de700 (LWP 1671)):
#0  0x00007f2ff4da1ae6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f2ff54b8cc3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2ff54ba2dd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2ff546339c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2ff5288e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f2ff670eb28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f2ff5289fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f2ff68e64cf in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f2ff4dac2d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2ff0925880 (LWP 1610)):
[KCrash Handler]
#6  0x00007f2ff4ce8f25 in raise () at /usr/lib/libc.so.6
#7  0x00007f2ff4cd2897 in abort () at /usr/lib/libc.so.6
#8  0x00007f2ff524e96c in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f2ff524dcf8 in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#10 0x00007f2ff8e02f24 in KWin::Compositor::performCompositing() (this=0x5648744619b0) at /home/nico/kde/src/kwin/composite.cpp:694
#11 0x00007f2ff8e040c1 in KWin::X11Compositor::performCompositing() (this=0x5648744619b0) at /home/nico/kde/src/kwin/composite.cpp:911
#12 0x00007f2ff8e0276d in KWin::Compositor::bufferSwapComplete() (this=0x5648744619b0) at /home/nico/kde/src/kwin/composite.cpp:595
#13 0x00007f2feeb86a53 in KWin::SwapEventFilter::event(xcb_generic_event_t*) (this=0x5648748b7670, event=0x7f2fe800c040) at /home/nico/kde/src/kwin/plugins/platforms/x11/standalone/glxbackend.cpp:95
#14 0x00007f2ff8e7b2ed in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0x564874512d30, e=0x7f2fe800c040) at /home/nico/kde/src/kwin/events.cpp:240
#15 0x00007f2ff8efacec in KWin::XcbEventFilter::nativeEventFilter(QByteArray const&, void*, long*) (this=0x564874458ef0, eventType=..., message=0x7f2fe800c040, result=0x7ffebc700e98) at /home/nico/kde/src/kwin/main.cpp:414
#16 0x00007f2ff5461d77 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f2ff047dab3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#18 0x00007f2ff047e839 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5XcbQpa.so.5
#19 0x00007f2ff04a7dee in  () at /usr/lib/libQt5XcbQpa.so.5
#20 0x00007f2ff546339c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007f2ff546b3a6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x00007f2ff9225f73 in kdemain(int, char**) (argc=1, argv=0x7ffebc701258) at /home/nico/kde/src/kwin/main_x11.cpp:483
#23 0x000056487313f17b in main(int, char**) (argc=3, argv=0x7ffebc701258) at /home/nico/kde/build/kwin/kwin_x11_dummy.cpp:3
[Inferior 1 (process 1610) detached]

Possible duplicates by query: bug 415571, bug 415498, bug 415485, bug 415469, bug 415359.

Reported using DrKonqi
Comment 1 Roman Gilg 2019-12-31 19:34:40 UTC
Git commit af3fbf343bb234d2205c174514ddfd61d52ebb5b by Roman Gilg.
Committed on 31/12/2019 at 19:34.
Pushed by romangilg into branch 'master'.

Remove buffer flip pending assert for now

The assert is still not always true.

M  +3    -1    composite.cpp

https://commits.kde.org/kwin/af3fbf343bb234d2205c174514ddfd61d52ebb5b
Comment 2 Roman Gilg 2020-01-02 23:08:30 UTC
*** Bug 415824 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2020-01-07 11:20:38 UTC
*** Bug 415498 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2020-01-07 11:20:45 UTC
*** Bug 415469 has been marked as a duplicate of this bug. ***