Open
Bug 417645
Opened 17 years ago
Updated 2 years ago
pkix_primhash_add should not throw error when caller attempt to add dup key/values pair.
Categories
(NSS :: Libraries, enhancement, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: alvolkov.bgs, Unassigned)
Details
(Whiteboard: PKIX)
Running all.sh(strsclnt tests) on my machine produce leaks of object. Don't know why we do not see stress test failing on tinderboxes.
Stress client parametes: -q -p 10443 -d ../client -B -s -w nss -c 100 -C A -N -n TestUser goa1.red.iplanet.com
Some times need to run more than ones to reproduce the failure.
Leak report:
-139315536[8064580]: Class BigInt leaked 1 objects of size 8 bytes, total = 8 bytes
-139315536[8064580]: Class BuildResult leaked 1 objects of size 8 bytes, total = 8 bytes
-139315536[8064580]: Class Cert leaked 2 objects of size 136 bytes, total = 272 bytes
-139315536[8064580]: Class CertBasicConstraints leaked 1 objects of size 8 bytes, total = 8 bytes
-139315536[8064580]: Class CertStore leaked 1 objects of size 32 bytes, total = 32 bytes
-139315536[8064580]: Class Date leaked 3 objects of size 12 bytes, total = 36 bytes
-139315536[8064580]: Class List leaked 19 objects of size 20 bytes, total = 380 bytes
-139315536[8064580]: Class PublicKey leaked 2 objects of size 4 bytes, total = 8 bytes
-139315536[8064580]: Class TrustAnchor leaked 1 objects of size 16 bytes, total = 16 bytes
-139315536[8064580]: Class ValidateResult leaked 1 objects of size 12 bytes, total = 12 bytes
-139315536[8064580]: Class X500Name leaked 3 objects of size 24 bytes, total = 72 bytes
-139315536[8064580]: Assertion failure: secmod_PrivateModuleCount == 0, at pk11util.c:120
Assertion failure: secmod_PrivateModuleCount == 0, at pk11util.c:120
Aborted (core dumped)
Directory: /net/goa1.red.iplanet.com/export/SC/ws/nss-3.12-pkix-errors/mozilla/tests_results/security/goa1.5/client
Reporter | ||
Updated•17 years ago
|
Priority: -- → P1
Whiteboard: PKIX NSS312B2
Reporter | ||
Comment 1•17 years ago
|
||
The reason of failure was change in pkix_pl_primhash.c: http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/security/nss/lib/libpkix/pkix_pl_nss/system&command=DIFF_FRAMESET&file=pkix_pl_primhash.c&rev1=1.4&rev2=1.5&root=/cvsroot
Additional changes require to callers on the function to clean up objects if collision has occurred.
Reporter | ||
Updated•17 years ago
|
Priority: P1 → P2
Summary: thread unsafe operation in libpkix resulting in leaks of object → pkix_primhash_add should not throw error when caller attempt to add dup key/values pair.
Whiteboard: PKIX NSS312B2 → PKIX
Reporter | ||
Updated•17 years ago
|
Severity: normal → enhancement
Comment 2•16 years ago
|
||
Previous change to not throw an error resulted in leaks, and so that change
was backed out, which fixed the leaks but reinstated the errors.
The objective is to eliminate the errors and any new leaks.
Reporter | ||
Updated•16 years ago
|
Target Milestone: 3.12 → 3.12.2
Comment 3•16 years ago
|
||
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12.2 → ---
Comment 4•2 years ago
|
||
The bug assignee is inactive on Bugzilla, and this bug has priority 'P2'.
:beurdouche, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: alvolkov.bgs → nobody
Flags: needinfo?(bbeurdouche)
Updated•2 years ago
|
Severity: normal → S3
Comment 5•2 years ago
|
||
We have modified the bot to only consider P1 as high priority, so I'm cancelling the needinfo here.
Flags: needinfo?(bbeurdouche)
You need to log in
before you can comment on or make changes to this bug.
Description
•