Public bug reported:

Binary package hint: belpic

Further informations:
after installing the various belpic packages (beid-tools, beidgui, etc) + 
required dependencies (pcsc related pacakges) from the AMD64 repositories, it 
is impossible

1) to authneticate on website using the belgian EID (the PKCS modules show no 
card reader)
2) use the beidgui (it randomly either crash or just don't show any card reader)
3) use pcsc_scan (show no card reader too)

Also it's worth noting that

1) I had to manually create a symlink /usr/lib/libpcsclite.so -> 
/usr/lib/libpcsclite.so.1 for beid deamons to startup
2) beidpcscd is crashing just after startup


Version:
Ubuntu Feisty Fawn, 64bits version

logs:
Coming from dmesg (appear each time you try to start /etc/init.d/beid):
[ 9394.185589] beidpcscd[12265]: segfault at 00000000ff021fcc rip 
00000000f7244d9b rsp 00000000ff021fd0 error 6
Also coming from dmesg (appear from time to time bepending on beidgui behaviour)
[ 9396.455538] beidgui[12273]: segfault at 00000000ff2d5ffc rip 
00000000f6f35c47 rsp 00000000ff2d6000 error 6

Device (appear only if belpic is not installed or if below workaround is used):
Reader 0: Alcor Micro AU9520 00 00

Workaround:
To workaround this, and confirm it's a 64bits version bug and not a reader bug, 
i did this
1) install a chrooted minimal 32 bit ubuntu (using dchroot + debbootstrap)
2) remove from 64bits env all pcsc and beid related stuffs
3) in chrooted 32 bits env, install firefox + pcsc related packages + beid 
stuff 
4) create the missing symlink (see above)
5) inchrooted 32bits env, run beidgui: it's working and reading the card 
without troubles
6) install the pksc module in firefox and try it on belgian egov website, it's 
working and i can authenticated using my eid

Thought this workaround is working, it's not very easy to use (the
chrooted 32 bits env is far from complete, has no locale support and so
on)

Note:
i suspect this is an isue with size of int in 64 bits env, which get truncated 
while negociating with card reader. Am ready to test whatever you want to fix 
this.

** Affects: belpic (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
beid segfault in 64 bits mode
https://bugs.launchpad.net/bugs/115984
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to