Bug 429842 - Crash resizing Elisa on kwin_wayland
Summary: Crash resizing Elisa on kwin_wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.08.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-30 10:11 UTC by Marcus Harrison
Modified: 2021-01-13 18:44 UTC (History)
1 user (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 Marcus Harrison 2020-11-30 10:11:19 UTC
Application: elisa (20.08.3)

Qt Version: 5.15.1
Frameworks Version: 5.76.0
Operating System: Linux 5.4.0-54-generic x86_64
Windowing system: Wayland
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
Multiple times after starting Elisa, resizing the window caused a crash.

The, "Scanning music" notification was displaying;
The view was on a selected song ready to play, but not playing yet;
The playlist was populated with 25 tracks and overflowing the view, producing a scrollbar;
There was album art correctly displayed in the central view and as the background of the "header" view.

After a third attempt, waiting for the, "Scanning music" notification to finish and resizing the window did not cause another crash.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Elisa (elisa), signal: Aborted

[New LWP 502974]
[New LWP 502975]
[New LWP 502976]
[New LWP 502977]
[New LWP 502978]
[New LWP 502979]
[New LWP 502980]
[New LWP 502981]
[New LWP 502982]
[New LWP 502983]
[New LWP 502984]
[New LWP 502985]
[New LWP 502990]
[New LWP 502992]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b21e8d554) at ../sysdeps/nptl/futex-internal.h:183
[Current thread is 1 (Thread 0x7f3a0f315880 (LWP 502971))]

Thread 15 (Thread 0x7f39ceffd700 (LWP 502992)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f3a141c9859 in __GI_abort () at abort.c:79
#6  0x00007f3a1460bbe7 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7f39ceffc9b0, msg=msg@entry=0x7f3a0e7ba0b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893
#8  0x00007f3a0e6fecd5 in QtWaylandClient::QWaylandDisplay::checkError (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlogging.h:90
#9  QtWaylandClient::QWaylandDisplay::checkError (this=<optimized out>) at qwaylanddisplay.cpp:204
#10 0x00007f3a0e70f671 in QtWaylandClient::QWaylandDisplay::dispatchQueueWhile(wl_event_queue*, std::function<bool ()>, int) (this=0x555b2127a220, queue=0x555b216412d0, condition=..., timeout=timeout@entry=100) at qwaylanddisplay.cpp:260
#11 0x00007f3a0e716628 in QtWaylandClient::QWaylandWindow::waitForFrameSync (this=0x555b219e7af0, timeout=100) at /usr/include/c++/9/new:174
#12 0x00007f3a070fbdda in QtWaylandClient::QWaylandGLContext::swapBuffers (this=0x555b21afe290, surface=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:492
#13 0x00007f3a15105a51 in QOpenGLContext::swapBuffers (this=0x555b21b96fa0, surface=<optimized out>) at kernel/qopenglcontext.cpp:1120
#14 0x00007f3a1338ae2c in QSGRenderThread::syncAndRender (this=0x555b21e76ac0, grabImage=0x0) at scenegraph/qsgthreadedrenderloop.cpp:870
#15 0x00007f3a1338eba7 in QSGRenderThread::run (this=0x555b21e76ac0) at scenegraph/qsgthreadedrenderloop.cpp:1043
#16 0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21e76ac0) at thread/qthread_unix.cpp:329
#17 0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f39cf7fe700 (LWP 502990)):
#0  __GI___libc_read (nbytes=10, buf=0x7f39cf7fdb5e, fd=30) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=30, buf=0x7f39cf7fdb5e, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3a0fb78975 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007f3a122bb416 in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f3a122bbeb4 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f3a122bbf70 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f3a122ca11d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f3a0fba772c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f39e27fc700 (LWP 502985)):
#0  0x00007f3a1233c095 in g_source_ref () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3a1233c168 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a1233daff in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233e152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39c8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39e27fbd20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21c33940) at thread/qthread_unix.cpp:329
#9  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f39e2ffd700 (LWP 502984)):
#0  __GI___libc_read (nbytes=16, buf=0x7f39e2ffcb10, fd=23) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=23, buf=0x7f39e2ffcb10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3a1238689f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233dcfe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1233e152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39d4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39e2ffcd20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21bc7a50) at thread/qthread_unix.cpp:329
#10 0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f39e37fe700 (LWP 502983)):
#0  __GI___libc_read (nbytes=16, buf=0x7f39e37fdb10, fd=21) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=0x7f39e37fdb10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3a1238689f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233dcfe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1233e152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39d0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39e37fdd20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21bc7a60) at thread/qthread_unix.cpp:329
#10 0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f39e3fff700 (LWP 502982)):
#0  0x00007f3a148855c9 in idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f39e3ffeb54) at kernel/qeventdispatcher_glib.cpp:209
#1  0x00007f3a1233d72f in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a1233e0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39d8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39e3ffed20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21c14050) at thread/qthread_unix.cpp:329
#8  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f39f88e2700 (LWP 502981)):
#0  0x00007f3a142b9aff in __GI___poll (fds=0x7f39dc004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3a1233e1ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39dc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39f88e1d20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b2145a4e0) at thread/qthread_unix.cpp:329
#7  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f39f9325700 (LWP 502980)):
#0  __GI___libc_read (nbytes=16, buf=0x7f39f9324ad0, fd=15) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=15, buf=0x7f39f9324ad0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f3a1238689f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233dcfe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1233e152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f39e8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f39f9324ce0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f3a14645982 in QThread::exec (this=this@entry=0x555b21abd030) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f3a132c935a in QQuickPixmapReader::run (this=0x555b21abd030) at util/qquickpixmapcache.cpp:1024
#10 0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21abd030) at thread/qthread_unix.cpp:329
#11 0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f39fb16a700 (LWP 502979)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b2155bfb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555b2155bf68, cond=0x555b2155bf90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555b2155bf90, mutex=0x555b2155bf68) at pthread_cond_wait.c:638
#3  0x00007f3a05bcb62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f3a05bcb23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f39fb96b700 (LWP 502978)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b2155bfb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555b2155bf68, cond=0x555b2155bf90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555b2155bf90, mutex=0x555b2155bf68) at pthread_cond_wait.c:638
#3  0x00007f3a05bcb62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f3a05bcb23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3a04cc8700 (LWP 502977)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b2155bfb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555b2155bf68, cond=0x555b2155bf90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555b2155bf90, mutex=0x555b2155bf68) at pthread_cond_wait.c:638
#3  0x00007f3a05bcb62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f3a05bcb23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3a054c9700 (LWP 502976)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b2155bfb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555b2155bf68, cond=0x555b2155bf90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555b2155bf90, mutex=0x555b2155bf68) at pthread_cond_wait.c:638
#3  0x00007f3a05bcb62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f3a05bcb23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3a0cecd700 (LWP 502975)):
#0  0x00007f3a1238b368 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3a1233d721 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a1233e0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f3a00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f3a0ceccd00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f3a14645982 in QThread::exec (this=this@entry=0x555b21318d50) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f3a14e29d69 in QQmlThreadPrivate::run (this=0x555b21318d50) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x555b21318d50) at thread/qthread_unix.cpp:329
#9  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3a0e0de700 (LWP 502974)):
#0  0x00007f3a1233c12f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3a1233d66b in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a1233e0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a1488524b in QEventDispatcherGlib::processEvents (this=0x7f3a08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7f3a0e0ddcf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f3a14645982 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f3a136f7f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f3a14646b1c in QThreadPrivate::start (arg=0x7f3a1377bd80) at thread/qthread_unix.cpp:329
#9  0x00007f3a12c44609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f3a142c6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3a0f315880 (LWP 502971)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555b21e8d554) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555b21e8d500, cond=0x555b21e8d528) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555b21e8d528, mutex=0x555b21e8d500) at pthread_cond_wait.c:638
#3  0x00007f3a1464cceb in QWaitConditionPrivate::wait (deadline=..., this=0x555b21e8d500) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x555b21e76b18, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f3a1338cda7 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x555b21477140, w=0x555b213dc180, inExpose=inExpose@entry=false) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f3a1338d984 in QSGThreadedRenderLoop::handleUpdateRequest (this=0x555b21477140, window=0x555b2130a340) at scenegraph/qsgthreadedrenderloop.cpp:1428
#7  0x00007f3a133f89d7 in QQuickWindow::event (this=0x555b2130a340, e=0x7fff46d89000) at items/qquickwindow.cpp:1834
#8  0x00007f3a158c1da3 in QApplicationPrivate::notify_helper (this=this@entry=0x555b2126cbe0, receiver=receiver@entry=0x555b2130a340, e=e@entry=0x7fff46d89000) at kernel/qapplication.cpp:3630
#9  0x00007f3a158cab98 in QApplication::notify (this=0x7fff46d89760, receiver=0x555b2130a340, e=0x7fff46d89000) at kernel/qapplication.cpp:3154
#10 0x00007f3a1482a92a in QCoreApplication::notifyInternal2 (receiver=0x555b2130a340, event=0x7fff46d89000) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#11 0x00007f3a150b2c9d in QPlatformWindow::deliverUpdateRequest (this=this@entry=0x555b219e7b00) at kernel/qplatformwindow.cpp:789
#12 0x00007f3a0e71f8ae in QtWaylandClient::QWaylandWindow::deliverUpdateRequest (this=0x555b219e7af0) at qwaylandwindow.cpp:1176
#13 0x00007f3a0e715ef2 in QtWaylandClient::QWaylandWindow::<lambda()>::operator() (__closure=<optimized out>) at qwaylandwindow.cpp:613
#14 QtWaylandClient::QWaylandWindow::<lambda()>::operator() (__closure=0x7ef9a0cdc290) at qwaylandwindow.cpp:607
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, QtWaylandClient::QWaylandWindow::handleFrameCallback()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#16 QtPrivate::Functor<QtWaylandClient::QWaylandWindow::handleFrameCallback()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#17 QtPrivate::QFunctorSlotObject<QtWaylandClient::QWaylandWindow::handleFrameCallback()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x7ef9a0cdc280, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#18 0x00007f3a148584c9 in QObject::event (this=0x555b219e7af0, e=0x7ef9a0cd8120) at kernel/qobject.cpp:1314
#19 0x00007f3a158c1da3 in QApplicationPrivate::notify_helper (this=this@entry=0x555b2126cbe0, receiver=receiver@entry=0x555b219e7af0, e=e@entry=0x7ef9a0cd8120) at kernel/qapplication.cpp:3630
#20 0x00007f3a158cab98 in QApplication::notify (this=0x7fff46d89760, receiver=0x555b219e7af0, e=0x7ef9a0cd8120) at kernel/qapplication.cpp:3154
#21 0x00007f3a1482a92a in QCoreApplication::notifyInternal2 (receiver=0x555b219e7af0, event=0x7ef9a0cd8120) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#22 0x00007f3a1482d231 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555b21269490) at kernel/qcoreapplication.cpp:1817
#23 0x00007f3a14885bd7 in postEventSourceDispatch (s=0x555b212c2300) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f3a1233dfbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f3a1233e240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3a1233e2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3a14885232 in QEventDispatcherGlib::processEvents (this=0x555b212a5db0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f3a1482943b in QEventLoop::exec (this=this@entry=0x7fff46d89640, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#29 0x00007f3a148315e4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x0000555b2006291c in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:166
[Inferior 1 (process 502971) detached]

Possible duplicates by query: bug 429344, bug 429341, bug 427384, bug 424911, bug 424891.

Reported using DrKonqi
Comment 1 Nate Graham 2020-11-30 22:42:13 UTC
#7  QMessageLogger::fatal (this=this@entry=0x7f39ceffc9b0, msg=msg@entry=0x7f3a0e7ba0b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893



ew
Comment 2 Nate Graham 2021-01-13 18:44:49 UTC
#6  QMessageLogger::fatal (this=this@entry=0x7fffd70c5ba0, msg=msg@entry=0x7ff994ac00b8 "The Wayland connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893

This means that the compositor crashed. Due to a Qt issue, when this happens, the app using it will crash too. KDE developers submitted a fix, but sadly it was not merged. See https://codereview.qt-project.org/c/qt/qtwayland/+/308984.

Until we get better handling of this in Qt, the best we can do is debug why the compositor crashed in the first place. So can you please get a backtrace of the crash in kwin_wayland and then file a new bug report with it on kwin | wayland-generic? Thanks!

You may be able to use the `coredumpctl` utility to retrieve the backtrace. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl