Bug 396308 - wayland: clearing clipboard history crashes plasma
Summary: wayland: clearing clipboard history crashes plasma
Status: RESOLVED FIXED
Alias: None
Product: kwayland
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.47.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-08 11:19 UTC by Miroslav Spehar
Modified: 2020-09-21 11:05 UTC (History)
6 users (show)

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


Attachments
gdb-backtrace (17.42 KB, text/plain)
2018-07-08 11:19 UTC, Miroslav Spehar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Spehar 2018-07-08 11:19:33 UTC
Created attachment 113830 [details]
gdb-backtrace

clearing clipboard history on wayland crashes plasma

steps to reproduce:
1. click in tray on clipboard contents
2. click clear history 
3. confirming it on a popup dialog

happens every time.
Comment 1 Alexander Mentyu 2018-07-08 13:28:18 UTC
Looks like without confirmation dialog - clipboard clears without Plasma crashing

Plasma: 5.13.2
Apps: 18.04.2
Frameworks: 5.47.0
Qt: 5.11.1
Kernel: 4.18.0-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+831+ge7bfc906-1
Mesa 3D: 18.1.3
Screen: 1600x900
Xorg: 1.20
Wayland: 1.15.0-1
Wayland Protocols: 1.14-1
Comment 2 Alexander Mentyu 2018-07-08 13:28:39 UTC
Looks like without confirmation dialog - clipboard clears without Plasma crashing

Plasma: 5.13.2
Apps: 18.04.2
Frameworks: 5.47.0
Qt: 5.11.1
Kernel: 4.18.0-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+831+ge7bfc906-1
Mesa 3D: 18.1.3
Screen: 1600x900
Xorg: 1.20
Wayland: 1.15.0-1
Wayland Protocols: 1.14-1
Comment 3 Petros Moisiadis 2018-09-12 10:42:56 UTC
I can reproduce this on Archlinux. Besides the kwin_wayland process, the org_kde_powerde process is crashing too, but that may be irrelevant. Backtraces from journal log follow:

Sep 12 13:25:40 myhost systemd-coredump[2792]: Process 2438 (org_kde_powerde) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2438:
                                                   #0  0x00007f4560de8d7f raise (libc.so.6)
                                                   #1  0x00007f45623b76cf _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                   #2  0x00007f4560de8e00 __restore_rt (libc.so.6)
                                                   #3  0x00007f4561212380 _ZN9QHashData11free_helperEPFvPNS_4NodeEE (libQt5Core.so.5)
                                                   #4  0x00007f45608605c4 _ZN9KIdleTimeD2Ev (libKF5IdleTime.so.5)
                                                   #5  0x00007f456086061a _ZN9KIdleTimeD0Ev (libKF5IdleTime.so.5)
                                                   #6  0x00007f4560860292 n/a (libKF5IdleTime.so.5)
                                                   #7  0x00007f4560deb45c __run_exit_handlers (libc.so.6)
                                                   #8  0x00007f4560deb58e exit (libc.so.6)
                                                   #9  0x00007f4558fe310f _ZN15QtWaylandClient15QWaylandDisplay13exitWithErrorEv (libQt5WaylandClient.so.5)
                                                   #10 0x00007f4558fe316a _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5)
                                                   #11 0x00007f456139ff6c _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                   #12 0x00007f45613abb7a _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5)
                                                   #13 0x00007f45613abed2 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5)
                                                   #14 0x00007f4561376129 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                   #15 0x00007f45613ca12b n/a (libQt5Core.so.5)
                                                   #16 0x00007f455e8d63cf g_main_context_dispatch (libglib-2.0.so.0)
                                                   #17 0x00007f455e8d7f89 n/a (libglib-2.0.so.0)
                                                   #18 0x00007f455e8d7fce g_main_context_iteration (libglib-2.0.so.0)
                                                   #19 0x00007f45613c94b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #20 0x00007f455901d572 n/a (libQt5WaylandClient.so.5)
                                                   #21 0x00007f4561374dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #22 0x00007f456137d0b6 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                   #23 0x000055d6e36d00c6 n/a (org_kde_powerdevil)
                                                   #24 0x00007f4560dd5223 __libc_start_main (libc.so.6)
                                                   #25 0x000055d6e36d012e _start (org_kde_powerdevil)
                                                   
                                                   Stack trace of thread 2467:
                                                   #0  0x00007f4560ea1bb1 __poll (libc.so.6)
                                                   #1  0x00007f455e8d7ee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f455e8d7fce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f455e8d8022 n/a (libglib-2.0.so.0)
                                                   #4  0x00007f455e8a13eb n/a (libglib-2.0.so.0)
                                                   #5  0x00007f455fad7a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f4560eaca43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2468:
                                                   #0  0x00007f4560ea1bb1 __poll (libc.so.6)
                                                   #1  0x00007f455e8d7ee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f455e8d8f62 g_main_loop_run (libglib-2.0.so.0)
                                                   #3  0x00007f4557d6dd08 n/a (libgio-2.0.so.0)
                                                   #4  0x00007f455e8a13eb n/a (libglib-2.0.so.0)
                                                   #5  0x00007f455fad7a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f4560eaca43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2466:
                                                   #0  0x00007f4560ea1bb1 __poll (libc.so.6)
                                                   #1  0x00007f455e8d7ee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f455e8d7fce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f45613c94b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #4  0x00007f4561374dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f45611bdf59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f456161bba6 n/a (libQt5DBus.so.5)
                                                   #7  0x00007f45611c8005 n/a (libQt5Core.so.5)
                                                   #8  0x00007f455fad7a9d start_thread (libpthread.so.0)
                                                   #9  0x00007f4560eaca43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2483:
                                                   #0  0x00007f4560e79638 __nanosleep (libc.so.6)
                                                   #1  0x00007f45613c8e3f n/a (libQt5Core.so.5)
                                                   #2  0x00007f45623b7208 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                   #3  0x00007f4560de8e00 __restore_rt (libc.so.6)
                                                   #4  0x00007f456139f9f9 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                   #5  0x00007f45613abb7a _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5)
                                                   #6  0x00007f45613abed2 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5)
                                                   #7  0x00007f4561376129 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                   #8  0x00007f45613ca12b n/a (libQt5Core.so.5)
                                                   #9  0x00007f455e8d63cf g_main_context_dispatch (libglib-2.0.so.0)
                                                   #10 0x00007f455e8d7f89 n/a (libglib-2.0.so.0)
                                                   #11 0x00007f455e8d7fce g_main_context_iteration (libglib-2.0.so.0)
                                                   #12 0x00007f45613c94b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #13 0x00007f4561374dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #14 0x00007f45611bdf59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #15 0x00007f45611c8005 n/a (libQt5Core.so.5)
                                                   #16 0x00007f455fad7a9d start_thread (libpthread.so.0)
                                                   #17 0x00007f4560eaca43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2484:
                                                   #0  0x00007f4560e9de4f __close (libc.so.6)
                                                   #1  0x00007f45623b613b n/a (libKF5Crash.so.5)
                                                   #2  0x00007f45623b7086 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                   #3  0x00007f4560de8e00 __restore_rt (libc.so.6)
                                                   #4  0x00007f4561379309 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                   #5  0x00007f45613c9ed4 n/a (libQt5Core.so.5)
                                                   #6  0x00007f455e8d63cf g_main_context_dispatch (libglib-2.0.so.0)
                                                   #7  0x00007f455e8d7f89 n/a (libglib-2.0.so.0)
                                                   #8  0x00007f455e8d7fce g_main_context_iteration (libglib-2.0.so.0)
                                                   #9  0x00007f45613c94b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #10 0x00007f4561374dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #11 0x00007f45611bdf59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #12 0x00007f45611c8005 n/a (libQt5Core.so.5)
                                                   #13 0x00007f455fad7a9d start_thread (libpthread.so.0)
                                                   #14 0x00007f4560eaca43 __clone (libc.so.6)

Sep 12 13:25:41 myhost systemd-coredump[2787]: Process 2336 (kwin_wayland) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2336:
                                                   #0  0x00007f031481b280 _ZNK8KWayland6Server19DataSourceInterface6d_funcEv (libKF5WaylandServer.so.5)
                                                   #1  0x00007f031481b433 _ZN8KWayland6Server19DataSourceInterface11requestDataERK7QStringi (libKF5WaylandServer.so.5)
                                                   #2  0x00007f031481a85e n/a (libKF5WaylandServer.so.5)
                                                   #3  0x00007f030be8f1c8 ffi_call_unix64 (libffi.so.6)
                                                   #4  0x00007f030be8ec2a ffi_call (libffi.so.6)
                                                   #5  0x00007f030f7396ff n/a (libwayland-server.so.0)
                                                   #6  0x00007f030f7360a3 n/a (libwayland-server.so.0)
                                                   #7  0x00007f030f737702 wl_event_loop_dispatch (libwayland-server.so.0)
                                                   #8  0x00007f031481c32f _ZN8KWayland6Server7Display7Private8dispatchEv (libKF5WaylandServer.so.5)
                                                   #9  0x00007f0313de50c0 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                   #10 0x00007f0313df0b7a _ZN15QSocketNotifier9activatedEiNS_14QPrivateSignalE (libQt5Core.so.5)
                                                   #11 0x00007f0313df0ed2 _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5)
                                                   #12 0x00007f03141a2e14 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #13 0x00007f03141aa6e1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #14 0x00007f0313dbb129 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                   #15 0x00007f0313e0b635 _ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt5Core.so.5)
                                                   #16 0x00007f0313e0b949 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #17 0x00007f030798885e n/a (KWinQpaPlugin.so)
                                                   #18 0x00007f0313db9dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #19 0x00007f0313dc20b6 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                   #20 0x00005606ff832b46 n/a (kwin_wayland)
                                                   #21 0x00007f03135ef223 __libc_start_main (libc.so.6)
                                                   #22 0x00005606ff83337e _start (kwin_wayland)
                                                   
                                                   Stack trace of thread 2342:
                                                   #0  0x00007f03147a2ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f0313c0d69d _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                                                   #2  0x00007f0313c050c4 n/a (libQt5Core.so.5)
                                                   #3  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #4  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #5  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2359:
                                                   #0  0x00007f03147a2ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f0313c0d69d _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                                                   #2  0x00007f0313c050c4 n/a (libQt5Core.so.5)
                                                   #3  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #4  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #5  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2340:
                                                   #0  0x00007f03147a2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f02f7687274 n/a (i965_dri.so)
                                                   #2  0x00007f02f7686f68 n/a (i965_dri.so)
                                                   #3  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #4  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2337:
                                                   #0  0x00007f03136bbbb1 __poll (libc.so.6)
                                                   #1  0x00007f030e73bee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f030e73bfce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f0313e0e4b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #4  0x00007f0313db9dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f0313c02f59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f03148c8ba6 n/a (libQt5DBus.so.5)
                                                   #7  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #8  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #9  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2338:
                                                   #0  0x00007f03136bbbb1 __poll (libc.so.6)
                                                   #1  0x00007f030e73bee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f030e73bfce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f0313e0e4b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #4  0x00007f0313db9dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f0313c02f59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #7  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #8  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2360:
                                                   #0  0x00007f03147a2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f0312f6aaac n/a (libQt5Script.so.5)
                                                   #2  0x00007f0312f6aac9 n/a (libQt5Script.so.5)
                                                   #3  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #4  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2355:
                                                   #0  0x00007f03136bbbb1 __poll (libc.so.6)
                                                   #1  0x00007f030e73bee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f030e73bfce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f0313e0e4b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #4  0x00007f0313db9dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f0313c02f59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f03102dd0d9 n/a (libQt5Qml.so.5)
                                                   #7  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #8  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #9  0x00007f03136c6a43 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 2339:
                                                   #0  0x00007f03136bbbb1 __poll (libc.so.6)
                                                   #1  0x00007f030e73bee0 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f030e73bfce g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f0313e0e4b9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.s>
                                                   #4  0x00007f0313db9dbc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f0313c02f59 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f0313c0d005 n/a (libQt5Core.so.5)
                                                   #7  0x00007f031479ca9d start_thread (libpthread.so.0)
                                                   #8  0x00007f03136c6a43 __clone (libc.so.6)
Comment 4 Patrick Silva 2018-09-14 13:56:25 UTC
plasma 5.14 beta is still crashing on Arch Linux.
Comment 5 Patrick Silva 2018-10-26 22:11:40 UTC
it's still crashing 

KDE neon Developer Edition
KDE Plasma: 5.14.80
Qt: 5.11.2
KDE Frameworks: 5.52.0

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
KWayland::Server::DataSourceInterface::d_func (this=0x0) at ./src/server/datasource_interface.cpp:161
161     ./src/server/datasource_interface.cpp: No such file or directory.
(gdb) thread apply all bt

Thread 9 (Thread 2403.2439):
#0  0x00007fc59cccf9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, 
    futex_word=0x7fc59a6f1fb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fc59a6f1f68 <QTWTF::pageheap_memory+57512>, 
    cond=0x7fc59a6f1f90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x7fc59a6f1f90 <QTWTF::pageheap_memory+57552>, 
    mutex=mutex@entry=0x7fc59a6f1f68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007fc59a3fc954 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc59a6e3ec0 <QTWTF::pageheap_memory>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007fc59a3fc999 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007fc59ccc96db in start_thread (arg=0x7fc55affd700) at pthread_create.c:463
#6  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 2403.2435):
#0  0x00007fc59cccf9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d0f08efcd0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d0f08efc80, cond=0x55d0f08efca8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x55d0f08efca8, mutex=mutex@entry=0x55d0f08efc80) at pthread_cond_wait.c:655
#3  0x00007fc59b6a894b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55d0f08efc80)
    at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x55d0f08efac0, mutex=mutex@entry=0x55d0f08efab8, time=time@entry=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:215
#5  0x00007fc56085222b in FileInfoThread::run (this=0x55d0f08efaa8) at fileinfothread.cpp:227
#6  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0f08efaa8) at thread/qthread_unix.cpp:367
#7  0x00007fc59ccc96db in start_thread (arg=0x7fc55bfff700) at pthread_create.c:463
#8  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 2403.2434):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fc59b69b594 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>)
    at thread/qfutex_p.h:92
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:107
---Type <return> to continue, or q <return> to quit---
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:221
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=...) at thread/qsemaphore.cpp:264
#5  QSemaphore::acquire (this=this@entry=0x55d0f09b5f38, n=n@entry=1) at thread/qsemaphore.cpp:328
#6  0x00007fc5844e699b in QtVirtualKeyboard::HunspellWorker::run (this=0x55d0f09b5f20) at hunspellworker.cpp:293
#7  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0f09b5f20) at thread/qthread_unix.cpp:367
#8  0x00007fc59ccc96db in start_thread (arg=0x7fc560845700) at pthread_create.c:463
#9  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 2403.2433):
#0  0x00007fc59ad6abf9 in __GI___poll (fds=0x7fc55c004660, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc591cfb439 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc591cfb54c in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc59b8cd51f in QEventDispatcherGlib::processEvents (this=0x7fc55c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7fc5624ccd40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc59b69cbba in QThread::exec (this=this@entry=0x55d0f08806b0) at thread/qthread.cpp:525
#6  0x00007fc595df64f5 in QQmlThreadPrivate::run (this=0x55d0f08806b0) at qml/ftw/qqmlthread.cpp:148
#7  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0f08806b0) at thread/qthread_unix.cpp:367
#8  0x00007fc59ccc96db in start_thread (arg=0x7fc5624cd700) at pthread_create.c:463
#9  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 2403.2432):
#0  0x00007fc59ad6abf9 in __GI___poll (fds=0x7fc564003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc591cfb439 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc591cfb54c in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc59b8cd51f in QEventDispatcherGlib::processEvents (this=0x7fc564000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7fc56bffed40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc59b69cbba in QThread::exec (this=this@entry=0x55d0f0774ff0) at thread/qthread.cpp:525
#6  0x00007fc595df64f5 in QQmlThreadPrivate::run (this=0x55d0f0774ff0) at qml/ftw/qqmlthread.cpp:148
#7  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0f0774ff0) at thread/qthread_unix.cpp:367
#8  0x00007fc59ccc96db in start_thread (arg=0x7fc56bfff700) at pthread_create.c:463
#9  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 2403.2406):
#0  0x00007fc59ad6abf9 in __GI___poll (fds=0x7fc5780046c0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
---Type <return> to continue, or q <return> to quit---
#1  0x00007fc591cfb439 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc591cfb54c in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc59b8cd51f in QEventDispatcherGlib::processEvents (this=0x7fc578000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7fc582126d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc59b69cbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0efddb940) at thread/qthread_unix.cpp:367
#7  0x00007fc59ccc96db in start_thread (arg=0x7fc582127700) at pthread_create.c:463
#8  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 2403.2405):
#0  0x00007fc59ad6abf9 in __GI___poll (fds=0x7fc574003ce0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc591cfb439 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc591cfb54c in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc59b8cd51f in QEventDispatcherGlib::processEvents (this=0x7fc574000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7fc582927d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc59b69cbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fc59b6a7adb in QThreadPrivate::start (arg=0x55d0efd89730) at thread/qthread_unix.cpp:367
#7  0x00007fc59ccc96db in start_thread (arg=0x7fc582928700) at pthread_create.c:463
#8  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 2403.2404):
#0  0x00007fc59ad6abf9 in __GI___poll (fds=0x7fc57c01ab90, nfds=6, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc591cfb439 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc591cfb54c in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc59b8cd51f in QEventDispatcherGlib::processEvents (this=0x7fc57c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7fc583781d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc59b69cbba in QThread::exec (
    this=this@entry=0x7fc59ccc0d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#6  0x00007fc59ca48e45 in QDBusConnectionManager::run (
    this=0x7fc59ccc0d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007fc59b6a7adb in QThreadPrivate::start (
    arg=0x7fc59ccc0d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007fc59ccc96db in start_thread (arg=0x7fc583782700) at pthread_create.c:463
#9  0x00007fc59ad7788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 2403.2403):
#0  KWayland::Server::DataSourceInterface::d_func (this=0x0) at ./src/server/datasource_interface.cpp:161
#1  0x00007fc59cf42702 in KWayland::Server::DataSourceInterface::requestData (this=<optimized out>, mimeType=..., fd=fd@entry=39)
    at ./src/server/datasource_interface.cpp:130
#2  0x00007fc59cf41a95 in KWayland::Server::DataOfferInterface::Private::receive (fd=39, mimeType=..., this=<optimized out>)
    at ./src/server/dataoffer_interface.cpp:72
#3  KWayland::Server::DataOfferInterface::Private::receiveCallback (client=<optimized out>, resource=<optimized out>, 
    mimeType=0x55d0f0f7be4c "text/plain", fd=39) at ./src/server/dataoffer_interface.cpp:67
#4  0x00007fc58d2e1dae in ffi_call_unix64 () from target:/usr/lib/x86_64-linux-gnu/libffi.so.6
#5  0x00007fc58d2e171f in ffi_call () from target:/usr/lib/x86_64-linux-gnu/libffi.so.6
#6  0x00007fc593e8f4bb in ?? () from target:/usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#7  0x00007fc593e8bcff in ?? () from target:/usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#8  0x00007fc593e8d692 in wl_event_loop_dispatch () from target:/usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#9  0x00007fc59cf4346e in KWayland::Server::Display::Private::dispatch (this=<optimized out>) at ./src/server/display.cpp:142
#10 0x00007fc59b8a267f in QtPrivate::QSlotObjectBase::call (a=0x7ffdea132010, r=0x55d0efdc7a60, this=0x55d0efdc7c80)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#11 QMetaObject::activate (sender=sender@entry=0x55d0efdc7c60, signalOffset=<optimized out>, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdea132010) at kernel/qobject.cpp:3754
#12 0x00007fc59b8a2c37 in QMetaObject::activate (sender=sender@entry=0x55d0efdc7c60, 
    m=m@entry=0x7fc59bcf7c60 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, 
    argv=argv@entry=0x7ffdea132010) at kernel/qobject.cpp:3633
#13 0x00007fc59b8aed58 in QSocketNotifier::activated (this=this@entry=0x55d0efdc7c60, _t1=<optimized out>, _t2=...)
    at .moc/moc_qsocketnotifier.cpp:136
#14 0x00007fc59b8af112 in QSocketNotifier::event (this=0x55d0efdc7c60, e=0x7ffdea132280) at kernel/qsocketnotifier.cpp:266
#15 0x00007fc59be5ae1c in QApplicationPrivate::notify_helper (this=this@entry=0x55d0efd7a1c0, receiver=receiver@entry=0x55d0efdc7c60, 
    e=e@entry=0x7ffdea132280) at kernel/qapplication.cpp:3727
#16 0x00007fc59be623ef in QApplication::notify (this=0x7ffdea132670, receiver=0x55d0efdc7c60, e=0x7ffdea132280)
    at kernel/qapplication.cpp:3486
#17 0x00007fc59b8734d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55d0efdc7c60, event=event@entry=0x7ffdea132280)
    at kernel/qcoreapplication.cpp:1048
#18 0x00007fc59b8ca5f8 in QCoreApplication::sendEvent (event=0x7ffdea132280, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#19 QEventDispatcherUNIXPrivate::activateSocketNotifiers (this=this@entry=0x55d0efd8d8d0) at kernel/qeventdispatcher_unix.cpp:304
---Type <return> to continue, or q <return> to quit---
#20 0x00007fc59b8cac78 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...)
    at kernel/qeventdispatcher_unix.cpp:509
#21 0x00007fc58673efed in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from target:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#22 0x00007fc59b8717fa in QEventLoop::exec (this=this@entry=0x7ffdea132430, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#23 0x00007fc59b87a9c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#24 0x000055d0efa15897 in main (argc=<optimized out>, argv=<optimized out>) at ./main_wayland.cpp:807
Comment 6 Bug Janitor Service 2020-09-18 15:49:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwayland-server/-/merge_requests/85
Comment 7 David Edmundson 2020-09-21 11:03:27 UTC
Git commit 6feeeb10cf6a159bf6428c75cbc9871fccb52ea3 by David Edmundson.
Committed on 21/09/2020 at 11:02.
Pushed by davidedmundson into branch 'master'.

[DataOffer] Avoid calls on null DataSource

A DataOffer can slightly outlive a DataSource; a client will still be
told it's deleted but could call a method in a race.

DataOfferInterface correctly checks for source being still valid, but
nothing updates it when it gets deleted.

M  +4    -1    src/server/dataoffer_interface_p.h

https://invent.kde.org/plasma/kwayland-server/commit/6feeeb10cf6a159bf6428c75cbc9871fccb52ea3
Comment 8 David Edmundson 2020-09-21 11:05:13 UTC
Git commit 49a5c156f7795f59e2c17ae635d1cf3a9b6a59a9 by David Edmundson.
Committed on 21/09/2020 at 11:05.
Pushed by davidedmundson into branch 'Plasma/5.20'.

[DataOffer] Avoid calls on null DataSource

A DataOffer can slightly outlive a DataSource; a client will still be
told it's deleted but could call a method in a race.

DataOfferInterface correctly checks for source being still valid, but
nothing updates it when it gets deleted.


(cherry picked from commit 6feeeb10cf6a159bf6428c75cbc9871fccb52ea3)

M  +4    -1    src/server/dataoffer_interface_p.h

https://invent.kde.org/plasma/kwayland-server/commit/49a5c156f7795f59e2c17ae635d1cf3a9b6a59a9