Bug#430492: pcscd: daemon freezes when USB reader inserted or removed

2007-06-27 Thread Russell Stuart
On Tue, 2007-06-26 at 16:39 +0200, [EMAIL PROTECTED] wrote: > I am not sure pthread_cond_wait() would help here. From its manpage I see: > > ASYNC-SIGNAL SAFETY >The condition functions are not async-signal safe, and should not be >called from a signal handler. In particular,

Bug#430492: pcscd: daemon freezes when USB reader inserted or removed

2007-06-26 Thread ludovic . rousseau
Selon Russell Stuart <[EMAIL PROTECTED]>: > I am using pcsc with a USB CCID reader. Every so often it hangs. > The reason is revealed by this backtrace, which was captured > while it was hung: Very nice catch. > The attached patch fixes the problem by forcing hotplug reload > events to be handle

Bug#430492: pcscd: daemon freezes when USB reader inserted or removed

2007-06-25 Thread Russell Stuart
Package: pcscd Version: 1.4.3-1.1 Severity: important Tags: patch I am using pcsc with a USB CCID reader. Every so often it hangs. The reason is revealed by this backtrace, which was captured while it was hung: #0 0x4012a321 in pthread_setcanceltype () from /lib/tls/libc.so.6 #1 0x4011