Smartcard causes 104.0.2 to hang
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
People
(Reporter: chris, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
Insert smartcard into reader, visit website that is smart-card required. (this is a US govt Cac Card). Firefox slows WAY down, and then throws a dialog about "firefox is not responding, wait or quit". This is BEFORE actually needing to provide any creds, or before the site should even care a SC is present.
This is an "out of the box" fedora 36 install
Actual results:
here is a snippet from journalctl while trying to get things to load
Sep 17 20:24:28 fedora pcscd[2232]: 99999999 commands.c:1612:CCID_Receive Card absent or mute
Sep 17 20:24:28 fedora pcscd[2232]: 00000097 ifdwrapper.c:543:IFDTransmit() Card not transacted: 612
Sep 17 20:24:28 fedora pcscd[2232]: 00000002 winscard.c:1618:SCardTransmit() Card not transacted: 0x80100016
Sep 17 20:24:34 fedora gnome-shell[2611]: Window manager warning: Ping serial 1730690 was reused for window W23, previous use was for window W15.
Sep 17 20:24:55 fedora pcscd[2232]: 26787585 commands.c:1612:CCID_Receive Card absent or mute
Sep 17 20:24:55 fedora pcscd[2232]: 00000035 ifdwrapper.c:543:IFDTransmit() Card not transacted: 612
Sep 17 20:24:55 fedora pcscd[2232]: 00000007 winscard.c:1618:SCardTransmit() Card not transacted: 0x80100016
Sep 17 20:25:15 fedora gnome-shell[2611]: Window manager warning: Ping serial 1771325 was reused for window W15, previous use was for window W0.
Sep 17 20:25:29 fedora pcscd[2232]: 34744328 commands.c:1612:CCID_Receive Card absent or mute
Sep 17 20:25:29 fedora pcscd[2232]: 00000030 ifdwrapper.c:543:IFDTransmit() Card not transacted: 612
Sep 17 20:25:29 fedora pcscd[2232]: 00000009 winscard.c:1618:SCardTransmit() Card not transacted: 0x80100016
update -- there is a conflict (Out of the box!) with gsd-smartcard
. killing gsd-smartcard makes everything work great. good to close here. I'll resubmit to fedora.
Update - this didn't fully fix the problem, it just made some sites not hang sometimes - this still feels like a FF issue. LMK what logs I can send along
I tried this with Chromium and it "just worked", so, providing some add'l evidence this is a FF issue and not a Fedora issue.
Comment 4•2 years ago
|
||
I'm not sure how could I confirm this bug on my end but I well set "NSS: Libraries" component for this issue, it could be a good starting point so the engineering team could take a look at this issue.
![]() |
||
Comment 5•2 years ago
|
||
Can you use perf
or a similar profiling tool to see where Firefox is spending time? Also, using https://mozilla.github.io/mozregression/ should help narrow down the change that caused this. Thanks!
Comment 6•2 years ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•