Bug 416826 - Moving around Windows with Kwin-tiling occasionally causes segfault
Summary: Moving around Windows with Kwin-tiling occasionally causes segfault
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.17.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 421297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-27 16:58 UTC by karl
Modified: 2020-09-30 22:01 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (7.36 KB, text/plain)
2020-02-14 20:17 UTC, AmagicalFishy
Details
New crash information added by DrKonqi (5.54 KB, text/plain)
2020-04-05 13:47 UTC, agilob
Details
New crash information added by DrKonqi (4.77 KB, text/plain)
2020-06-18 21:01 UTC, evangelistajoaop
Details
New crash information added by DrKonqi (3.59 KB, text/plain)
2020-09-30 22:01 UTC, Guillem Larrosa Jara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2020-01-27 16:58:05 UTC
Application: kwin_x11 (5.17.5)

Qt Version: 5.14.0
Frameworks Version: 5.66.0
Operating System: Linux 5.4.14-arch1-1 x86_64
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
Moving or resizing tiled windows

- Custom settings of the application:
 kwin-tiling
Hello Window Decorations, but also reproducable using Breeze
Nvidia or nouveau both appear to be affected

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 0x7f3b0da97880 (LWP 197145))]

Thread 4 (Thread 0x7f3b053ac700 (LWP 197164)):
#0  0x00007f3b132dfc45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f3b13c32f3c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f3b13c32f59 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f3b132d94cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f3b159272d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f3b065ed700 (LWP 197156)):
#0  0x00007f3b1591cae6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f3b14367d43 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f3b1436935d in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f3b1431241c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f3b14137e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f3b129f8479 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f3b14138fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f3b132d94cf in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f3b159272d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f3b07fff700 (LWP 197149)):
#0  0x00007f3b1591cae6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f3b14367d43 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f3b1436935d in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f3b1431241c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f3b14137e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f3b12377b28 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f3b14138fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f3b132d94cf in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f3b159272d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f3b0da97880 (LWP 197145)):
[KCrash Handler]
#6  0x00007f3b1276760c in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f3b127edcea in QV4::PersistentValueStorage::mark(QV4::MarkStack*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007f3b1276798e in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () at /usr/lib/libQt5Qml.so.5
#9  0x00007f3b12767b7e in QV4::MemoryManager::mark() () at /usr/lib/libQt5Qml.so.5
#10 0x00007f3b12769672 in  () at /usr/lib/libQt5Qml.so.5
#11 0x00007f3b1276baaa in QV4::MemoryManager::allocData(unsigned long) () at /usr/lib/libQt5Qml.so.5
#12 0x00007f3b127f5f0f in QV4::ArrayData::realloc(QV4::Object*, QV4::Heap::ArrayData::Type, unsigned int, bool) () at /usr/lib/libQt5Qml.so.5
#13 0x00007f3b127f8038 in  () at /usr/lib/libQt5Qml.so.5
#14 0x00007f3b1289d53f in QV4::Runtime::Construct::call(QV4::ExecutionEngine*, QV4::Value const&, QV4::Value const&, QV4::Value*, int) () at /usr/lib/libQt5Qml.so.5
#15 0x00007f3b042630a1 in  ()
#16 0x0000000000000000 in  ()
[Inferior 1 (process 197145) detached]

Possible duplicates by query: bug 416816, bug 416784, bug 416730, bug 416725, bug 416673.

Reported using DrKonqi
Comment 1 karl 2020-01-27 17:17:23 UTC
*maybe* related to 415872?

Can 100% reproduce this by resizing a tiled window constantly. Non-tiled windows seem to be fine.

Only recently started occurring some time in the last month maybe. I didnt note down when it started unfortunately :(
Comment 2 AmagicalFishy 2020-02-14 20:17:24 UTC
Created attachment 126036 [details]
New crash information added by DrKonqi

kwin_x11 (5.18.0) using Qt 5.14.1

- What I was doing when the application crashed:
Moving a window to a different virtual desktop

- Unusual behavior I noticed:
Everything slows down/flickers for a moment. Somtimes, my whole system will freeze, necessitating a hard reboot. 

- Custom settings of the application:
I've got OpenGL 3.1 compositor running; the window I was moving, in particular, is somewhat transparent.

-- Backtrace (Reduced):
#6  0x00007f57af86a8f2 in QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const () at /usr/lib/libQt5Qml.so.5
#7  0x00007f57af86a97e in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007f57af86ab7e in QV4::MemoryManager::mark() () at /usr/lib/libQt5Qml.so.5
#9  0x00007f57af86c672 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007f57af86eaaa in QV4::MemoryManager::allocData(unsigned long) () at /usr/lib/libQt5Qml.so.5
Comment 3 adamska156 2020-02-23 23:57:08 UTC
Application: kwin_x11 (5.18.0)

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.4-1-default x86_64
Windowing system: X11
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed: Moving tiled windows while kwin-tiling was active.

- Custom settings of the application: kwin-tiling script, kvantum w/transparent windows, openGL 3.1 compositing, wobbly windows

- Unusual behavior I noticed: Dragging a kvantum window from anything other than the titlebar will result in the window being immovable. It will rapidly snap back to it's original tiled position before I can move it anywhere. As someone else stated, I notice occasional slowdowns where window movement will become choppy and laggy. This occurs even with floating windows and kwin-tiling turned off. It doesn't crash Kwin but these two problems started at the same time (a couple weeks ago or so), and I suspect they're related somehow.

The crash can be reproduced sometimes.

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

Thread 29 (Thread 0x7f6b01b7e700 (LWP 6593)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 28 (Thread 0x7f6af39ff700 (LWP 6325)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6b0967e1ea in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f6b0967e20b in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 27 (Thread 0x7f6a9cff9700 (LWP 6322)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 26 (Thread 0x7f6a9d7fa700 (LWP 6320)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 25 (Thread 0x7f6a9dffb700 (LWP 6319)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7f6a9e7fc700 (LWP 6318)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f6a9effd700 (LWP 6317)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f6a9f7fe700 (LWP 6316)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f6a9ffff700 (LWP 6315)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f6ac0ff9700 (LWP 6314)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f6ac17fa700 (LWP 6313)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f6ac1ffb700 (LWP 6312)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f6ac27fc700 (LWP 6311)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f6ac2ffd700 (LWP 6310)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f6ac37fe700 (LWP 6309)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f6ac3fff700 (LWP 6308)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f6ae0d95700 (LWP 6307)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f6ae1596700 (LWP 6306)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f6ae1d97700 (LWP 6305)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f6ae2598700 (LWP 6304)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f6ae2d99700 (LWP 6303)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f6ae359a700 (LWP 6302)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f6af0921700 (LWP 6301)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6af1122700 (LWP 6300)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f6af1a64700 (LWP 6299)):
#0  0x00007f6b091ad795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6af21fddeb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f6af21fdcc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6b00d4a700 (LWP 6297)):
#0  0x00007f6b0b3e0bc6 in ppoll () from /lib64/libc.so.6
#1  0x00007f6b09d9bcd9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f6b09d9d2e3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f6b09d47bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f6b09b7262e in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f6b088e06e5 in QQmlThreadPrivate::run (this=0x55ea969c4ca0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#6  0x00007f6b09b736f8 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6b02dc4700 (LWP 6226)):
#0  0x00007f6b0b3e0bc6 in ppoll () from /lib64/libc.so.6
#1  0x00007f6b09d9bcd9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f6b09d9d2e3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f6b09d47bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f6b09b7262e in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f6b0ae7d507 in ?? () from /usr/lib64/libQt5DBus.so.5
#6  0x00007f6b09b736f8 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6b041f1700 (LWP 6181)):
#0  0x00007f6b0b3e0acf in poll () from /lib64/libc.so.6
#1  0x00007f6b09a90752 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f6b09a9140a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f6b04355ab0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f6b09b736f8 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f6b091a6efa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f6b0b3eb3bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6b061fb480 (LWP 6178)):
[KCrash Handler]
#6  0x00007f6b08657cc1 in QV4::Heap::Base::mark (markStack=0x7ffe1d5058d0, this=0x7f6b0010b938) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:191
#7  QV4::Managed::mark (markStack=0x7ffe1d5058d0, this=0x7f6b0010b948) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4managed_p.h:204
#8  QV4::MemoryManager::collectFromJSStack (this=this@entry=0x55ea9699e990, markStack=markStack@entry=0x7ffe1d5058d0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:1221
#9  0x00007f6b08657d3c in QV4::MemoryManager::collectRoots (this=this@entry=0x55ea9699e990, markStack=markStack@entry=0x7ffe1d5058d0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:873
#10 0x00007f6b08657f3d in QV4::MemoryManager::mark (this=this@entry=0x55ea9699e990) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:917
#11 0x00007f6b08659a16 in QV4::MemoryManager::runGC (this=0x55ea9699e990) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:1052
#12 0x00007f6b0865bce8 in QV4::MemoryManager::allocate (size=64, allocator=0x55ea9699e9a0, this=0x55ea9699e990) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:328
#13 QV4::MemoryManager::allocData (this=0x55ea9699e990, size=64) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:802
#14 0x00007f6b0865bdef in QV4::MemoryManager::allocObjectWithMemberData (this=<optimized out>, vtable=<optimized out>, nMembers=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/memory/qv4mm.cpp:814
#15 0x00007f6b086c4dc7 in QV4::MemoryManager::allocateObject<QV4::Object> (ic=0x7f6af3a02100, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:142
#16 QV4::MemoryManager::allocObject<QV4::Object> (ic=0x7f6af3a02100, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:227
#17 QV4::ExecutionEngine::newObject (this=this@entry=0x55ea96917bd0, internalClass=0x7f6af3a02100) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4engine.cpp:885
#18 0x00007f6b0870f61a in QV4::FunctionObject::createDefaultPrototypeProperty (this=this@entry=0x7f6b0010bed0, protoConstructorSlot=protoConstructorSlot@entry=0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4enginebase_p.h:137
#19 0x00007f6b08710366 in QV4::Heap::ScriptFunction::init (this=0x7f6af3b0ff80, scope=scope@entry=0x7f6b0010be40, function=function@entry=0x55ea9769d530) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4functionobject.cpp:563
#20 0x00007f6b087104f2 in QV4::MemoryManager::allocate<QV4::ScriptFunction, QV4::ExecutionContext*, QV4::Function*> (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4value_p.h:101
#21 QV4::FunctionObject::createScriptFunction (scope=0x7f6b0010be40, function=0x55ea9769d530) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4functionobject.cpp:173
#22 0x00007f6b08791835 in QV4::Runtime::Closure::call (engine=<optimized out>, functionId=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4runtime.cpp:325
#23 0x00007f6af00fbf1a in ?? ()
#24 0x0000000000000000 in ?? ()
[Inferior 1 (process 6178) detached]

Possible duplicates by query: bug 416826.
Comment 4 adamska156 2020-03-01 23:19:01 UTC
amdgpu is also affected
Comment 5 agilob 2020-04-05 13:47:15 UTC
Created attachment 127304 [details]
New crash information added by DrKonqi

kwin_x11 (5.18.4) using Qt 5.14.2

- What I was doing when the application crashed:
Moving window from one screen to another, with multiple other windows visible.

- Custom settings of the application:
kwin-tiling

-- Backtrace (Reduced):
#6  0x00007fb2bc2cb522 in QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const () at /usr/lib/libQt5Qml.so.5
#7  0x00007fb2bc2cb5ae in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007fb2bc2cb7ae in QV4::MemoryManager::mark() () at /usr/lib/libQt5Qml.so.5
#9  0x00007fb2bc2cd2b7 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007fb2bc2cf65a in QV4::MemoryManager::allocData(unsigned long) () at /usr/lib/libQt5Qml.so.5
Comment 6 Vlad Zahorodnii 2020-05-12 06:00:28 UTC
*** Bug 421297 has been marked as a duplicate of this bug. ***
Comment 7 karl 2020-05-25 14:49:58 UTC
For anyone subscribed to this bug, the workaround in bug 415872 / https://bugreports.qt.io/browse/QTBUG-84363 
(setting QV4_FORCE_INTERPRETER=1) is a viable option right now.

I'm going to close this issue in favour of 415872 as I'm now confident they're the same as the same workaround works for me in both X and Wayland.
Comment 8 evangelistajoaop 2020-06-18 21:01:59 UTC
Created attachment 129501 [details]
New crash information added by DrKonqi

kwin_x11 (5.19.0) using Qt 5.15.0

- What I was doing when the application crashed:

Having 4 windows side by side managed by KWin Tilling Script, and 3 virtual desktops.

- Custom settings of the application:

-- Backtrace (Reduced):
#4  0x00007f9b313cc8ec in QV4::MarkStack::drain (this=this@entry=0x7ffe1845bb40) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:82
#5  0x00007f9b313cd1e5 in QV4::MarkStack::~MarkStack (this=0x7ffe1845bb40, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/memory/qv4mmdefs_p.h:276
#6  QV4::MemoryManager::mark (this=this@entry=0x5583ea927890) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/qml/memory/qv4mm.cpp:915
#7  0x00007f9b313ceef1 in QV4::MemoryManager::runGC (this=0x5583ea927890) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/qml/memory/qv4mm.cpp:1050
#8  0x00007f9b313d0b88 in QV4::MemoryManager::allocate (size=64, allocator=0x5583ea9278a0, this=0x5583ea927890) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:328
Comment 9 Guillem Larrosa Jara 2020-09-30 22:01:23 UTC
Created attachment 132033 [details]
New crash information added by DrKonqi

kwin_x11 (5.19.5) using Qt 5.15.0

- What I was doing when the application crashed:
Interacting with system tray elements, exactly Discord, that is an electron-based application.

- Custom settings of the application:

kwin-script-tiling Extension

-- Backtrace (Reduced):
#4  QV4::Heap::Base::mark(QV4::MarkStack*) (markStack=0x7ffded9b6060, this=0x7f51099ae9c0) at ../../include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:190
#5  QV4::Managed::mark(QV4::MarkStack*) (markStack=0x7ffded9b6060, this=0x7f51099ae9d0) at jsruntime/qv4managed_p.h:204
#6  QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const (this=<optimized out>, markStack=0x7ffded9b6060) at memory/qv4mm.cpp:1219
#7  0x00007f511634c450 in QV4::MemoryManager::collectRoots(QV4::MarkStack*) (this=0x55caa91306a0, markStack=0x7ffded9b6060) at memory/qv4mm.cpp:876
#8  0x00007f511634c6a1 in QV4::MemoryManager::mark() (this=this@entry=0x55caa91306a0) at memory/qv4mm.cpp:916