Le Sunday 11 April 2004 � 15:51:39, John McBride a �crit:
> Next I tried the ccid-0.4.1 tarball from alioth and although it makes a 
> proper Info.plist it also kills my usb with a segfault when it shuts down:
> 
> pcscdaemon.c:144 SVCServiceRun: Client 6 has disappeared.
> eventhandler.c:378 EHSpawnEventHandler: Card Removed From SCR 331 0 0
> pcscdaemon.c:502 Preparing for suicide
> winscard_msg.c:235 SHMProcessEvents: Select returns with failure: 
> Interrupted system call
> pcscdaemon.c:179 SVCServiceRun: Error in SHMProcessEvents
> readerfactory.c:1683 RFCleanupReaders: entering cleaning function
> readerfactory.c:1688 Stopping reader: SCR 331 0 0
> eventhandler.c:123 EHDestroyEventHandler: Stomping thread.
> eventhandler.c:150 EHDestroyEventHandler: Thread stomped.
> readerfactory.c:1441 RFUninitializeReader: Attempting shutdown of SCR 
> 331 0 0.
> ifdhandler.c:166:IFDHCloseChannel lun: 0
> commands.c:202 Card absent or mute
> hotplug_libusb.c:378 Removing USB device[0]: 001:002
> eventhandler.c:114 EHDestroyEventHandler: Thread already stomped.
> readerfactory.c:1441 RFUninitializeReader: Attempting shutdown of SCR 
> 331 0 0.
> ifdhandler.c:166:IFDHCloseChannel lun: 0
> readerfactory.c:1263 RFUnloadReader: Unloading reader driver.
> Segmentation fault

This bug is strange. pcscd tries to stop the driver for the same reader
(SCR 331 0 0) _two_ times. Of course the second time some pointers are
NULL and the crash occurs.

Can you send me:
- the content of your /etc/reader.conf
- a complete log from the start of pcscd to the crash

I added some checks in pcscd but this will only prevent the crash, not
solve the problem.

Bye,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to