Hello!

I compiled the opensc with debug symbols and get the following:
$ gdb /usr/bin/ssh
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ssh...(no debugging symbols found)...done.
(gdb) r -I opensc-pkcs11.so florath@10.0.0.25
Starting program: /usr/bin/ssh -I opensc-pkcs11.so florath@10.0.0.25
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff51dac6d in get_fw_data (p11card=0x5555557f7940, 
app_info=0x5555557f8f40, out_idx=0x7fffffffb930) at framework-pkcs15.c:192
192                             if (file_app->path.len != app_info->path.len)
(gdb) p file_app
$1 = (struct sc_file *) 0x0


=== Experiment
I have no idea about why here file_app is null (and is allowed to be null?).
Experimentally changed line 188 to also add

if ( ... | !fw_data->p15_card->file_app)

which at least gives no more cores. Nevertheless this does not fix the problem 
for me:

$ ssh -I opensc-pkcs11.so florath@10.0.0.25
GOST engine already loaded
GOST engine already loaded
no slots
florath@10.0.0.25's password:

When you need more info, just drop me a mail.

Kind regards - Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to