GnuPG with pcsc-lite, scdaemon segfaults

Simon Ferber simon at ist-schlau.de
Tue Mar 31 22:06:31 CEST 2009


Hello Werner,

gnupg-pcsc-wrapper --verbose  1

segfaults too.
I don't know, if I did it right, but here is a backtrace:


gdb /usr/libexec/gnupg-pcsc-wrapper --core core --batch --quiet -ex
thread apply all bt full -ex quit

warning: core file may not match specified executable file.
Core was generated by `/usr/libexec/gnupg-pcsc-wrapper --verbose 1'.
Program terminated with signal 11, Segmentation fault.             
[New process 13335]                                                
#0  0x0000000000000000 in ?? ()                                    

Thread 1 (process 13335):
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007fab4ae7271f in __pthread_initialize_minimal_internal () from
/lib/libpthread.so.0
No symbol table info
available.                                                            
#2  0x00007fab4ae71e59 in _init () from
/lib/libpthread.so.0                               
No symbol table info
available.                                                            
#3  0x00007fab4b494fe0 in ?? () from
/usr/lib/libpcsclite.so                               
No symbol table info
available.                                                            
#4  0x0000000000436eeb in call_init
()                                                     
No symbol table info
available.                                                            
#5  0x0000000000437075 in _dl_init ()
No symbol table info available.
#6  0x0000000000415180 in dl_open_worker ()
No symbol table info available.
#7  0x00000000004136f6 in _dl_catch_error ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#8  0x0000000000414a55 in _dl_open ()
No symbol table info available.
#9  0x0000000000404dfc in dlopen_doit ()
No symbol table info available.
#10 0x00000000004136f6 in _dl_catch_error ()
No symbol table info available.
#11 0x0000000000405061 in _dlerror_run ()
No symbol table info available.
#12 0x0000000000404d7e in __dlopen ()
No symbol table info available.
#13 0x00000000004007de in main (argc=<value optimized out>,
argv=0x7fff534c0128) at pcsc-wrapper.c:318
        last_argc = <value optimized out>
        api_number = 8388608
        c = <value optimized out>


Is it useful or do I have to use different options?

Regards
Simon


Werner Koch schrieb:
> On Sun, 29 Mar 2009 20:57, simon at ist-schlau.de said:
>
>   
>> Mar 29 20:52:43 [kernel] gnupg-pcsc-wrap[21763]: segfault at 0 ip
>> 0000000000000000 sp 00007fffc815e0d8 error 14 in
>> gnupg-pcsc-wrapper[400000+87000]
>>     
>
> As a quick test, run
>
>   gnupg-pcsc-wrapper --verbose  1
>
> and check whether it segfaults as well (Terminate it with Ctrl-C).  That
> binary might be installed at /usr/libexec/ or /usr/lib/.  If this does
> not work, create a core dump and run gdb on it to get a backtrace.
>
>
> Shalom-Salam,
>
>    Werner
>
>   




More information about the Gnupg-users mailing list