Hi,

I’ll give you a short summary, on what I did so far:
- I installed the latest version of libusb-1.0-0 (libusbx 1.0.12 - debian 
package)
- I set up rsyslog and logrotate like Pete suggested
- I modified the /etc/init.d/pcscd script -> ‘export LIBUSB_DEBUG=3’
- I created the file /etc/default/pcscd to pass arguments to pcscd at startup 
-> ‘ DAEMON_ARGS=”--debug --apdu” ’

Setting the debug level to 4 had no impact on the logging behavior of pcscd. 
Only when started in foreground, pcscd provides detailed debug information of 
libusb in the console, but does not write them to the log file.

Yesterday the segmentation fault happened again (libusbx 1.0.12). Please find 
the log records below:
[syslog]
Jul  8 22:13:47 kernel: [81983.500136] show_signal_msg: 9 callbacks suppressed
Jul  8 22:13:47 kernel: [81983.500158] pcscd[897]: segfault at 8 ip 0087b538 sp 
b6f6a030 error 4 in libusb-1.0.so.0.1.0[876000+11000]

[pcscd.log]
[...]
Jul  8 22:12:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_STOP_WAITING_READER_STATE_CHANGE from client 1
Jul  8 22:12:20 pcscd: winscard_svc.c:389:ContextThread() 
CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 1
Jul  8 22:12:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 1
Jul  8 22:12:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_WAIT_READER_STATE_CHANGE from client 1
Jul  8 22:13:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_STOP_WAITING_READER_STATE_CHANGE from client 1
Jul  8 22:13:20 pcscd: winscard_svc.c:389:ContextThread() 
CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 1
Jul  8 22:13:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_GET_READERS_STATE from client 1
Jul  8 22:13:20 pcscd: winscard_svc.c:315:ContextThread() Received command: 
CMD_WAIT_READER_STATE_CHANGE from client 1
[EOF]

Unfortunately, pcscd did not log any errors.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to