Dear Ludovic (et al).

Maybe this is already fixed on a newer version, but as this is the
first time i noticed it (on ubuntu 10.04.04), ill like to report and
guess what could be happening.

When installing our pkcs#11 module using mozilla modutil, the command hangs.
Enabling logs on our library, i can see it hangs doing a SCardCancel

More or less this is our trace:
        Loading openssl...
        establishContext...
                SCardEstablishContext...
        connect...
                SCardCancel...

We do a SCardCancel 'cause a GetStatusChange could be running and must
be "interrupted" to do all the connect code (select some dfs, read
some data...)

pcsclite version 1.5.3
libccid package version 1.3.11.1
no reader neither card are connected, but afaik, it will fail anyway
with a card present.

Using the command provided
http://pcsclite.alioth.debian.org/ccid.html#support, log.txt is empty,
so i copied the terminal output:

00000000 debuglog.c:224:DebugLogSetLevel() debug level=debug
00000023 debuglog.c:253:DebugLogSetCategory() Debug options: APDU
00000212 pcscdaemon.c:505:main() pcsc-lite 1.5.3 daemon ready.
00168487 hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver
ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active
polling instead.
00000023 hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling
forced every 1 second(s)
11090235 winscard_msg_srv.c:239:SHMProcessEventsServer() Common
channel packet arrival
00000036 winscard_msg_srv.c:248:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 5
00000006 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread
creation is requested: 5
00000070 winscard_svc.c:133:ContextThread() Thread is started: 5
00000020 winscard_msg_srv.c:317:SHMProcessEventsContext() command
CMD_VERSION received by client 5
00000004 winscard_svc.c:189:ContextThread() Client is protocol version 3:0
00000035 winscard_msg_srv.c:317:SHMProcessEventsContext() command
ESTABLISH_CONTEXT received by client 5
00000069 winscard.c:242:SCardEstablishContext() Establishing Context: 17021029
^C22825656 pcscdaemon.c:580:signal_trap() Preparing for suicide
00113995 hotplug_libusb.c:377:HPRescanUsbBus() Hotplug stopped
00886861 readerfactory.c:1267:RFCleanupReaders() entering cleaning function
00000036 pcscdaemon.c:530:at_exit() cleaning /var/run/pcscd
00000060 utils.c:115:StatSynchronize() status file:
/var/run/pcscd/pcscd.events/event.2620.17021029
00000025 utils.c:123:StatSynchronize() Can't open
/var/run/pcscd/pcscd.events/event.2620.17021029: No such device or
address

Awaiting for your answer.
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to