2012/7/28  <sebasti...@gmx-topmail.de>:
>> On 2012.07.28 11:46:37, Ludovic Rousseau wrote:
>> Now you can use the core files to get the backtrace.
>>
>> Do:
>> $ gdb -c core
>> [...]
>> (gdb) backtrace
>
> I already did the backtrace for each core dump. Please have a look at the 
> txt-files.

Sorry. I missed these files.

(gdb) backtrace
#0  0x0054d538 in libusb_submit_transfer () from
/lib/i386-linux-gnu/libusb-1.0.so.0
#1  0x0054f368 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#2  0x001258a7 in CCIDDevSend (Lun=0, TxBuffer=0x9b28bb0 "k\b",
TxLength=18, ulEscapeSpecificTimeout=1000) at ./bus/usb/usb.c:1055
#3  0x00119fba in CCIDDevSendWrap (Lun=0, request=0x9b28bb0 "k\b",
slot=18) at ccid/common.c:901
#4  0x0011b2a8 in PC_to_RDR_Escape (Lun=0, slot=0x9b27be8,
pTxBuffer=0xb6ef623c "G\003\a?\006?+", dwTxLength=8,
pRxBuffer=0xb6ef61fc "\033\340\034\355\a?\006?+",
pdwRxLength=0xb6ef627c, fIsLocked=0 '\000') at ccid/common.c:3026
#5  0x0013068f in WriteMultipleRegisters (slot=0x9b27be8,
ucEnterAction=3 '\003', pbWriteBuffer=0xb6ef62b6 "\a?\006?+",
ulBytesToWrite=6) at ./okccid/rfid/rfid_fw5x.c:85
#6  0x0013079c in RC632ResetTimerUnit (psRFIDReader=0x9b27cb8) at
./okccid/rfid/rfid_fw5x.c:1436
#7  0x0012c56e in RFIDCardDetectAndTrack (pSlot=0x9b27be8) at
./okccid/rfid/rfid.c:2347
#8  0x0012dd30 in RFIDUpdateCurrentStateThread (pSlot=0x9b27be8) at
./okccid/rfid/rfid.c:593
#9  0x00a1fd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x00cd046e in clone () from /lib/i386-linux-gnu/libc.so.6

It looks like the thread is started by the okccid driver itlself and
not by pcscd.
You would get more detailed information by rebuilding libusbx with debug info.

You should report the bug to OmniKey since it comes from their driver.
Or maybe the bug is really inside libusb.

Good luck.

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
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