Bug 484826 - Plasmoid crashes on editing when Plasma5Support.DataSource sets its interval to 0
Summary: Plasmoid crashes on editing when Plasma5Support.DataSource sets its interval ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-03-31 16:32 UTC by NSLW
Modified: 2024-04-03 15:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NSLW 2024-03-31 16:32:11 UTC
Application: plasmashell (6.0.2)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.8.1-300.fc40.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora Linux 40 (KDE Plasma Prerelease)"
DrKonqi: 6.0.2 [CoredumpBackend]

-- Information about the crash:
I have Plasma5Support.DataSource which uses qdbus to check if the plasmoid is ready to go. After the check it sets interval to 0. It doesn't crash the plasmoid but later on a long LMB on it causes crash.

The crash can be reproduced every time.

-- Backtrace:
Application: plasmashell (plasmashell), signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 714547]
[New LWP 714557]
[New LWP 714558]
[New LWP 714657]
[New LWP 714560]
[New LWP 714561]
[New LWP 714562]
[New LWP 714564]
[New LWP 714565]
[New LWP 714591]
[New LWP 714594]
[New LWP 714644]
[New LWP 714566]
[New LWP 714654]
[New LWP 714646]
[New LWP 714659]
[New LWP 714670]
[New LWP 714555]
[New LWP 714673]
[New LWP 714556]
[New LWP 714549]
[New LWP 714548]
[New LWP 714563]
[New LWP 714552]
[New LWP 714550]
[New LWP 714554]
[New LWP 714658]
[New LWP 714559]
[New LWP 714553]
[New LWP 714655]
[New LWP 714656]
[New LWP 714576]
[New LWP 714595]
[New LWP 714596]
[New LWP 714551]
[New LWP 714669]
[New LWP 714590]
[New LWP 714647]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `plasmashell --replace'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f6053eab134 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f604f6f7b00 (LWP 714547))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f604f6f7b00 (LWP 714547))]

Thread 38 (Thread 0x7f5ffa0006c0 (LWP 714647)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f6024094ab6 in poll_func () from /lib64/libpulse.so.0
#2  0x00007f602407e424 in pa_mainloop_poll () from /lib64/libpulse.so.0
#3  0x00007f6024088d33 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4  0x00007f6024088df8 in pa_mainloop_run () from /lib64/libpulse.so.0
#5  0x00007f60240999ff in thread () from /lib64/libpulse.so.0
#6  0x00007f601ffdc8fb in internal_thread_func () from /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#7  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#8  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 37 (Thread 0x7f60156006c0 (LWP 714590)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f6053310724 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f60532b0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6054866de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f605459c053 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f60546a9bdf in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f60563aa5a4 in QQuickPixmapReader::run() () from /lib64/libQt6Quick.so.6
#7  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#9  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 36 (Thread 0x7f5fd56006c0 (LWP 714669)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e17b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f6056487119 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt6Quick.so.6
#4  0x00007f605648739a in QSGRenderThread::run() () from /lib64/libQt6Quick.so.6
#5  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#6  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#7  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 35 (Thread 0x7f6038e006c0 (LWP 714551)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 34 (Thread 0x7f6002a006c0 (LWP 714596)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 33 (Thread 0x7f60034006c0 (LWP 714595)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 32 (Thread 0x7f601ea006c0 (LWP 714576)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f6053310724 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f60532b0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6054866de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f605459c053 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f60546a9bdf in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#8  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 31 (Thread 0x7f5fd7e006c0 (LWP 714656)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 30 (Thread 0x7f5ff8c006c0 (LWP 714655)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 29 (Thread 0x7f602c2006c0 (LWP 714553)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 28 (Thread 0x7f60290006c0 (LWP 714559)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 27 (Thread 0x7f5fd6a006c0 (LWP 714658)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 26 (Thread 0x7f60278006c0 (LWP 714554)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 25 (Thread 0x7f60398006c0 (LWP 714550)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 24 (Thread 0x7f602cc006c0 (LWP 714552)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 23 (Thread 0x7f6025a006c0 (LWP 714563)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 22 (Thread 0x7f60418006c0 (LWP 714548)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f6053310724 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f60532b0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6054866de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f605459c053 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f60546a9bdf in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f60557480a1 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#9  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 21 (Thread 0x7f6040e006c0 (LWP 714549)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f605729c072 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007f605729dc8c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f604f668410 in QXcbEventQueue::run() () from /lib64/libQt6XcbQpa.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 20 (Thread 0x7f602ae006c0 (LWP 714556)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 19 (Thread 0x7f5fcbe006c0 (LWP 714673)):
#0  0x00007f6053f1dc00 in ppoll () from /lib64/libc.so.6
#1  0x00007f605473e1bd in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt6Core.so.6
#2  0x00007f60539687a0 in QNativeSocketEnginePrivate::nativeSelect(int, bool, bool, bool*, bool*) const () from /lib64/libQt6Network.so.6
#3  0x00007f60538f97f6 in QNativeSocketEngine::waitForReadOrWrite(bool*, bool*, bool, bool, int, bool*) () from /lib64/libQt6Network.so.6
#4  0x00007f60538f51e1 in QAbstractSocket::waitForReadyRead(int) () from /lib64/libQt6Network.so.6
#5  0x00007f60542cf57a in KIO::ConnectionBackend::waitForIncomingTask(int) () from /lib64/libKF6KIOCore.so.6
#6  0x00007f60543aebfd in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] () from /lib64/libKF6KIOCore.so.6
#7  0x00007f605438b5c3 in KIO::WorkerThread::run() () from /lib64/libKF6KIOCore.so.6
#8  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#9  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#10 0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 18 (Thread 0x7f602b8006c0 (LWP 714555)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 17 (Thread 0x7f5fd4c006c0 (LWP 714670)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e17b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f6056487119 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt6Quick.so.6
#4  0x00007f605648739a in QSGRenderThread::run() () from /lib64/libQt6Quick.so.6
#5  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#6  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#7  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 16 (Thread 0x7f5fd60006c0 (LWP 714659)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 15 (Thread 0x7f5ffaa006c0 (LWP 714646)):
#0  0x00007f6053f1d6cd in poll () from /lib64/libc.so.6
#1  0x00007f6053310724 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f60532b0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6054866e01 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f605459c053 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f60546a9bdf in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f60172bd28d in KCupsConnection::run() () from /lib64/libkcupslib.so.6.0.2
#7  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#9  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 14 (Thread 0x7f5ff96006c0 (LWP 714654)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 13 (Thread 0x7f601f4006c0 (LWP 714566)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f6039a7b9ab in util_queue_thread_func () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 12 (Thread 0x7f5ffb4006c0 (LWP 714644)):
#0  0x00007f6053f2b742 in epoll_wait () from /lib64/libc.so.6
#1  0x00007f6026e19416 in impl_pollfd_wait () from /usr/lib64/spa-0.2/support/libspa-support.so
#2  0x00007f6026e0b0c1 in loop_iterate () from /usr/lib64/spa-0.2/support/libspa-support.so
#3  0x00007f6026e682a3 in do_loop () from /lib64/libpipewire-0.3.so.0
#4  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#5  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f6003e006c0 (LWP 714594)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e17b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f6056487119 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt6Quick.so.6
#4  0x00007f605648739a in QSGRenderThread::run() () from /lib64/libQt6Quick.so.6
#5  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#6  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#7  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f6014c006c0 (LWP 714591)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f601fe006c0 (LWP 714565)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f60250006c0 (LWP 714564)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f60264006c0 (LWP 714562)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6026e006c0 (LWP 714561)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f60286006c0 (LWP 714560)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5fd74006c0 (LWP 714657)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea8642 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f605474e0fd in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f605474aeb3 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f605474562c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6029a006c0 (LWP 714558)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d262b in lp_cs_tpool_worker () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f602a4006c0 (LWP 714557)):
#0  0x00007f6053ea5909 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f6053ea82d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f6039a9dddd in cnd_wait () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f603a0d6183 in thread_function () from /usr/lib64/dri/swrast_dri.so
#4  0x00007f6039a9dd0c in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so
#5  0x00007f6053ea91a7 in start_thread () from /lib64/libc.so.6
#6  0x00007f6053f2b33c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f604f6f7b00 (LWP 714547)):
[KCrash Handler]
#4  0x00007f6057189744 in Plasma::Theme::color(Plasma::Theme::ColorRole, Plasma::Theme::ColorGroup) const () from /lib64/libPlasma.so.6
#5  0x00007f6038e0858e in PlasmaTheme::syncColors() [clone .part.0] () from /usr/lib64/qt6/plugins/kf6/kirigami/platform/KirigamiPlasmaStyle.so
#6  0x00007f60545f2684 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#7  0x00007f603806c6e1 in ItemContainer::setEditMode(bool) () from /usr/lib64/qt6/qml/org/kde/plasma/private/containmentlayoutmanager/libcontainmentlayoutmanagerplugin.so
#8  0x00007f60545f2684 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#9  0x00007f605460178d in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt6Core.so.6
#10 0x00007f60545e249f in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#11 0x00007f6056987f68 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#12 0x00007f605458f218 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#13 0x00007f6054743c46 in QTimerInfoList::activateTimers() () from /lib64/libQt6Core.so.6
#14 0x00007f6054866b21 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#15 0x00007f60532af68c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#16 0x00007f6053310788 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#17 0x00007f60532b0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007f6054866e01 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#19 0x00007f605459c053 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#20 0x00007f6054597ffc in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#21 0x000055e45fb20f65 in main ()

Reported using DrKonqi
Comment 1 NSLW 2024-03-31 17:24:04 UTC
Steps to reproduce:
1. git clone -b kf6-port --depth=1 https://github.com/wojnilowicz/workrave-applet.git
2. in workrave-applet/src/contents/ui/main.qml change
"interval = 100000 // Must be non-zero to not crash when entering edit mode of the plasmoid"
to
"interval = 0 // Must be non-zero to not crash when entering edit mode of the plasmoid"
3. plasmoidviewer -a ./workrave-applet/src
4. long press LMB on the plasmoid

Behavior:
Segmentation fault.

Expected behavior:
No segmentation fault.
Comment 2 Marco Martin 2024-04-02 15:00:56 UTC
can't reproduce
Comment 3 NSLW 2024-04-02 16:41:45 UTC
(In reply to Marco Martin from comment #2)
> can't reproduce

Ok, but you do have Workrave running and see timers ticking, correct? It won't crash if all that you see is a placeholder image of a sheep (that means no Workrave installed and running or no qdbus or qdbus-qt6 command detected).

Also please note that I tested it in an X11 session, because I have no access to Workrave beta as seen at https://github.com/rcaelers/workrave/releases/tag/v1_11_0_beta_11 that says it doesn't crash on Wayland.

Nevertheless I checked it second time and it still crashes on my side every time. Maybe it doesn't crash on your side because you have more recent plasmashell, which fixes this.

Would a coredump be any help to you?
Comment 4 NSLW 2024-04-02 16:43:49 UTC
And I checked it exactly according to the steps that I wrote on how to reproduce it.
Comment 5 Marco Martin 2024-04-03 08:13:37 UTC
(In reply to NSLW from comment #3)
> Ok, but you do have Workrave running and see timers ticking, correct? It
> won't crash if all that you see is a placeholder image of a sheep (that
> means no Workrave installed and running or no qdbus or qdbus-qt6 command
> detected).

yeah, i tried with workrave up and running.

> 
> Would a coredump be any help to you?

a complete coredump would be very useful indeed, thanks :)
Comment 6 NSLW 2024-04-03 15:48:34 UTC
(In reply to Marco Martin from comment #5)
> > Would a coredump be any help to you?
> 
> a complete coredump would be very useful indeed, thanks :)

Ok, I'm not sure what you mean by complete. I have a system generated one.
Too big to be attached here though, so please download at https://ufile.io/eyoke39v
Should there be any problem, please let me know.