Closed
Bug 495284
Opened 17 years ago
Closed 10 years ago
Firefox hangs on startup and quit when PKCS#11 module installed and a smartcard is in the reader.
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: tmiller, Unassigned)
Details
(Whiteboard: [psm-fatal][psm-auth])
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4
When a PKCS#11 module is installed and a card is in the reader, FF hangs on launch or shutdown. When the card is removed, launch or shutdown completes normally.
Reproducible with PKCS#11 modules from both OpenSC and RedHat Coolkey. (Apple PKCS#11 module currently not working because of an Apple bug.)
Reproducible: Always
Steps to Reproduce:
1. Install a PKCS#11 module in security devices.
2. Quit.
3. Insert supported smartcard in the reader.
4. Launch Firefox.
5. Wait.
6. Remove card.
7. Insert card.
8. Quit Firefox.
9. Wait.
10. Remove card.
Actual Results:
At step (5), the Firefox window never appears. The Firefox menu bar appears, and the application is selectable from the Dock, but will show as "Application not responding."
When the card is removed, the Firefox window appears and all is normal.
At step (9), the Firefox window is destroyed but the menu bar is still present. The application shows in the Dock, but will report "Application not responding."
At step (10), Firefox quit completes normally.
Expected Results:
Firefox should launch and quite completely without removing the smartcard.
Appears to be related to Bug#415414, Bug#318546, and Bug#337592.
| Reporter | ||
Comment 1•17 years ago
|
||
This *may* be a bug in PSM or NSS, but I'm not certain enough to file it under those components.
| Reporter | ||
Comment 2•17 years ago
|
||
Reproducible with FF 3.0.x. As in "every 3.0 version I've tried so far today."
Comment 3•17 years ago
|
||
I understand your reluctance, but it's more likely to get triaged in PSM than here. :)
This is almost certainly related to bug 494899, though the STR don't sound like an exact dup.
Assignee: nobody → kaie
Component: Security → Security: PSM
Product: Firefox → Core
QA Contact: firefox → psm
Comment 4•17 years ago
|
||
If you're using OpenSC, see if some OpenSC utility can be used when it hangs. If you use OpenSC, do you use SCA? I have not tried lately, but it seems like a pcsc access mode issue, as at least in OpenSC upstream trunk the default is locking the card on C_Login. If during the "hang" you can't run opensc-explorer for example, as it would "hang" as well until you remove the card (or close the process that has exclusive access to the card)
I've been using OpenSC on OS X with Firefox for a long time and have not observed the mentioned problem, but I recognize the symptoms as a card locking issues which probably has to do with the PKCS#11 module implementation rather than Firefox/NSS itself (except the referenced C_WaitForSlotEvent issues, which seem valid but not related)
Comment 5•16 years ago
|
||
Mass change owner of unconfirmed "Core:Security UI/PSM/SMime" bugs to nobody.
Search for kaie-20100607-unconfirmed-nobody
Assignee: kaie → nobody
Updated•16 years ago
|
Whiteboard: [psm-fatal][psm-auth]
I had a similar problem which is now solved, thanks to a patch for libusb found here : <http://www.libusb.org/ticket/103>
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Comment 8•23 days ago
|
||
Clearing the needinfo request since this bug has been closed as INCOMPLETE for 10 years, 3 months and 29 days.
For more information, please visit BugBot documentation.
Flags: needinfo?(tmiller)
You need to log in
before you can comment on or make changes to this bug.
Description
•