[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-09-15 Thread Märt Suga
It has not crashed for a long time now. I suspect it has something to do with bug https://bugs.launchpad.net/libusb/+bug/427805 -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-09-15 Thread Märt Suga
*** This bug is a duplicate of bug 427805 *** https://bugs.launchpad.net/bugs/427805 ** This bug has been marked a duplicate of bug 427805 usb_find_devices() crashed with SIGSEGV in free() * You can subscribe to bug 427805 by following this link:

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-06 Thread Bug Watch Updater
** Changed in: libusb Status: New = Confirmed -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Märt Suga
Here is exactly what I did: m...@mart-laptop:~$ LIBCCID_ifdLogLevel=0x0007 m...@mart-laptop:~$ export LIBCCID_ifdLogLevel m...@mart-laptop:~$ sudo pcscd --foreground --debug --apdu debuglog.c:224:DebugLogSetLevel() debug level=debug 0029 debuglog.c:253:DebugLogSetCategory() Debug

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Märt Suga
The previous output was when reader was plugged ...and here is output when reader is NOT plugged... m...@mart-laptop:~$ sudo pcscd --foreground --debug --apdu debuglog.c:224:DebugLogSetLevel() debug level=debug 0029 debuglog.c:253:DebugLogSetCategory() Debug options: APDU 0334

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Märt Suga
These where 1.5.3 version logs. I will now show 1.5.5 version logs, but it looks pretty much the same: Reader unplugged: m...@mart-laptop:~$ sudo pcscd --foreground --debug --apdu debuglog.c:230:DebugLogSetLevel() debug level=debug 0030 debuglog.c:259:DebugLogSetCategory() Debug

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Ludovic Rousseau
It looks like a bug in /lib/libusb-0.1.so.4 now, not in pcsc-lite. You will need to use gdb to have a better backtrace. -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Märt Suga
** Bug watch added: www.libusb.org/ #40 http://www.libusb.org/ticket/40 ** Also affects: libusb via http://www.libusb.org/ticket/40 Importance: Unknown Status: Unknown -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Bug Watch Updater
** Changed in: libusb Status: Unknown = New -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Märt Suga
Seems that libusb-0.1 is unsupported for a very long time now. Here is the answer from libusb developers: It seems that you are using libusb-0.1 which is not maintained since a long time and is not really supported. Please uninstall libusb-0.1 and instead install libusb-1.0 (version 1.0.8

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-05 Thread Ludovic Rousseau
libusb worked great in previous Ubuntu versions. Something changed in Ubuntu 10.04 that makes libusb 0.1 fails. Note that pcsc-lite should use libhal instead of libusb but libhal has been deprecated in Ubuntu 10.04. The long term plan is to migrate to libudev. But I have not yet started to work

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-04 Thread Märt Suga
It seems to throw different errors every time I try to start pcscd: user.log: May 4 09:39:50 mart-laptop pcscd: commands.c:1010:CmdGetSlotStatus error on byte 32 May 4 09:39:50 mart-laptop pcscd: ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 May 4 09:39:50 mart-laptop pcscd:

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-04 Thread Ludovic Rousseau
I do not have enough logs. Edit the file /etc/libccid_Info.plist and change the value of ifdLogLevel from 0x0003 to 0x000f This will generate much more of logs in user.log Send me the logs from the start of pcscd, not just the latest lines. -- pcscd assert failure: *** glibc detected ***

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-04 Thread Märt Suga
Doesn't seem to help. Only thing in user.log is: May 4 16:21:23 mart-laptop pcscd: ccid_usb.c:596:WriteUSB() usb_bulk_write(003/005): No such device May 4 16:21:23 mart-laptop pcscd: ifdwrapper.c:469:IFDStatusICC() Card not transacted: 617 May 4 16:21:24 mart-laptop pcscd:

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-04 Thread Märt Suga
Is there a command to start pcscd in foreground with all log levels enabled? -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-04 Thread Ludovic Rousseau
pcscd --foreground --debug --apdu See http://pcsclite.alioth.debian.org/ccid.html#support -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-03 Thread Märt Suga
Here is the part of my debian/rules I used: ./configure $(confflags) \ --enable-confdir=/var/lib/pcscd \ --prefix=/usr \ --disable-libhal \ --enable-usbdropdir=/usr/lib/pcsc/drivers \

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-03 Thread Märt Suga
Here is what i did: Completely removed libhal-dev Here is bit of my build log: ... PTHREAD_CFLAGS: PTHREAD_LIBS: PCSC_ARCH: Linux libhal support: no libusb support: yes SCF reader support: false USB drop directory: /usr/lib/pc ... Completely reinstalled

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-03 Thread Ludovic Rousseau
I guess you have 2 pcscd installed on your system. Try: $ type -a pcscd -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-03 Thread Märt Suga
Looks like thats the problem: pcscd on /usr/local/sbin/pcscd pcscd on /usr/sbin/pcscd I will try to remove the bad one. -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-03 Thread Märt Suga
Ok, no I removed the faulty one and installed the right one: $ pcscd -v pcsc-lite version 1.5.5. Copyright (C) 1999-2002 by David Corcoran corco...@linuxnet.com. Copyright (C) 2001-2008 by Ludovic Rousseau ludovic.rouss...@free.fr. Copyright (C) 2003-2004 by Damien Sauveron sauve...@labri.fr.

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-01 Thread Märt Suga
Looks like we are still in the beginning. Today pcscd does not start at all - neither automatically nor manually. user.log looks like this: Apr 28 18:01:11 mart-laptop pcscd: ccid_usb.c:596:WriteUSB() usb_bulk_write(003/004): No such device Apr 28 19:43:46 mart-laptop pcscd:

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-05-01 Thread Ludovic Rousseau
Your pcscd is using libhal. You were supposed to recompile version 1.5.5 with libusb instead. Have you rebuild and installed the packages for 1.5.5? -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-29 Thread Märt Suga
Seems to work correctly for the moment. Tried a few restarts and pcscd started every time - no crash at login. Just in case I will let it run for a few days to make sure it won't crash anymore. However, I have noticed a side-effect: When running pkcs15-tool --list-certificates for the first time

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Märt Suga
It seems to have problems with autostart now. When I attach the reader, it still says No smart card readers found. but after running sudo service pcscd restart it now at least starts working correctly. Haven't noticed any crashes since upgrade. -- pcscd assert failure: *** glibc detected ***

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Ludovic Rousseau
What do you call autostart? Is it starting pcscd during boot? -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Märt Suga
It does not start at boot, but it should, thats the problem now. I noticed these lines in user.log: Apr 28 21:09:38 mart-laptop pcscd: hotplug_libhal.c:562:HPRegisterForHotplugEvents() Could not initialise connection to hald. Apr 28 21:09:38 mart-laptop pcscd:

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Ludovic Rousseau
This is a known problem between pcscd and hald. But I could not find the Ubuntu bug right now. So you confirm that the initial problem assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** is fixed in pcsc-lite 1.5.5? -- pcscd assert failure: *** glibc

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Märt Suga
I suppose this is the bug You are talking about: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/506908 I guess that the debian sid package is not compiled with --without-hal, thats why it does not start at boot. And pcscd hasn't crashed at startup since it does not start at boot so I

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-28 Thread Ludovic Rousseau
- Get the 3 files from http://packages.debian.org/source/sid/pcsc-lite - $ dpkg -x pcsc-lite_1.5.5-3.dsc - edit debian/rules to add --disable-libhal to the ./configure line - $ apt-get build-dep pcscd - $ debuild -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-23 Thread Märt Suga
I now installed libpcsclite1 1.5.5-3 and pcscd 1.5.5-3 from debian sid. I will test it for a week and let You know if it still crashes. -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-15 Thread Märt Suga
Reader is: SCM Microsystems, Inc. SCR331-LC1 SmartCard Reader But i don't think the problem is with a specific reader. pcscd actually crashes very randomly at startup (sometimes crashes, sometimes not). After the crash opensc-tool --list-readers only shows: No smart card readers found. with any

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-15 Thread Ludovic Rousseau
What smart card DRIVER is used? -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-15 Thread Märt Suga
Here is my working opensc-tool --list-readers output: Nr.Driver Features Name 0 pcsc SCM SCR 3310 (21120518102795) 00 00 -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-15 Thread Ludovic Rousseau
It looks like the driver is libccid. What is the result of: $ ls /usr/lib/pcsc/drivers/ Do you also have the crash with pcsc-lite 1.5.5? This version is not yet in Ubuntu but is available since July 2009 from https://alioth.debian.org/frs/?group_id=30105 -- pcscd assert failure: *** glibc

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-15 Thread Märt Suga
$ ls /usr/lib/pcsc/drivers/ ifd-ccid.bundle serial I have not tried 1.5.5 yet. I am not sure how to build the package for Ubuntu. -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-14 Thread Märt Suga
** Visibility changed to: Public -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 551940] Re: pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 ***

2010-04-14 Thread Ludovic Rousseau
What smart card reader is connected to the system? What smart card driver is used? -- pcscd assert failure: *** glibc detected *** /usr/sbin/pcscd: free(): invalid pointer: 0x097c6e88 *** https://bugs.launchpad.net/bugs/551940 You received this bug notification because you are a member of