pcscd from pcsc-lite-1.6.6-2.1.i586 segfaults

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pcscd from pcsc-lite-1.6.6-2.1.i586 segfaults

guy zelck-2
Greetings,


I'm running Opensuse 11.3 and with the stock smart card drivers I couldn't get
pkcs11_inspect or pkcs11_listcerts to work.
I decided to install the latest versions of all packages and compiled the
latest source rpms from opensuse factory. Compilation succeeded and I ended up
with :

libpcsclite1-1.6.6-2.1.i586.
rpm
opensc-0.12.0-2.1.i586.rpm
pam_pkcs11-0.6.6-2.1.i586.rpm
pcsc-lite-1.6.6-2.1.i586.rpm
pcsc-lite-devel-1.6.6-2.1.i586.rpm
pcsc-tools-1.4.17

When I start pcscd I get a segfault :
# /usr/sbin/pcscd -d -f
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to
stderr
00000297 configfile.l:245:DBGetReaderListDir() Parsing conf directory:
/etc/reader.conf.d
00000049 configfile.l:287:DBGetReaderList() Parsing conf file:
/etc/reader.conf.d/reader.conf
00000092 configfile.l:287:DBGetReaderList() Parsing conf file:
/etc/reader.conf.d/libccidtwin
00336532 pcscdaemon.c:553:main() pcsc-lite 1.6.6 daemon ready.
Segmentatiefout

What could be the reason?

Rgds,
Guy.

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: pcscd from pcsc-lite-1.6.6-2.1.i586 segfaults

Martin Paljak-4

On Jan 23, 2011, at 11:25 AM, guy zelck wrote:

>
> When I start pcscd I get a segfault :
> # /usr/sbin/pcscd -d -f
> 00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to
> stderr
> 00000297 configfile.l:245:DBGetReaderListDir() Parsing conf directory:
> /etc/reader.conf.d
> 00000049 configfile.l:287:DBGetReaderList() Parsing conf file:
> /etc/reader.conf.d/reader.conf
> 00000092 configfile.l:287:DBGetReaderList() Parsing conf file:
> /etc/reader.conf.d/libccidtwin
> 00336532 pcscdaemon.c:553:main() pcsc-lite 1.6.6 daemon ready.
> Segmentatiefout
>
> What could be the reason?

Run it with gdb:

gdb /usr/sbin/pcscd
run -a -d -f
bt

--
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user