after OS update I can't use my OpenPGP card anymore
Matthias Apitz
guru at unixarea.de
Mon Sep 25 07:18:40 CEST 2023
El día lunes, septiembre 25, 2023 a las 11:03:23a. m. +0900, NIIBE Yutaka escribió:
> Hello,
>
> Matthias Apitz <guru at unixarea.de> wrote:
> > After an update of FreeBSD from 13-CURRENT to 14-CURRENT I can't used
> > my OpenPGP card with the USB token anymore. In /var/log/messages
> > it says:
> [...]
> > Any hints how to debug this
>
> You can run scdaemon as a foreground process to debug. An example
> session is like:
>
> $ SOME_PATH_TO_scdaemon --debug-all --verbose --verbose --server
> ...
> SERIALNO
> ...
> BYE
> $
>
> (Here, "SERIALNO" and "BYE" is input from terminal by a user)
>
> Likewise, you can invoke scdaemon as a foreground process from GDB.
> Then, you may locate the place where it crashes.
> --
I run it in GDB as:
$ gdb /usr/local/libexec/scdaemon
...
r --debug-all --verbose --verbose --server
...
OK GNU Privacy Guard's Smartcard server ready
SERIALNO
[New LWP 101967 of process 2622]
Thread 2 "pipe-connection" received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
[Switching to LWP 101959 of process 2622]
0x0000000800434a57 in ?? () from /usr/local/lib/libgpg-error.so.0
(gdb) bt
#0 0x0000000800434a57 in ?? () from /usr/local/lib/libgpg-error.so.0
#1 0x00000008004314ef in ?? () from /usr/local/lib/libgpg-error.so.0
#2 0x00000008004304e4 in ?? () from /usr/local/lib/libgpg-error.so.0
#3 0x000000080042fdad in ?? () from /usr/local/lib/libgpg-error.so.0
#4 0x000000080042d5e3 in ?? () from /usr/local/lib/libgpg-error.so.0
#5 0x00000008004343ad in ?? () from /usr/local/lib/libgpg-error.so.0
#6 0x0000000800432bef in gpgrt_log_info ()
from /usr/local/lib/libgpg-error.so.0
#7 0x00000000002436e8 in ?? ()
...
I have to compile it by my own (and not install it as a FreeBSD pkg) and
with debug symbols.
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
More information about the Gnupg-users
mailing list