Hi folks, I'm running a Linux-kernel 2.6.13 Debian system with libusb-0.1.11 support. For getting access to my ReinerSCT pinpad reader I am using the ctapi provided by the manufacturer and pcsc-lite-1.2.9-beta10. If I startup pcscd:
> pcscd --foreground --debug I get the familiar output showing: pcscdaemon.c:264:main() pcsc-lite 1.2.9-beta10 deamon ready hotplug_lubusb.c:406:HPAddHotPluggable() Adding USB device:003:002 readerfactory.c:1110:RFInitializeReader() Attempting to startup of REINER SCT CyberJack pp_a (9309306538) 00 00. readerfactory.c:952:RFBindFunctions) Loading IFD Handler 2.0 IFDHCreateChannel: Lun0, Channel 2097152 IFDHPresence: Lun 0 the output of IFDHPresence is a debug-output from REINER-SCT ctapi. If I now want to stop pcscd pressing Strg-C to use the "AraKiri"-behaviour, I got: IFDHGetCapabilities: Lun 0, Tag 4014, Length -1210531548 eventhandler.c:534:signal_trap() Preparing for suicide pcscdaemon.c:184:SVCServiceRunLoop() Entering AraKiri routine pcscdaemon.c:186:SVCServiceRunLoop() HPStopHotPluggable() IFDHPresence: Lun 0 hotplug_libusb.c:360:HPEstablishUSNotifications() Hotplug stopped IFDHPresence: Lun 0 IFDHPresence: Lun 0 IFDHPresence: Lun 0 IFDHPresence: Lun 0 pcscdaemon.c:191:SVCServiceRunLoop() RFCleanupReaders(1) readerfactory.c:1374:RFCLeanupReaders() Stopping reader: REINER SCT CyberJack ppa (9309306538) 00 00 eventhandler.c:104:EHDestroyEventHandler() Stomping thread And that is the last the system outputs. The the whole system is in stuck-state. No more keypresses or mouse-moves are recognized. Only a hard-reset awakes it again. Some lines are instrumented loglines by myself. Some typos might be in because I have to type it manually. What's ongoing there? Why will the system freeze? As far as I can see in EHDestroyEventHandler() the EHStatusHandlerThread should be cancelled by setting dwLockId to 0xFFFF. The pthread_detach() (SYS_ThreadDetach()) will be called successfully, but calling the pthread_exit() (SYS_ThreadExit()) will result in holding the whole system. Any ideas about that? Ciao, Georg _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
