Crash in GDBus worker thread
There's a report at https://bugs.kde.org/show_bug.cgi?id=466914 with the following stacktrace:
Stack trace of thread 4683:
#0 0x00007f91eb0a08ec n/a (libc.so.6 + 0x878ec)
#1 0x00007f91eb051ea8 raise (libc.so.6 + 0x38ea8)
#2 0x00007f91ec5dd7ef _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x77ef)
#3 0x00007f91eb051f50 n/a (libc.so.6 + 0x38f50)
#4 0x00007f91eb0a08ec n/a (libc.so.6 + 0x878ec)
#5 0x00007f91eb051ea8 raise (libc.so.6 + 0x38ea8)
#6 0x00007f91eb051f50 n/a (libc.so.6 + 0x38f50)
#7 0x00007f91eb0a08ec n/a (libc.so.6 + 0x878ec)
#8 0x00007f91eb051ea8 raise (libc.so.6 + 0x38ea8)
#9 0x00007f91b8655210 g_closure_invoke (libgobject-2.0.so.0 + 0x14210)
#10 0x00007f91b8682fe7 n/a (libgobject-2.0.so.0 + 0x41fe7)
#11 0x00007f91b8672f85 g_signal_emit_valist (libgobject-2.0.so.0 + 0x31f85)
#12 0x00007f91b8673214 g_signal_emit (libgobject-2.0.so.0 + 0x32214)
#13 0x00007f91b83293eb n/a (libgio-2.0.so.0 + 0xf73eb)
#14 0x00007f91ea51682b g_main_context_dispatch (libglib-2.0.so.0 + 0x5582b)
#15 0x00007f91ea56dcc9 n/a (libglib-2.0.so.0 + 0xaccc9)
#16 0x00007f91ea5150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
#17 0x00007f91b8228fde n/a (libdconfsettings.so + 0x5fde)
#18 0x00007f91ea543db5 n/a (libglib-2.0.so.0 + 0x82db5)
#19 0x00007f91eb09ebb5 n/a (libc.so.6 + 0x85bb5)
#20 0x00007f91eb120d90 n/a (libc.so.6 + 0x107d90)
That's the GDBus worker thread spawned by the dconf GSettingsBackend.
The reporter also included debug informations:
(gdb) bt full
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {0}}
ret = <optimized out>
#1 0x00007f91eb0a0953 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007f91eb051ea8 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x00007f91ec5dd7ef in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.103.0/src/kcrash.cpp:626
crashRecursionCounter = 3
#4 0x00007f91eb051f50 in <signal handler called> () at /usr/lib/libc.so.6
#5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {4294967233}}
ret = <optimized out>
#6 0x00007f91eb0a0953 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#7 0x00007f91eb051ea8 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#8 0x00007f91eb051f50 in <signal handler called> () at /usr/lib/libc.so.6
#9 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=15, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {140262558959936}}
ret = <optimized out>
#10 0x00007f91eb0a0953 in __pthread_kill_internal (signo=15, threadid=<optimized out>) at pthread_kill.c:78
#11 0x00007f91eb051ea8 in __GI_raise (sig=15) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#12 0x00007f91b8655210 in g_closure_invoke
(closure=0x7f916c008940, return_value=0x0, n_param_values=3, param_values=0x7f917e7fb970, invocation_hint=0x7f917e7fb8f0)
at ../glib/gobject/gclosure.c:832
marshal = 0x7f91b8657410 <g_type_class_meta_marshal>
marshal_data = 0x88
in_marshal = 0
real_closure = 0x7f916c008920
__func__ = "g_closure_invoke"
#13 0x00007f91b8682fe7 in signal_emit_unlocked_R.isra.0
(node=node@entry=0x7f916c008990, detail=detail@entry=0, instance=instance@entry=0x7f916c00a040, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7f917e7fb970) at ../glib/gobject/gsignal.c:3835
accumulator = 0x0
emission = {next = 0x0, instance = 0x7f916c00a040, ihint = {signal_id = 8, detail = 0, run_type = (G_SIGNAL_RUN_LAST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_RUN, chain_type = 0x56082f02a2e0 [None]}
hlist = <optimized out>
handler_list = 0x7f916c011480
return_accu = 0x0
accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 8
max_sequential_handler_number = 42
return_value_altered = <optimized out>
#14 0x00007f91b8672f85 in g_signal_emit_valist
(instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7f917e7fbb40)
at ../glib/gobject/gsignal.c:3549
instance_and_params = 0x7f917e7fb970
signal_return_type = <optimized out>
param_values = 0x7f917e7fb988
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#15 0x00007f91b8673214 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0)
at ../glib/gobject/gsignal.c:3606
var_args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7f917e7fbc20, reg_save_area = 0x7f917e7fbb60}}
#16 0x00007f91b83293eb in emit_closed_in_idle (user_data=0x7f91600083c0) at ../glib/gio/gdbusconnection.c:1375
result = 32657
#17 0x00007f91ea51682b in g_main_dispatch (context=0x56082f02b440) at ../glib/glib/gmain.c:3454
dispatch = 0x7f91ea514270 <g_idle_dispatch>
prev_source = 0x0
begin_time_nsec = 9385364666519
was_in_call = 0
user_data = 0x7f91600083c0
callback = 0x7f91b83293a0 <emit_closed_in_idle>
cb_funcs = 0x7f91ea5fe3e0 <g_source_callback_funcs>
cb_data = 0x56082f02fb40
need_destroy = <optimized out>
source = 0x7f9160009950
current = 0x7f916c002470
i = 0
#18 g_main_context_dispatch (context=0x56082f02b440) at ../glib/glib/gmain.c:4172
#19 0x00007f91ea56dcc9 in g_main_context_iterate.constprop.0 (context=0x56082f02b440, block=1, dispatch=1, self=<optimized out>)
at ../glib/glib/gmain.c:4248
max_priority = 0
timeout = 0
some_ready = 1
nfds = 1
allocated_nfds = <optimized out>
fds = <optimized out>
begin_time_nsec = 9385364664649
#20 0x00007f91ea5150e2 in g_main_context_iteration (context=context@entry=0x56082f02b440, may_block=may_block@entry=1)
at ../glib/glib/gmain.c:4313
retval = <optimized out>
#21 0x00007f91b8228fde in dconf_gdbus_worker_thread (user_data=0x56082f02b440) at ../dconf/gdbus/dconf-gdbus-thread.c:82
context = 0x56082f02b440
#22 0x00007f91ea543db5 in g_thread_proxy (data=0x56082f028180) at ../glib/glib/gthread.c:831
thread = 0x56082f028180
__func__ = "g_thread_proxy"
#23 0x00007f91eb09ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140264690280688, 744120251021244987, -232, 17, 140730676230784, 140262860898304, -760728376376051141, -760981348479681989}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#24 0x00007f91eb120d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Edited by Luca Bacci