FriBID forum

FriBID är ett fritt program för e-legitimation med BankID.
OBS! FriBID är i praktiken nedlagt, och fungarar inte att använda längre.

You are not logged in.

#1 2014-01-08 22:33:24

niklas.wikstrom
Member
Registered: 2013-02-12

Handelsbanken Todos Reader, Fedora 20. pcscd: Segmentation Fault

Hej,

first of all, thanks for a very useful, open software, I have been using it for some years on both Fedora and Ubuntu. Now, however, I have troubles on FC 20.

PCSCD, I believe, reports a segfault when I plug in Handelsbankens card reader (Todos, version 1.0.2, using shbecrDeb bundle).

  • Running fedora 20, kernel 3.12.6

  • pcsc-lite version 1.8.10

  • I have disabled USB 3 in BIOS, to eliminate that.

  • I have tried with or without openct installed.

  • Fribid is compiled from recent GIT clone. Guess it is the reader driver and pcsc-lite that issues.

Attaching card reader first, and then starting pcscd results in the messages shown coded below (starting pcscd first and then attching gives a longer prelude, but same finale, shown in last code block).

Any clues are highly appreciated.

Regards
Niklas

pcscd --foreground -d
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000273 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000009 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
00000002 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
00000003 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000024 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
00000817 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000039 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000039 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000040 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0B0C, PID: 0x003F, path: /dev/bus/usb/001/010
00000010 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0B0C, PID: 0x003F, path: /dev/bus/usb/001/010
00000003 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Handelsbanken card reader
00000022 readerfactory.c:989:RFInitializeReader() Attempting startup of Handelsbanken card reader [MCI_OSR_0205] 00 00 using /usr/lib64/pcsc/drivers/shbecrDeb.bundle/Contents/Linux/libshbecrDeb.so.1.0.0
00000094 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
     Todos Data System AB     
     Handelbanken card reader     
       Version: 1.0.2
00001375 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
Segmentation fault (core dumped)

Starting pcscd before plugging in reader:

00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000046 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000007 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
00000002 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
00000003 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000027 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
00000858 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000037 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000038 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000038 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x07DC, path: /dev/bus/usb/001/003
00000035 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x07DC, path: /dev/bus/usb/001/003
00000034 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000037 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1BCF, PID: 0x28A0, path: /dev/bus/usb/001/004
00000049 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1BCF, PID: 0x28A0, path: /dev/bus/usb/001/004
00000049 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000038 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000010 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000001 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Broadcom Corp 5880
00000022 readerfactory.c:989:RFInitializeReader() Attempting startup of Broadcom Corp 5880 [Broadcom USH w/swipe sensor] (0123456789ABCD) 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000078 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
00000011 ifdhandler.c:1843:init_driver() Driver version: 1.4.13
00000240 ifdhandler.c:1860:init_driver() LogLevel: 0x0003
00000002 ifdhandler.c:1871:init_driver() DriverOptions: 0x0000
00000118 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a5c/5801:libudev:0:/dev/bus/usb/001/005
00000013 ccid_usb.c:281:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000272 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000002 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID driver
00000001 ccid_usb.c:301:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000963 ccid_usb.c:554:OpenUSBByName() Found interface 0 but expecting 1
00000004 ccid_usb.c:556:OpenUSBByName() Wrong interface for USB device 1/5. Checking next one.
00000037 ccid_usb.c:191:close_libusb_if_needed() libusb_exit
00000044 ifdhandler.c:117:CreateChannelByNameOrChannel() failed
00000004 readerfactory.c:1020:RFInitializeReader() Open Port 0x200000 Failed (usb:0a5c/5801:libudev:0:/dev/bus/usb/001/005)
00000002 readerfactory.c:312:RFAddReader() Broadcom Corp 5880 [Broadcom USH w/swipe sensor] (0123456789ABCD) init failed.
00000006 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
00000002 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of Broadcom Corp 5880 [Broadcom USH w/swipe sensor] (0123456789ABCD) 00 00.
00000002 readerfactory.c:911:RFUnloadReader() Unloading reader driver.
00000098 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000023 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000001 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Broadcom Corp 5880
00000025 readerfactory.c:989:RFInitializeReader() Attempting startup of Broadcom Corp 5880 [Contacted SmartCard] (0123456789ABCD) 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000082 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
00000023 ifdhandler.c:1843:init_driver() Driver version: 1.4.13
00000259 ifdhandler.c:1860:init_driver() LogLevel: 0x0003
00000003 ifdhandler.c:1871:init_driver() DriverOptions: 0x0000
00000077 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a5c/5801:libudev:1:/dev/bus/usb/001/005
00000015 ccid_usb.c:281:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000240 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000002 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID driver
00000001 ccid_usb.c:301:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000825 ccid_usb.c:576:OpenUSBByName() Found Vendor/Product: 0A5C/5801 (Broadcom Corp 5880)
00000004 ccid_usb.c:578:OpenUSBByName() Using USB bus/device: 1/5
00000927 ccid_usb.c:1073:get_data_rates() IFD does not support GET_DATA_RATES request: 0
00120947 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB3, usb:0a5c/5801:libudev:1:/dev/bus/usb/001/005 (lun: 0)
00000012 readerfactory.c:332:RFAddReader() Using the reader polling thread
00002583 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAE, usb:0a5c/5801:libudev:1:/dev/bus/usb/001/005 (lun: 0)
00000007 ifdhandler.c:450:IFDHGetCapabilities() Reader supports 1 slot(s)
00000145 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000036 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5801, path: /dev/bus/usb/001/005
00000004 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Broadcom Corp 5880
00005479 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAF, usb:0a5c/5801:libudev:1:/dev/bus/usb/001/005 (lun: 0)
00000016 readerfactory.c:657:RFSetReaderName() Support 16 simultaneous readers
00000010 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAD, usb:0a5c/5801:libudev:1:/dev/bus/usb/001/005 (lun: 0)
00000003 readerfactory.c:274:RFAddReader() Driver is thread safe
00000003 readerfactory.c:989:RFInitializeReader() Attempting startup of Broadcom Corp 5880 [Broadcom USH] (0123456789ABCD) 01 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000003 readerfactory.c:788:RFLoadReader() Reusing already loaded driver for /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000012 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
00000020 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 10000, device: usb:0a5c/5801:libudev:3:/dev/bus/usb/001/005
00000010 ccid_usb.c:281:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000434 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000006 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID driver
00000004 ccid_usb.c:301:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000215 ccid_usb.c:554:OpenUSBByName() Found interface 3 but expecting 1
00000006 ccid_usb.c:556:OpenUSBByName() Wrong interface for USB device 1/5. Checking next one.
00000078 ifdhandler.c:117:CreateChannelByNameOrChannel() failed
00000005 readerfactory.c:1020:RFInitializeReader() Open Port 0x200002 Failed (usb:0a5c/5801:libudev:3:/dev/bus/usb/001/005)
00000003 readerfactory.c:312:RFAddReader() Broadcom Corp 5880 [Broadcom USH] (0123456789ABCD) init failed.
00000004 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1
00000003 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of Broadcom Corp 5880 [Broadcom USH] (0123456789ABCD) 01 00.
00000113 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
00000092 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x413C, PID: 0x81A3, path: /dev/bus/usb/001/006
00000082 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x413C, PID: 0x81A3, path: /dev/bus/usb/001/006
00000077 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/001/002
03604858 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0B0C, PID: 0x003F, path: /dev/bus/usb/001/011
00000327 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Handelsbanken card reader
00000047 readerfactory.c:989:RFInitializeReader() Attempting startup of Handelsbanken card reader [MCI_OSR_0205] 00 00 using /usr/lib64/pcsc/drivers/shbecrDeb.bundle/Contents/Linux/libshbecrDeb.so.1.0.0
00000121 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
     Todos Data System AB     
     Handelbanken card reader     
       Version: 1.0.2
00001251 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
Segmentation fault (Core dumped)

Last edited by niklas.wikstrom (2014-01-08 22:38:12)

Offline

Board footer

Powered by FluxBB