Closed Bug 308785 Opened 19 years ago Closed 8 years ago

SeaMonkey does not exit if settoki.dll security device is loaded

Categories

(Core :: Security: PSM, defect, P2)

1.8 Branch
x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.9alpha1

People

(Reporter: jsluoma, Unassigned)

Details

(Whiteboard: [kerh-bra])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050910 SeaMonkey/1.0a
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050910 SeaMonkey/1.0a

If PKCS#11 v2.11 interface settoki.dll from SetWeb is loaded, SeaMonkey does not
exit cleanly. All windows can be closed but process seamonkey.exe leaves running
and prevents launching SeaMonkey again with same profile. 

Reproducible: Always

Steps to Reproduce:
1. Install SetWeb software from
<http://www.fineid.fi/default.asp?path=9%2CDownloads&template=>
2. Make sure settoki.dll is loaded to SeaMonkey
3. Close all windows

Actual Results:  
seamonkey.exe remains in process list.

Expected Results:  
seamonkey.exe terminates cleanly.

If all windows are closed and seamonkey.exe process is left running, inserting
or removing card from smart card reader causes seamonkey.exe to exit. Seems that
seamonkey.exe is waiting for some events from card reader that prevents it to
exit cleanly.
Summary: Seamonkey does not exit if settoki.dll security device is loaded → SeaMonkey does not exit if settoki.dll security device is loaded
If I use PKCS#11 interface from http://www.opensc.org/ project, I get a
SeaMonkey crash on exit. This software (Smart Card Bundle, SCB) for Windows can
be loaded from here: <http://www.opensc.org/download.php>.
if you build yourself... attach w/ windbg and use !analyze -v -hang, you're 
welcome to try this w/ a release build, but i suspect w/o symbols it won't be 
particularly useful. i'm hoping to get access to official mozilla symbols 
eventually.
Version: unspecified → 1.8 Branch
Bug is also present in Firefox 1.5RC2 and Thunderbird 1.5RC1.  I've also seen some other old PKCS#11 modules to work until Firefox 1.07 and not in 1.5b or RC.

Very bad.
==> NSS
Assignee: general → wtchang
Component: General → Libraries
Product: Mozilla Application Suite → NSS
QA Contact: general → jason.m.reid
Version: 1.8 Branch → unspecified
The crash on exit when using OpenSC PKCS #11 library
sounds familiar.  Kai, do you think this is a duplicate
of bug 292699?
Wan-Teh, I think it is unlikely this bug is a duplicate of bug 292699.

If I understand bug 292699 comment 13 correctly, the problem is, the embedding app Camino is not sending out the correct notifications, that would trigger PSM's cleanup and shutdown preparation.

However this bug is about Seamonkey, which uses the correct notifications. If we crash on exit, I suspect we have a leak of NSS resources.

Setting to confirmed, as both Juha and Timo see the problem.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: wtchang → kengert
Component: Libraries → Security: PSM
Product: NSS → Core
QA Contact: jason.m.reid
Version: unspecified → 1.8 Branch
Kai, in comment 4 Timo said that Firefox 1.5 RC2 and
Thunderbird 1.5 RC1 also have this bug.
Whiteboard: [kerh-bra]
https://bugzilla.mozilla.org/show_bug.cgi?id=318546 might be a duplicate of this bug?
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
QA Contact: psm
With current versions (SeaMonkey 1.1.1 and SetWeb 1.71) this problem does not occuer any more. Haven't tested with Smart Card Bundle from www.opensc.org.
reassign bug owner.
mass-update-kaie-20120918
Assignee: kaie → nobody
WFM as per comment 10.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: