Re: [opensc-devel] memory corruption while using 2 tokens Aladdin eToken PRO 64

2011-09-19 Thread Iuri Diniz
I'm trying to investigate the problem I've found that ct_card_lock is returning -7 (IFD_ERROR_LOCKED) for the second card 'CT_init (ctn=1, pn=0)' while is returning IFD_SUCCESS for the first one 'CT_init (ctn=0, pn=0)' (why?) so CT_init call CT_close what raises later a segmentation fault (using

[opensc-devel] memory corruption while using 2 tokens Aladdin eToken PRO 64

2011-09-13 Thread Iuri Diniz
Hello people I want some help of you in order to get 2 tokens Aladdin eToken PRO 64 working at same time When I have pcscd running with one token everything is fine, but with two, they don't work and sometimes I get a segfault on libopenctapi.so I have some background in C, so I used valgrind to