> On 2012.07.28 12:06, Ludovic Rousseau wrote:
> You would get more detailed information by rebuilding libusbx with debug
> info.
As you suggested, I compiled libusbx with debug info.

I'd like you to have a final look at the attached backtrace and confirm
that the segmentation fault is related to a bug in the Omnikey driver.

Please let me know if you need anything else from the backtrace.

Thank you very much in advance.

=========
Regards

Sebastian
=========
gdb /usr/sbin/pcscd core
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/pcscd...done.
[New Thread 899]
[New Thread 900]
[New Thread 1641]
[New Thread 890]
[New Thread 891]
Reading symbols from /lib/i386-linux-gnu/libusb-1.0.so.0...done.
Loaded symbols for /lib/i386-linux-gnu/libusb-1.0.so.0
Reading symbols from /lib/i386-linux-gnu/libdl.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/i386-linux-gnu/libdl.so.2
Reading symbols from /lib/i386-linux-gnu/librt.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/i386-linux-gnu/librt.so.1
Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0
Reading symbols from /lib/i386-linux-gnu/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/i386-linux-gnu/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from 
/usr/lib/pcsc/drivers/ifdokrfid_lnx_i686-2.10.0.1.bundle/Contents/Linux/ifdokrfid.so...done.
Loaded symbols for 
/usr/lib/pcsc/drivers/ifdokrfid_lnx_i686-2.10.0.1.bundle/Contents/Linux/ifdokrfid.so
Reading symbols from /lib/libpcsclite.so.1...done.
Loaded symbols for /lib/libpcsclite.so.1
Core was generated by `/usr/sbin/pcscd --debug --apdu'.
Program terminated with signal 11, Segmentation fault.
#0  0x00697e9b in add_to_flying_list (transfer=0xb6600468) at io.c:1185
1185    io.c: Datei oder Verzeichnis nicht gefunden.
        in io.c

(gdb) backtrace
#0  0x00697e9b in add_to_flying_list (transfer=0xb6600468) at io.c:1185
#1  0x006980d7 in libusb_submit_transfer (transfer=0xb660049c) at io.c:1306
#2  0x0069a1ec in do_sync_bulk_transfer (dev_handle=0x9089150, endpoint=5 
'\005',
    buffer=0x908abb0 "k\b", length=18, transferred=0xb6fbb13c, timeout=1000, 
type=2 '\002')
    at sync.c:175
#3  0x0069a373 in libusb_bulk_transfer (dev_handle=0x9089150, endpoint=5 '\005',
    data=0x908abb0 "k\b", length=18, transferred=0xb6fbb13c, timeout=1000) at 
sync.c:270
#4  0x004d48a7 in CCIDDevSend (Lun=0, TxBuffer=0x908abb0 "k\b", TxLength=18,
    ulEscapeSpecificTimeout=1000) at ./bus/usb/usb.c:1055
#5  0x004c8fba in CCIDDevSendWrap (Lun=0, request=0x908abb0 "k\b", slot=18)
    at ccid/common.c:901
#6  0x004ca2a8 in PC_to_RDR_Escape (Lun=0, slot=0x9089be8,
    pTxBuffer=0xb6fbb23c "G\003\a?\006?+", dwTxLength=8,
    pRxBuffer=0xb6fbb1fc "\033\340\034\355\a?\006?+", pdwRxLength=0xb6fbb27c,
    fIsLocked=0 '\000') at ccid/common.c:3026
#7  0x004df68f in WriteMultipleRegisters (slot=0x9089be8, ucEnterAction=3 
'\003',
    pbWriteBuffer=0xb6fbb2b6 "\a?\006?+", ulBytesToWrite=6) at 
./okccid/rfid/rfid_fw5x.c:85
#8  0x004df79c in RC632ResetTimerUnit (psRFIDReader=0x9089cb8)
    at ./okccid/rfid/rfid_fw5x.c:1436
#9  0x004db56e in RFIDCardDetectAndTrack (pSlot=0x9089be8) at 
./okccid/rfid/rfid.c:2347
#10 0x004dcd30 in RFIDUpdateCurrentStateThread (pSlot=0x9089be8) at 
./okccid/rfid/rfid.c:593
#11 0x00738d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x001e346e in clone () from /lib/i386-linux-gnu/libc.so.6

===========
Syslog
===========
Aug  1 19:34:34 kernel: [182427.500116] show_signal_msg: 18 callbacks suppressed
Aug  1 19:34:34 kernel: [182427.500130] pcscd[899]: segfault at 8 ip 00697e9b 
sp b6fbafe0 error 4 in libusb-1.0.so.0.1.0[692000+11000]


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