Le 03/01/2016 15:38, Alessio Gaeta a écrit :
Package: pcscd
Version: 1.8.15-1
Severity: normal

Hello,

I'm trying to use my smart card reader, but pcscd segfaults while accessing the
smart card.

I'm not raising the importance of this bug because the problem could be the
smart card reader IFD-handler and/or the SC driver.

My card reader is an ACS ACR30U and I had to compile the handler from obsolete
source code found on internet (ACR30U_PCSC_LINUX_1_0.zip). The handler seems to
work.

In attachment there is the 'pcscd -f -a -d' log with the following operations:

1. Connect the reader
2. Insert the card (Italian CNS from Actalis, IDProtect software)
3. Executing 'opensc-tool -n -v'

The output of 3 is:

Using reader with a card: ACS ACR 30u 00 00
Connecting to card in reader ACS ACR 30u 00 00...
Using card driver Italian CNS.
Failed to lock card: No readers found

In system journal I found the line

kernel: traps: pcscd[25750] general protection ip:7f391f84576e sp:7f391e58c7f8
error:0 in libc-2.21.so[7f391f7b5000+19a000]

I also tried to install the IDProtect software supplied [1], but with no luck.
I could not configure OpenSC to use the custom SC driver either (I don't know
where I'm wrong).

I guess your problem comes from the ACS driver.

Try to run pcscd inside gdb to generate a backtrace.
Do something like:
$ sudo gdb /usr/sbin/pcscd
(gdb) set args -dfa
(gdb) run

then start opensc-tool
pcscd should crash

in gdb use:
(gdb) backtrace

Thanks

--
 Dr. Ludovic Rousseau

Reply via email to