2.3 --list-keys weirdness

Robert J. Hansen rjh at sixdemonbag.org
Tue Dec 7 08:07:51 CET 2021


> "gpgconf --kill all" solved my problem, but I'd still advise y'all to 
> look into where it got wedged and why -- this was an incredibly annoying 
> problem to solve, and the total lack of debugging output elevated it to 
> tremendously frustrating.

I'm such an idiot, I forgot I was sshed into another machine.

Nope, problem still exists, and gpgconf hangs just like everything else. 
  GnuPG is still unusable.

=====

rjh at ripley:~$ gdb --args gpgconf --kill all

[boilerplate stripped]

(gdb) run
Starting program: /usr/local/bin/gpgconf --kill all
[Detaching after fork from child process 101626]
[Detaching after fork from child process 101629]
[Detaching after fork from child process 101632]
[Detaching after fork from child process 101634]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff7d2b83a in __GI___wait4 (pid=pid at entry=101634,
     stat_loc=stat_loc at entry=0x7fffffffdd24, options=options at entry=0,
     usage=usage at entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30	../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
(gdb) backtrace
#0  0x00007ffff7d2b83a in __GI___wait4 (pid=pid at entry=101634,
     stat_loc=stat_loc at entry=0x7fffffffdd24, options=options at entry=0,
     usage=usage at entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00007ffff7d2b7fb in __GI___waitpid (pid=pid at entry=101634,
     stat_loc=stat_loc at entry=0x7fffffffdd24, options=options at entry=0)
     at waitpid.c:38
#2  0x0000555555570610 in gnupg_wait_process (
     pgmname=pgmname at entry=0x555555589eb0 
"/usr/local/bin/gpg-connect-agent",
     pid=101634, hang=hang at entry=1, r_exitcode=r_exitcode at entry=0x0)
     at exechelp-posix.c:672
#3  0x000055555555e0a3 in keyboxd_runtime_change (killflag=1)
     at gpgconf-comp.c:919
#4  0x000055555555d5e4 in do_runtime_change (component=3,
     killflag=killflag at entry=1) at gpgconf-comp.c:1018
#5  0x000055555555e5de in gc_component_kill (component=<optimized out>)
     at gpgconf-comp.c:1027
#6  0x000055555555bcbf in main (argc=<optimized out>, argv=<optimized out>)
     at gpgconf.c:793



More information about the Gnupg-users mailing list