Bug 411221 - Crash in Plasma::Applet::configChanged on Applet destruction
Summary: Crash in Plasma::Applet::configChanged on Applet destruction
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
: 413903 413937 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-23 22:07 UTC by Alexey Min
Modified: 2019-11-08 11:49 UTC (History)
3 users (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 Alexey Min 2019-08-23 22:07:42 UTC
Application: plasmashell (5.16.4)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 5.2.9-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Plasmashell crashes each time when closing firefox.
Plasma-browser-inegration used.
Firefox version 68.0.2 (64-bit)

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7fbdb0065880 (LWP 20899))]

Thread 18 (Thread 0x7fbd5e43b700 (LWP 21080)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x563872061bcc) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x563872061b78, cond=0x563872061ba0) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x563872061ba0, mutex=0x563872061b78) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x563872061b40, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x563872061b40, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 17 (Thread 0x7fbd75ffb700 (LWP 21078)):
#0  0x00007fbdb3c41040 in __GI___libc_read (nbytes=16, buf=0x7fbd75ffaa40, fd=17) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fbdb3c41040 in __GI___libc_read (fd=17, buf=0x7fbd75ffaa40, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fbdb27b623f in g_wakeup_acknowledge (wakeup=0x7fbda4003590) at ../glib-2.60.6/glib/gwakeup.c:210
#3  0x00007fbdb275b5df in g_main_context_check (context=0x7fbd64000bf0, max_priority=2147483647, fds=0x7fbd64005470, n_fds=1) at ../glib-2.60.6/glib/gmain.c:3705
#4  0x00007fbdb275bb27 in g_main_context_iterate (context=0x7fbd64000bf0, block=1, dispatch=1, self=0x7fbda4004440) at ../glib-2.60.6/glib/gmain.c:3924
#5  0x00007fbdb275bc14 in g_main_context_iteration (context=0x7fbd64000bf0, may_block=1) at ../glib-2.60.6/glib/gmain.c:3988
#6  0x00007fbdb42a73a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbd64000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fbdb4219747 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbd75ffacc0, flags=...) at kernel/qeventloop.cpp:138
#8  0x00007fbdb4219a45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbd75ffacc0, flags=...) at kernel/qeventloop.cpp:225
#9  0x00007fbdb3fdb523 in QThread::exec() (this=0x563871f4bcf0) at thread/qthread.cpp:531
#10 0x00007fbdb5d753b6 in QQuickPixmapReader::run() (this=0x563871f4bcf0) at util/qquickpixmapcache.cpp:953
#11 0x00007fbdb3fde1d8 in QThreadPrivate::start(void*) (arg=0x563871f4bcf0) at thread/qthread_unix.cpp:361
#12 0x00007fbdb3460458 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007fbdb3c5180f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fbd767fc700 (LWP 21033)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a8d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a880, cond=0x56387153a8a8) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a8a8, mutex=0x56387153a880) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a848, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a848, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 15 (Thread 0x7fbd76ffd700 (LWP 21032)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a8d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a880, cond=0x56387153a8a8) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a8a8, mutex=0x56387153a880) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a848, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a848, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 14 (Thread 0x7fbd777fe700 (LWP 21031)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a8d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a880, cond=0x56387153a8a8) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a8a8, mutex=0x56387153a880) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a848, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a848, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 13 (Thread 0x7fbd77fff700 (LWP 21030)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a8d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a880, cond=0x56387153a8a8) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a8a8, mutex=0x56387153a880) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a848, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a848, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 12 (Thread 0x7fbd94eb8700 (LWP 21029)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a350) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 11 (Thread 0x7fbd956b9700 (LWP 21028)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a354) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 10 (Thread 0x7fbd95eba700 (LWP 21027)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a354) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 9 (Thread 0x7fbd966bb700 (LWP 21026)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a350) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 8 (Thread 0x7fbd96ebc700 (LWP 21025)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a350) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 7 (Thread 0x7fbd976bd700 (LWP 21024)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153a350) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56387153a300, cond=0x56387153a328) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x56387153a328, mutex=0x56387153a300) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x56387153a2c8, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x56387153a2c8, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 6 (Thread 0x7fbd97ebe700 (LWP 21023)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x563871509198) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x563871509148, cond=0x563871509170) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x563871509170, mutex=0x563871509148) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x563871509110, mach=0x563871509118) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x563871509118, inst=0x563871509110, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 5 (Thread 0x7fbd9c886700 (LWP 21022)):
#0  0x00007fbdb346714c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56387153589c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fbdb346714c in __pthread_cond_wait_common (abstime=0x0, mutex=0x563871535848, cond=0x563871535870) at pthread_cond_wait.c:502
#2  0x00007fbdb346714c in __pthread_cond_wait (cond=0x563871535870, mutex=0x563871535848) at pthread_cond_wait.c:655
#3  0x00007fbd9f90e7bb in exec_dp3 (inst=0x563871535810, mach=0x0) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:3263
#4  0x00007fbd9f90e7bb in exec_instruction (mach=0x0, inst=0x563871535810, pc=<optimized out>) at ../mesa-19.2.0-rc1/src/gallium/auxiliary/tgsi/tgsi_exec.c:5279
#5  0x0000000000000000 in  ()

Thread 4 (Thread 0x7fbdadabe700 (LWP 20997)):
#0  0x00007fbdb42a66a4 in timerSourcePrepareHelper(GTimerSource*, gint*) (src=0x7fbda40048c0, timeout=0x7fbdadabdabc) at kernel/qeventdispatcher_glib.cpp:132
#1  0x00007fbdb42a68a9 in timerSourcePrepare(GSource*, gint*) (source=0x7fbda40048c0, timeout=0x7fbdadabdabc) at kernel/qeventdispatcher_glib.cpp:165
#2  0x00007fbdb275b152 in g_main_context_prepare (context=0x7fbda4000bf0, priority=0x7fbdadabdb58) at ../glib-2.60.6/glib/gmain.c:3499
#3  0x00007fbdb275ba68 in g_main_context_iterate (context=0x7fbda4000bf0, block=1, dispatch=1, self=0x7fbda0004890 <log2_table+167728>) at ../glib-2.60.6/glib/gmain.c:3907
#4  0x00007fbdb275bc14 in g_main_context_iteration (context=0x7fbda4000bf0, may_block=1) at ../glib-2.60.6/glib/gmain.c:3988
#5  0x00007fbdb42a73a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbda4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fbdb4219747 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbdadabdce0, flags=...) at kernel/qeventloop.cpp:138
#7  0x00007fbdb4219a45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbdadabdce0, flags=...) at kernel/qeventloop.cpp:225
#8  0x00007fbdb3fdb523 in QThread::exec() (this=0x56387119fc90) at thread/qthread.cpp:531
#9  0x00007fbdb5aa4df5 in QQmlThreadPrivate::run() (this=0x56387119fc90) at qml/ftw/qqmlthread.cpp:148
#10 0x00007fbdb3fde1d8 in QThreadPrivate::start(void*) (arg=0x56387119fc90) at thread/qthread_unix.cpp:361
#11 0x00007fbdb3460458 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007fbdb3c5180f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbdaecef700 (LWP 20958)):
#0  0x00007fbdb3c41040 in __GI___libc_read (nbytes=16, buf=0x7fbdaeceea50, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fbdb3c41040 in __GI___libc_read (fd=7, buf=0x7fbdaeceea50, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fbdb27b623f in g_wakeup_acknowledge (wakeup=0x5638711221b0) at ../glib-2.60.6/glib/gwakeup.c:210
#3  0x00007fbdb275b5df in g_main_context_check (context=0x7fbda0000bf0 <log2_table+152208>, max_priority=2147483647, fds=0x7fbda0076e60, n_fds=1) at ../glib-2.60.6/glib/gmain.c:3705
#4  0x00007fbdb275bb27 in g_main_context_iterate (context=0x7fbda0000bf0 <log2_table+152208>, block=1, dispatch=1, self=0x56387111db00) at ../glib-2.60.6/glib/gmain.c:3924
#5  0x00007fbdb275bc14 in g_main_context_iteration (context=0x7fbda0000bf0 <log2_table+152208>, may_block=1) at ../glib-2.60.6/glib/gmain.c:3988
#6  0x00007fbdb42a73a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbda0000b20 <log2_table+152000>, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fbdb4219747 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbdaeceecd0, flags=...) at kernel/qeventloop.cpp:138
#8  0x00007fbdb4219a45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbdaeceecd0, flags=...) at kernel/qeventloop.cpp:225
#9  0x00007fbdb3fdb523 in QThread::exec() (this=0x7fbdb4ba8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#10 0x00007fbdb4b28565 in QDBusConnectionManager::run() (this=0x7fbdb4ba8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#11 0x00007fbdb3fde1d8 in QThreadPrivate::start(void*) (arg=0x7fbdb4ba8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#12 0x00007fbdb3460458 in start_thread (arg=<optimized out>) at pthread_create.c:486
#13 0x00007fbdb3c5180f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbdaf95a700 (LWP 20912)):
#0  0x00007fbdb3c45763 in __GI___poll (fds=fds@entry=0x7fbdaf959bf8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbdb61e5cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7fbdaf959bf8) at /usr/include/bits/poll2.h:46
#2  0x00007fbdb61e5cf7 in _xcb_conn_wait (c=c@entry=0x5638710c04d0, cond=cond@entry=0x5638710c0510, vector=vector@entry=0x0, count=count@entry=0x0) at /usr/src/debug/x11-libs/libxcb-1.13.1/libxcb-1.13.1/src/xcb_conn.c:479
#3  0x00007fbdb61e792a in xcb_wait_for_event (c=c@entry=0x5638710c04d0) at /usr/src/debug/x11-libs/libxcb-1.13.1/libxcb-1.13.1/src/xcb_in.c:697
#4  0x00007fbdafab0648 in QXcbEventQueue::run() (this=0x5638710d4d10) at qxcbeventqueue.cpp:228
#5  0x00007fbdb3fde1d8 in QThreadPrivate::start(void*) (arg=0x5638710d4d10) at thread/qthread_unix.cpp:361
#6  0x00007fbdb3460458 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007fbdb3c5180f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbdb0065880 (LWP 20899)):
[KCrash Handler]
#7  0x00007fbdb4584c08 in typeinfo for QMetaCallEvent () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbdb6133ad9 in Plasma::Applet::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at src/plasma/KF5Plasma_autogen/include/moc_applet.cpp:244
#9  0x00007fbdb4262815 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x563873c70c20, signalOffset=3, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3795
#10 0x00007fbdb426200e in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x563873c70c20, m=0x7fbdb4c0e360 <KCoreConfigSkeleton::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3648
#11 0x00007fbdb4bc50d0 in KCoreConfigSkeleton::configChanged() (this=this@entry=0x563873c70c20) at src/core/KF5ConfigCore_autogen/EWIEGA46WW/moc_kcoreconfigskeleton.cpp:143
#12 0x00007fbdb4becd65 in KCoreConfigSkeleton::save() (this=0x563873c70c20) at /usr/src/debug/kde-frameworks/kconfig-5.61.0/kconfig-5.61.0/src/core/kcoreconfigskeleton.cpp:1109
#13 0x00007fbdb60f157a in KDeclarative::ConfigPropertyMapPrivate::writeConfig() (this=0x56387235f9b0) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:390
#14 0x00007fbdb60f157a in KDeclarative::ConfigPropertyMapPrivate::writeConfig() (this=0x56387235f9b0) at /usr/src/debug/kde-frameworks/kdeclarative-5.61.0/kdeclarative-5.61.0/src/kdeclarative/configpropertymap.cpp:110
#15 0x00007fbdb60f15db in KDeclarative::ConfigPropertyMap::~ConfigPropertyMap() (this=0x563874668660, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/kdeclarative-5.61.0/kdeclarative-5.61.0/src/kdeclarative/configpropertymap.cpp:72
#16 0x00007fbdb60f1629 in KDeclarative::ConfigPropertyMap::~ConfigPropertyMap() (this=0x563874668660, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/kdeclarative-5.61.0/kdeclarative-5.61.0/src/kdeclarative/configpropertymap.cpp:70
#17 0x00007fbdb425d721 in QObjectPrivate::deleteChildren() (this=0x563873cf0fe0) at kernel/qobject.cpp:2010
#18 0x00007fbdb425bd20 in QObject::~QObject() (this=0x56387478dfd0, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#19 0x00007fbdb5e3e6ca in QQuickItem::~QQuickItem() (this=0x56387478dfd0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2443
#20 0x00007fbdb663e46c in PlasmaQuick::AppletQuickItem::~AppletQuickItem() (this=0x56387478dfd0, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:303
#21 0x00007fbdac848099 in AppletInterface::~AppletInterface() (this=0x56387478dfd0, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/scriptengines/qml/plasmoid/appletinterface.cpp:150
#22 0x00007fbdb425d721 in QObjectPrivate::deleteChildren() (this=0x5638747107f0) at kernel/qobject.cpp:2010
#23 0x00007fbdb425bd20 in QObject::~QObject() (this=0x563873ce3c80, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#24 0x00007fbdac844014 in DeclarativeAppletScript::~DeclarativeAppletScript() (this=0x563873ce3c80, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp:69
#25 0x00007fbdac844014 in DeclarativeAppletScript::~DeclarativeAppletScript() (this=0x563873ce3c80, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp:71
#26 0x00007fbdb6148f4b in Plasma::AppletPrivate::~AppletPrivate() (this=0x5638740c60e0, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/plasma/private/applet_p.cpp:107
#27 0x00007fbdb6149159 in Plasma::AppletPrivate::~AppletPrivate() (this=0x5638740c60e0, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/plasma/private/applet_p.cpp:96
#28 0x00007fbdb61320c9 in Plasma::Applet::~Applet() (this=0x563874191380, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/plasma/applet.cpp:144
#29 0x00007fbdb61320e9 in Plasma::Applet::~Applet() (this=0x563874191380, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/plasma-5.61.0/plasma-framework-5.61.0/src/plasma/applet.cpp:136
#30 0x00007fbdb42642af in qDeleteInEventHandler(QObject*) (o=0x563874191380) at kernel/qobject.cpp:4649
#31 0x00007fbdb425c024 in QObject::event(QEvent*) (this=0x563874191380, e=0x7fbda007bc80) at kernel/qobject.cpp:1251
#32 0x00007fbdb4d99541 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5638710b1560, receiver=receiver@entry=0x563874191380, e=e@entry=0x7fbda007bc80) at kernel/qapplication.cpp:3736
#33 0x00007fbdb4da0910 in QApplication::notify(QObject*, QEvent*) (this=0x7fff6d24ab60, receiver=0x563874191380, e=0x7fbda007bc80) at kernel/qapplication.cpp:3483
#34 0x00007fbdb421c993 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x563874191380, event=0x7fbda007bc80) at kernel/qcoreapplication.cpp:1060
#35 0x00007fbdb421d31e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x563874191380, event=0x7fbda007bc80) at kernel/qcoreapplication.cpp:1450
#36 0x00007fbdb421deec in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5638710a6690) at kernel/qcoreapplication.cpp:1799
#37 0x00007fbdb421d8a2 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1653
#38 0x00007fbdb42a6bc7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x563871108a50) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007fbdb275a9e5 in g_main_dispatch (context=0x7fbda8004fd0) at ../glib-2.60.6/glib/gmain.c:3189
#40 0x00007fbdb275b949 in g_main_context_dispatch (context=0x7fbda8004fd0) at ../glib-2.60.6/glib/gmain.c:3854
#41 0x00007fbdb275bb3c in g_main_context_iterate (context=0x7fbda8004fd0, block=1, dispatch=1, self=0x7fbda8004d60) at ../glib-2.60.6/glib/gmain.c:3927
#42 0x00007fbdb275bc14 in g_main_context_iteration (context=0x7fbda8004fd0, may_block=1) at ../glib-2.60.6/glib/gmain.c:3988
#43 0x00007fbdb42a7372 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56387111c7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007fbdb4219747 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff6d24aa60, flags=...) at kernel/qeventloop.cpp:138
#45 0x00007fbdb4219a45 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff6d24aa60, flags=...) at kernel/qeventloop.cpp:225
#46 0x00007fbdb421d170 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1363
#47 0x000056386f261283 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-plasma/plasma-workspace-5.16.4/plasma-workspace-5.16.4/shell/main.cpp:215
[Inferior 1 (process 20899) detached]

Reported using DrKonqi
Comment 1 Alexey Min 2019-09-01 19:37:09 UTC
cannot reproduce anymore :(
Comment 2 David Edmundson 2019-09-02 09:53:40 UTC
Better trace:

Thread 1 (Thread 0x7f4e26bcf140 (LWP 13395)):
[KCrash Handler]
#6  0x00007f4e23c83b08 in typeinfo for QMetaCallEvent () at /opt/qt5/lib/libQt5Core.so.5
#7  0x00007f4e26af64a8 in Plasma::Applet::configChanged() (this=0x5627a6b37310) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:736
#8  0x00007f4e26b173ed in Plasma::AppletPrivate::propagateConfigChanged() (this=0x5627a6adb8d0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/private/applet_p.cpp:442
#9  0x00007f4e26af6f30 in Plasma::Applet::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5627a6b37310, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7ffd81e50550) at src/plasma/KF5Plasma_autogen/include/moc_applet.cpp:245
#10 0x00007f4e2392b86d in QMetaObject::activate(QObject*, int, int, void**) (sender=0x5627a6b351b0, signalOffset=3, local_signal_index=0, argv=0x7ffd81e50550) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3809
#11 0x00007f4e2392b08a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x5627a6b351b0, m=0x7f4e24610028 <KCoreConfigSkeleton::staticMetaObject>, local_signal_index=0, argv=0x0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3660
#12 0x00007f4e245a6992 in KCoreConfigSkeleton::configChanged() (this=0x5627a6b351b0) at src/core/KF5ConfigCore_autogen/EWIEGA46WW/moc_kcoreconfigskeleton.cpp:144
#13 0x00007f4e245d96ff in KCoreConfigSkeleton::save() (this=0x5627a6b351b0) at /home/david/projects/kde5/src/frameworks/kconfig/src/core/kcoreconfigskeleton.cpp:1109
#14 0x00007f4e26a925a9 in KDeclarative::ConfigPropertyMapPrivate::writeConfig() (this=0x5627a6b34e50) at /home/david/projects/kde5/src/frameworks/kdeclarative/src/kdeclarative/configpropertymap.cpp:121
#15 0x00007f4e26a9243e in KDeclarative::ConfigPropertyMap::~ConfigPropertyMap() (this=0x5627a6b34e30) at /home/david/projects/kde5/src/frameworks/kdeclarative/src/kdeclarative/configpropertymap.cpp:71
#16 0x00007f4e26a92609 in KDeclarative::ConfigPropertyMap::~ConfigPropertyMap() (this=0x5627a6b34e30) at /home/david/projects/kde5/src/frameworks/kdeclarative/src/kdeclarative/configpropertymap.cpp:70
#17 0x00007f4e2392620f in QObjectPrivate::deleteChildren() (this=0x5627a6b33e30) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2019
#18 0x00007f4e23924775 in QObject::~QObject() (this=0x5627a6b33220, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1032
#19 0x00007f4e2664512b in QQuickItem::~QQuickItem() (this=0x5627a6b33220, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtdeclarative/src/quick/items/qquickitem.cpp:2383
#20 0x00007f4e271c6aca in PlasmaQuick::AppletQuickItem::~AppletQuickItem() (this=0x5627a6b33220) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasmaquick/appletquickitem.cpp:525
#21 0x00007f4e1c8cfabb in AppletInterface::~AppletInterface() (this=0x5627a6b33220) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/appletinterface.cpp:152
#22 0x00007f4e1c8cfb09 in AppletInterface::~AppletInterface() (this=0x5627a6b33220) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/appletinterface.cpp:151
#23 0x00007f4e2392620f in QObjectPrivate::deleteChildren() (this=0x5627a6b0e6c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2019
#24 0x00007f4e23924775 in QObject::~QObject() (this=0x5627a6b32fc0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1032
#25 0x00007f4e26b7cec5 in Plasma::ScriptEngine::~ScriptEngine() (this=0x5627a6b32fc0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/scripting/scriptengine.cpp:61
#26 0x00007f4e26b7bb2c in Plasma::AppletScript::~AppletScript() (this=0x5627a6b32fc0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/scripting/appletscript.cpp:47
#27 0x00007f4e1c8c93ed in DeclarativeAppletScript::~DeclarativeAppletScript() (this=0x5627a6b32fc0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp:71
#28 0x00007f4e1c8c9419 in DeclarativeAppletScript::~DeclarativeAppletScript() (this=0x5627a6b32fc0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp:70
#29 0x00007f4e26b13c4a in Plasma::AppletPrivate::~AppletPrivate() (this=0x5627a6adb8d0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/private/applet_p.cpp:107
#30 0x00007f4e26b13d89 in Plasma::AppletPrivate::~AppletPrivate() (this=0x5627a6adb8d0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/private/applet_p.cpp:97
#31 0x00007f4e26af3178 in Plasma::Applet::~Applet() (this=0x5627a6b37310) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:144
#32 0x00007f4e26af3229 in Plasma::Applet::~Applet() (this=0x5627a6b37310) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:137
#33 0x00007f4e2392620f in QObjectPrivate::deleteChildren() (this=0x5627a4d17480) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2019
#34 0x00007f4e23924775 in QObject::~QObject() (this=0x5627a4d18da0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1032
#35 0x00007f4e26af3184 in Plasma::Applet::~Applet() (this=0x5627a4d18da0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:145
#36 0x00007f4e26af9fd6 in Plasma::Containment::~Containment() (this=0x5627a4d18da0) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/containment.cpp:88
#37 0x00007f4e1c062c7d in SystemTray::~SystemTray() (this=0x5627a4d18da0) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/applets/systemtray/systemtray.cpp:70
#38 0x00007f4e1c062ca9 in SystemTray::~SystemTray() (this=0x5627a4d18da0) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/applets/systemtray/systemtray.cpp:69
#39 0x00007f4e2392620f in QObjectPrivate::deleteChildren() (this=0x5627a4cda350) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2019
#40 0x00007f4e23924775 in QObject::~QObject() (this=0x5627a4cda310, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1032
#41 0x00007f4e26af3184 in Plasma::Applet::~Applet() (this=0x5627a4cda310) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:145
#42 0x00007f4e1c0a4b2e in SystemTrayContainer::~SystemTrayContainer() (this=0x5627a4cda310) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/applets/systemtray/container/systemtraycontainer.cpp:39
#43 0x00007f4e1c0a4b59 in SystemTrayContainer::~SystemTrayContainer() (this=0x5627a4cda310) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/applets/systemtray/container/systemtraycontainer.cpp:35
#44 0x00007f4e2392620f in QObjectPrivate::deleteChildren() (this=0x5627a4ca1dc0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2019
#45 0x00007f4e23924775 in QObject::~QObject() (this=0x5627a4ca2470, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1032
#46 0x00007f4e26af3184 in Plasma::Applet::~Applet() (this=0x5627a4ca2470) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/applet.cpp:145
#47 0x00007f4e26af9fd6 in Plasma::Containment::~Containment() (this=0x5627a4ca2470) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/containment.cpp:88
#48 0x00007f4e26af9ff9 in Plasma::Containment::~Containment() (this=0x5627a4ca2470) at /home/david/projects/kde5/src/frameworks/plasma-framework/src/plasma/containment.cpp:85
#49 0x00005627a2c1913d in ShellCorona::~ShellCorona() (this=0x5627a49847f0) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:225
#50 0x00005627a2c192c9 in ShellCorona::~ShellCorona() (this=0x5627a49847f0) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/shell/shellcorona.cpp:222
#51 0x00007f4e2392d4a3 in qDeleteInEventHandler(QObject*) (o=0x5627a49847f0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:4661
#52 0x00007f4e23924aa2 in QObject::event(QEvent*) (this=0x5627a49847f0, e=0x5627a6d2f4c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1251
#53 0x00007f4e247e92c2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x5627a490ed90, receiver=0x5627a49847f0, e=0x5627a6d2f4c0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3703
#54 0x00007f4e247e6689 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd81e51f18, receiver=0x5627a49847f0, e=0x5627a6d2f4c0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3059
#55 0x00007f4e238dee85 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5627a49847f0, event=0x5627a6d2f4c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1095
#56 0x00007f4e238df892 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x5627a49847f0, event=0x5627a6d2f4c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1490
#57 0x00007f4e238e049f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=52, data=0x5627a4904670) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1840
#58 0x00007f4e238dfe00 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=52) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1694
#59 0x00007f4e238df7c3 in QCoreApplicationPrivate::execCleanup() (this=0x5627a490ed90) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1425
#60 0x00007f4e238df718 in QCoreApplication::exec() () at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1407
#61 0x00007f4e23dca630 in QGuiApplication::exec() () at /home/david/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1788
#62 0x00007f4e247e5ebf in QApplication::exec() () at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2859
#63 0x00005627a2be92f2 in main(int, char**) (argc=2, argv=0x7ffd81e52068) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/shell/main.cpp:219
[Inferior 1 (process 13395) detached]
Comment 3 David Edmundson 2019-09-02 18:47:03 UTC
Cause is quite interesting.

Crash is inside Applet destructor

after "delete d"
but before Applet goes up to it's own superclass destructor QObject::~QObject which disconnects everything

we get a signal on the config changing (which is legit) we then get to a signal on our applet that uses Q_PRIVATE_SLOT, the context (the applet) is alive, the d-pointer is gone.
Comment 4 David Edmundson 2019-09-07 21:19:12 UTC
Git commit 5f746ce1c2c2d5a8c1be4f62347e18534d95e29d by David Edmundson.
Committed on 07/09/2019 at 21:19.
Pushed by davidedmundson into branch 'master'.

Fix crash on teardown with Applet's ConfigLoader

Summary:
Deleting AppletPrivate will delete the ConfigLoader which will cause a
save, which can trigger a configSaved signal.

I think it is correct that the config might emit a signal just before
closing, and not at fault.

AppletPrivate is deleted by this point, but Applet is not so the
connection is still alive.

When we handle the signal, it goes into a Q_PRIVATE_SLOT that crashes.

This disconnect pattern is already used for guarding self config
changes.

Test Plan: kquitapp5 plasmashell, no longer crashes

Reviewers: #plasma, alexeymin

Reviewed By: alexeymin

Subscribers: alexeymin, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D23707

M  +4    -0    src/plasma/applet.cpp

https://commits.kde.org/plasma-framework/5f746ce1c2c2d5a8c1be4f62347e18534d95e29d
Comment 5 David Edmundson 2019-11-07 10:39:27 UTC
*** Bug 413903 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2019-11-08 11:49:18 UTC
*** Bug 413937 has been marked as a duplicate of this bug. ***