I am seeing the same issue on my laptop with debian testing (bookworm/sid).

Downgrading all installed packages from src:glib2.0 to version 2.74.0-1 fixes
the issue for me. Since the last update of gnome-keyring was several months
ago and glib2.0 2.74.0-2 migrated to testing on 03 Oct 2022, I suspect some
recent change in glib2.0 triggered this.

I briefly looked a the top frames of the stuck process in gdb and all of them
were in glib2 and glibc. I see randomly (I guess depending on timing) one of
these backtraces:

0x00007f89d2441614 in g_source_ref (source=source@entry=0x55af7fb2d400) at 
../../../glib/gmain.c:2285
Download failed: Invalid argument.  Continuing without source file 
./debian/build/deb/../../../glib/gmain.c.
2285    ../../../glib/gmain.c: No such file or directory.
(gdb) bt
#0  0x00007f89d2441614 in g_source_ref (source=source@entry=0x55af7fb2d400) at 
../../../glib/gmain.c:2285
#1  0x00007f89d2441700 in g_source_iter_next (iter=iter@entry=0x7ffeec1e7950, 
source=source@entry=0x7ffeec1e7948) at ../../../glib/gmain.c:1121
#2  0x00007f89d2442d9b in g_main_context_prepare 
(context=context@entry=0x55af7fb10de0, priority=priority@entry=0x7ffeec1e79d0) 
at ../../../glib/gmain.c:3738
#3  0x00007f89d2443873 in g_main_context_iterate (context=0x55af7fb10de0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at 
../../../glib/gmain.c:4218
#4  0x00007f89d2443c7f in g_main_loop_run (loop=0x55af7fb10ed0) at 
../../../glib/gmain.c:4438
#5  0x000055af7ef850c5 in main (argc=<optimized out>, argv=<optimized out>) at 
daemon/gkd-main.c:1166

0x00007f89d1efe32f in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f89d1efe32f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f89d244393e in g_main_context_poll (priority=<optimized out>, 
n_fds=2, fds=0x55af7fb2b760, timeout=<optimized out>, context=0x55af7fb10de0) 
at ../../../glib/gmain.c:4543
#2  g_main_context_iterate (context=0x55af7fb10de0, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4233
#3  0x00007f89d2443c7f in g_main_loop_run (loop=0x55af7fb10ed0) at 
../../../glib/gmain.c:4438
#4  0x000055af7ef850c5 in main (argc=<optimized out>, argv=<optimized out>) at 
daemon/gkd-main.c:1166

Reply via email to