Package: pcsc-tools
Version: 1.4.2-1
Severity: normal

Without valgrind, I get a crash after a glibc error detecting invalid free.
The valgrind trace is below.

valgrind pcsc_scan
==23724== Memcheck, a memory error detector.
==23724== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23724== Using LibVEX rev 1471, a library for dynamic binary translation.
==23724== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==23724== Using valgrind-3.1.0-Debian, a dynamic binary instrumentation 
framework.
==23724== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==23724== For more details, rerun with: -v
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4009363: (within /lib/ld-2.3.6.so)
==23724==    by 0x40027A7: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4009000: (within /lib/ld-2.3.6.so)
==23724==    by 0x40027A7: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4009577: (within /lib/ld-2.3.6.so)
==23724==    by 0x40027A7: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4008EF1: (within /lib/ld-2.3.6.so)
==23724==    by 0x400280B: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4008EFD: (within /lib/ld-2.3.6.so)
==23724==    by 0x400280B: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
==23724==
==23724== Conditional jump or move depends on uninitialised value(s)
==23724==    at 0x4009000: (within /lib/ld-2.3.6.so)
==23724==    by 0x400280B: (within /lib/ld-2.3.6.so)
==23724==    by 0x400FA40: (within /lib/ld-2.3.6.so)
==23724==    by 0x40039CA: (within /lib/ld-2.3.6.so)
==23724==    by 0x40007C6: (within /lib/ld-2.3.6.so)
PC/SC device scanner
V 1.4.2 (c) 2001-2006, Ludovic Rousseau <[EMAIL PROTECTED]>
Compiled with PC/SC lite version: 1.3.0
Scanning present readers
0: E-Gate 00 00

Thu Mar  9 14:02:29 2006
 Reader 0: E-Gate 00 00
  Card state: Card inserted,
  ATR: 3B 75 94 00 00 62 02 02 03 01

ATR: 3B 75 94 00 00 62 02 02 03 01
+ TS = 3B --> Direct Convention
+ T0 = 75, Y(1): 0111, K: 5 (historical bytes)
  TA(1) = 94 --> Fi=512, Di=8, 64.000 cycles/ETU
  TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milliamperes
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 62 02 02 03 01

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 75 94 00 00 62 02 02 03 01
3B 75 94 00 00 62 02 02 0[1-3] 01
        Schlumberger Cyberflex 32K e-gate
Scanning present readers
Waiting for the first reader...found one
==23724==
==23724== Invalid free() / delete / delete[]
==23724==    at 0x401E048: free (vg_replace_malloc.c:235)
==23724==    by 0x8048B7C: (within /usr/bin/pcsc_scan)
==23724==    by 0x4053EAF: __libc_start_main (in 
/lib/tls/i686/cmov/libc-2.3.6.so)
==23724==  Address 0x41900B0 is 0 bytes inside a block of size 4 free'd
==23724==    at 0x401E048: free (vg_replace_malloc.c:235)
==23724==    by 0x8048B7C: (within /usr/bin/pcsc_scan)
==23724==    by 0x4053EAF: __libc_start_main (in 
/lib/tls/i686/cmov/libc-2.3.6.so)
==23724==
==23724== Invalid free() / delete / delete[]
==23724==    at 0x401E048: free (vg_replace_malloc.c:235)
==23724==    by 0x8048B98: (within /usr/bin/pcsc_scan)
==23724==    by 0x4053EAF: __libc_start_main (in 
/lib/tls/i686/cmov/libc-2.3.6.so)
==23724==  Address 0x41900E8 is 0 bytes inside a block of size 56 free'd
==23724==    at 0x401E048: free (vg_replace_malloc.c:235)
==23724==    by 0x8048B98: (within /usr/bin/pcsc_scan)
==23724==    by 0x4053EAF: __libc_start_main (in 
/lib/tls/i686/cmov/libc-2.3.6.so)
Scanning present readers
0: E-Gate 00 00

Thu Mar  9 14:02:44 2006
 Reader 0: E-Gate 00 00
  Card state: Card inserted,
  ATR: 3B 75 94 00 00 62 02 02 03 01

ATR: 3B 75 94 00 00 62 02 02 03 01
+ TS = 3B --> Direct Convention
+ T0 = 75, Y(1): 0111, K: 5 (historical bytes)
  TA(1) = 94 --> Fi=512, Di=8, 64.000 cycles/ETU
  TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milliamperes
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 62 02 02 03 01

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 75 94 00 00 62 02 02 03 01
3B 75 94 00 00 62 02 02 0[1-3] 01
        Schlumberger Cyberflex 32K e-gate
                                                           

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc5-git7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages pcsc-tools depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libgtk2-perl                  1:1.104-1  Perl interface to the 2.x series o
ii  libpcsc-perl                  1.4.2-1    Perl interface to the PC/SC smart 
ii  libpcsclite1                  1.3.0-1    Middleware to access a smart card 

pcsc-tools recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to