"double free or corruption" in poldi-ctrl

Bug #99893 reported by Jussi Kukkonen
2
Affects Status Importance Assigned to Milestone
poldi (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libpam-poldi

I tried to use my GnuPG smartcard for logging in using the instructions here: http://www.schiessle.org/howto/poldi.shtml

Feisty has the needed libpam-poldi, but trying to run poldi-ctrl results in failure. The card reader is a "SCM SCR 3310" and so far it seems to be working perfectly (ssh authentication and gpg decrypting/signing work). Here is the output:

jku@loki:~$ poldi-ctrl -d
poldi-ctrl: detected reader `SCM SCR 3310 (21120629204639) 00 00'
poldi-ctrl: pcsc_connect failed: sharing violation (0x8010000b)
*** glibc detected *** poldi-ctrl: double free or corruption (fasttop): 0x080607f8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e027cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e05e30]
poldi-ctrl[0x8054c89]
poldi-ctrl[0x804bbad]
poldi-ctrl[0x804af66]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7db0ebc]
poldi-ctrl[0x804a161]
======= Memory map: ========
08048000-0805f000 r-xp 00000000 03:02 544812 /usr/bin/poldi-ctrl
0805f000-08060000 rwxp 00016000 03:02 544812 /usr/bin/poldi-ctrl
08060000-08081000 rwxp 08060000 00:00 0 [heap]
43384000-4338a000 r-xp 00000000 03:02 527337 /lib/libusb-0.1.so.4.4.4
4338a000-4338c000 rwxp 00005000 03:02 527337 /lib/libusb-0.1.so.4.4.4
b7c00000-b7c21000 rwxp b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d44000-b7d4f000 r-xp 00000000 03:02 523277 /lib/libgcc_s.so.1
b7d4f000-b7d50000 rwxp 0000a000 03:02 523277 /lib/libgcc_s.so.1
b7d60000-b7d62000 rwxp b7d60000 00:00 0
b7d62000-b7d75000 r-xp 00000000 03:02 523644 /lib/tls/i686/cmov/libpthread-2.5.so
b7d75000-b7d77000 rwxp 00013000 03:02 523644 /lib/tls/i686/cmov/libpthread-2.5.so
b7d77000-b7d79000 rwxp b7d77000 00:00 0
b7d79000-b7d81000 r-xp 00000000 03:02 539818 /usr/lib/libpcsclite.so.1.0.0
b7d81000-b7d82000 rwxp 00007000 03:02 539818 /usr/lib/libpcsclite.so.1.0.0
b7d82000-b7d84000 rwxp b7d82000 00:00 0
b7d84000-b7d97000 r-xp 00000000 03:02 523634 /lib/tls/i686/cmov/libnsl-2.5.so
b7d97000-b7d99000 rwxp 00012000 03:02 523634 /lib/tls/i686/cmov/libnsl-2.5.so
b7d99000-b7d9b000 rwxp b7d99000 00:00 0
b7d9b000-b7ed6000 r-xp 00000000 03:02 523626 /lib/tls/i686/cmov/libc-2.5.so
b7ed6000-b7ed7000 r-xp 0013b000 03:02 523626 /lib/tls/i686/cmov/libc-2.5.so
b7ed7000-b7ed9000 rwxp 0013c000 03:02 523626 /lib/tls/i686/cmov/libc-2.5.so
b7ed9000-b7edc000 rwxp b7ed9000 00:00 0
b7edc000-b7ede000 r-xp 00000000 03:02 523631 /lib/tls/i686/cmov/libdl-2.5.so
b7ede000-b7ee0000 rwxp 00001000 03:02 523631 /lib/tls/i686/cmov/libdl-2.5.so
b7ee0000-b7ee3000 r-xp 00000000 03:02 540313 /usr/lib/libgpg-error.so.0.3.0
b7ee3000-b7ee4000 rwxp 00002000 03:02 540313 /usr/lib/libgpg-error.so.0.3.0
b7ee4000-b7f33000 r-xp 00000000 03:02 540318 /usr/lib/libgcrypt.so.11.2.2
b7f33000-b7f35000 rwxp 0004e000 03:02 540318 /usr/lib/libgcrypt.so.11.2.2
b7f35000-b7f36000 rwxp b7f35000 00:00 0
b7f36000-b7f37000 r--s 0000f000 00:0f 14738 /var/run/pcscd.pub
b7f37000-b7f38000 r--s 0000e000 00:0f 14738 /var/run/pcscd.pub
b7f38000-b7f39000 r--s 0000d000 00:0f 14738 /var/run/pcscd.pub
b7f39000-b7f3a000 r--s 0000c000 00:0f 14738 /var/run/pcscd.pub
b7f3a000-b7f3b000 r--s 0000b000 00:0f 14738 /var/run/pcscd.pub
b7f3b000-b7f3c000 r--s 0000a000 00:0f 14738 /var/run/pcscd.pub
b7f3c000-b7f3d000 r--s 00009000 00:0f 14738 /var/run/pcscd.pub
b7f3d000-b7f3e000 r--s 00008000 00:0f 14738 /var/run/pcscd.pub
b7f3e000-b7f3f000 r--s 00007000 00:0f 14738 /var/run/pcscd.pub
b7f3f000-b7f40000 r--s 00006000 00:0f 14738 /var/run/pcscd.pub
b7f40000-b7f41000 r--s 00005000 00:0f 14738 /var/run/pcscd.pub
b7f41000-b7f42000 r--s 00004000 00:0f 14738 /var/run/pcscd.pub
b7f42000-b7f43000 r--s 00003000 00:0f 14738 /var/run/pcscd.pub
b7f43000-b7f44000 r--s 00002000 00:0f 14738 /var/run/pcscd.pub
b7f44000-b7f45000 r--s 00001000 00:0f 14738 /var/run/pcscd.pub
b7f45000-b7f46000 r--s 00000000 00:0f 14738 /var/run/pcscd.pub
b7f46000-b7f47000 rwxp b7f46000 00:00 0
b7f47000-b7f60000 r-xp 00000000 03:02 523493 /lib/ld-2.5.so
b7f60000-b7f62000 rwxp 00019000 03:02 523493 /lib/ld-2.5.so
bf893000-bf8a8000 rw-p bf893000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted

Revision history for this message
Jussi Kukkonen (jku) wrote :

My launchpad fu was evidently weak (marked duplicate).

This seems to happen because I had gpg-agent running.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.