Package: pcscd
Version: 1.8.8-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

this bug also appears on version 1.8.4-1.

when using opensc eidenv pcscd segfaults with
pcscd[746] general protection ip:7ffb06387124 sp:7ffb043b4aa0 error:0 in 
libpthread-2.13.so[7ffb0637e000+17000]
after accessing the smartcard.

Running pcscd with debug output show the following log after eidenv execution:

00408139 eventhandler.c:446:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
30711973 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet 
arrival
00000123 winscard_msg_srv.c:242:ProcessEventsServer() 
ProcessCommonChannelRequest detects: 6
00000023 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is 
requested: 6
00002907 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=6, 
threadContext @0x1f50110
00000285 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from 
client 6
00000192 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000177 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 6
00000258 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT 
from client 6
00000199 winscard.c:193:SCardEstablishContext() Establishing Context: 0x60DE4DA5
00000177 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 
6
00000222 winscard_svc.c:317:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 6
00000210 winscard_svc.c:317:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 6
00000271 winscard_svc.c:317:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 6
00000281 winscard_svc.c:317:ContextThread() Received command: CONNECT from 
client 6
00000105 winscard.c:235:SCardConnect() Attempting Connect to SCL011 Contactless 
Reader [SCL01x Contactless Reader] (21161042229326) 00 00 using protocol: 3
00000029 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1
00025949 winscard.c:310:SCardConnect() power up complete.
00000532 Card ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 00 00 00 00 00 6B 
00000348 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE
00000203 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1
00000061 winscard.c:409:SCardConnect() Active Protocol: T=1
00000046 winscard.c:429:SCardConnect() hCard Identity: a69bbbd
00000043 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000203 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 6
00000160 winscard_svc.c:317:ContextThread() Received command: CONTROL from 
client 6
00000079 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
Segmentation fault

I am happy to debug and test on request.

Regards

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages pcscd depends on:
ii  adduser                     3.113+nmu3
ii  libc6                       2.13-38
ii  libccid [pcsc-ifd-handler]  1.4.7-1
ii  libpcsclite1                1.8.8-2
ii  libudev0                    175-7.1
ii  lsb-base                    4.1+Debian8

pcscd recommends no packages.

Versions of packages pcscd suggests:
pn  systemd  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to