Bug 726499

Summary: ESC crashes when an enrolled smart card is inserted.
Product: Red Hat Enterprise Linux 5 Reporter: Asha Akkiangady <aakkiang>
Component: escAssignee: Jack Magne <jmagne>
Status: CLOSED CURRENTRELEASE QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: benl, ckannan, dpal, jgalipea, jmagne, jpallich, nkinder, rrelyea, shaines
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: esc-1.1.0-13.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 807062 (view as bug list) Environment:
Last Closed: 2012-06-11 17:38:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 807062, 807801, 807971    
Attachments:
Description Flags
Screen shot of the esc crash
none
Bug-buddy's report on this crash. none

Description Asha Akkiangady 2011-07-28 20:24:34 UTC
Created attachment 515792 [details]
Screen shot of the esc crash

Description of problem:
ESC crashes when an enrolled smart card is re-inserted after an enrollment.

Version-Release number of selected component (if applicable):
RHEL 5.7

$ rpm -q esc coolkey pcsc-lite pam_pkcs11 gdm 
esc-1.1.0-12.el5
coolkey-1.1.0-15.el5
coolkey-1.1.0-15.el5
pcsc-lite-1.4.4-4.el5_5
pam_pkcs11-0.5.3-23
pam_pkcs11-0.5.3-23
gdm-2.16.0-56.el5

How reproducible:
Not consistently reproducible.

Steps to Reproduce:
$ uname -a
Linux dhcp231-57.rdu.redhat.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

smartcard used: Gemalto 64K smart card on a SCR 331 reader.

1. Start the ESC application.
2. Burn the phone home url and format a fresh smart card.
3. Enroll the smart card.
4. Remove the smart card from reader and re-insert it.
  
Actual results:
ESC crashes.

Expected results:
ESC should display the enrolled smart card details.

Additional info:
/var/log/messages has this:
Jul 28 16:09:28 dhcp231-57 pcscd: prothandler.c:130:PHSetProtocol() Attempting PTS to T=0
Jul 28 16:09:28 dhcp231-57 pcscd: ifdhandler.c:488:IFDHSetProtocolParameters() lun: 0, protocol T=0
Jul 28 16:09:28 dhcp231-57 pcscd: eventhandler.c:431:EHStatusHandlerThread() Card inserted into SCM SCR 331 (21120612212405) 00 00
Jul 28 16:09:28 dhcp231-57 pcscd: Card ATR: 3B 95 95 40 FF AE 01 03 00 00
Jul 28 16:09:28 dhcp231-57 pcscd: ifdhandler.c:1035:IFDHTransmitToICC() lun: 0

Comment 1 Asha Akkiangady 2011-07-28 20:27:35 UTC
Created attachment 515794 [details]
Bug-buddy's report on this crash.

Comment 6 Nathan Kinder 2012-06-11 17:38:53 UTC
ESC is not being updated for RHEL5.9.  This bug was fixed in 5.8.z, so this bug can be closed.