Closed Bug 679030 Opened 13 years ago Closed 13 years ago

Firefox 8.0a1 Crash [@ PK11PasswordPrompt(PK11SlotInfoStr*, int, void*) ]

Categories

(Core :: Security: PSM, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 678440
mozilla9

People

(Reporter: marcia, Assigned: briansmith)

Details

(Keywords: crash, Whiteboard: Stack is bogus, not real)

Crash Data

Seen while looking at trunk crash stats. Crashes started showing up using the 2011081200 build. https://crash-stats.mozilla.com/report/list?signature=PK11PasswordPrompt%28PK11SlotInfoStr*,%20int,%20void*%29 links to the crashes.

Possible pushlog regression range based on crash stats: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=be17ceae8d60&tochange=f262c389193e

https://crash-stats.mozilla.com/report/index/5c9b114f-2d1a-4016-877f-e760e2110815


Frame 	Module 	Signature [Expand] 	Source
0 	xul.dll 	PK11PasswordPrompt 	security/manager/ssl/src/nsNSSCallbacks.cpp:816
1 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
2 	nssckbi.dll 	nss_ZFreeIf 	security/nss/lib/base/arena.c:975
3 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
4 	nss3.dll 	PK11_NeedUserInit 	security/nss/lib/pk11wrap/pk11slot.c:1726
5 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
6 	nss3.dll 	error_get_my_stack 	security/nss/lib/base/error.c:130
7 	nspr4.dll 	PR_Unlock 	nsprpub/pr/src/threads/combined/prulock.c:347
8 	nss3.dll 	pk11_IsPresentCertLoad 	security/nss/lib/pk11wrap/pk11slot.c:1481
9 	nss3.dll 	PK11_IsLoggedIn 	security/nss/lib/pk11wrap/pk11auth.c:785
10 	nss3.dll 	PK11_DoPassword 	security/nss/lib/pk11wrap/pk11auth.c:605
11 	nss3.dll 	PK11_Authenticate 	security/nss/lib/pk11wrap/pk11auth.c:334
12 	nss3.dll 	PK11_GetBestSlotMultiple 	security/nss/lib/pk11wrap/pk11slot.c:2050
13 	nss3.dll 	PK11_GetBestSlot 	security/nss/lib/pk11wrap/pk11slot.c:2071
14 	ntdll.dll 	RtlInitializeCriticalSection 	
15 	nss3.dll 	PK11_VerifyRecover 	security/nss/lib/pk11wrap/pk11obj.c:642
16 	mozcrt19.dll 	malloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:5925
17 	nssutil3.dll 	PORT_Alloc_Util 	security/nss/lib/util/secport.c:112
18 	nss3.dll 	DecryptSigBlock 	security/nss/lib/cryptohi/secvfy.c:79
19 	nss3.dll 	SECKEY_CopyPublicKey 	security/nss/lib/cryptohi/seckey.c:1256
20 	nss3.dll 	vfy_CreateContext 	security/nss/lib/cryptohi/secvfy.c:408
21 	nssutil3.dll 	SECOID_FindOIDTag_Util 	security/nss/lib/util/secoid.c:2013
22 	nss3.dll 	vfy_VerifyData 	security/nss/lib/cryptohi/secvfy.c:705
23 	nss3.dll 	VFY_VerifyDataWithAlgorithmID 	security/nss/lib/cryptohi/secvfy.c:755
24 	nss3.dll 	seckey_ExtractPublicKey 	security/nss/lib/cryptohi/seckey.c:702
25 	nss3.dll 	CERT_VerifySignedDataWithPublicKey 	security/nss/lib/certhigh/certvfy.c:92
26 	nss3.dll 	CERT_ExtractPublicKey 	security/nss/lib/cryptohi/seckey.c:780
27 	nss3.dll 	CERT_VerifySignedData 	security/nss/lib/certhigh/certvfy.c:146
28 	nss3.dll 	cert_VerifyCertChainOld 	security/nss/lib/certhigh/certvfy.c:480
29 	nssutil3.dll 	SECITEM_ItemsAreEqual_Util 	security/nss/lib/util/secitem.c:191
30 	nss3.dll 	cert_VerifyCertChain 	security/nss/lib/certhigh/certvfy.c:695
31 	ntdll.dll 	RtlDeleteCriticalSection 	
32 	nss3.dll 	CERT_VerifyCertChain 	security/nss/lib/certhigh/certvfy.c:704
33 	nss3.dll 	CERT_VerifyCert 	security/nss/lib/certhigh/certvfy.c:1292
34 	nspr4.dll 	PR_Now 	nsprpub/pr/src/md/windows/ntmisc.c:356
35 	nss3.dll 	CERT_VerifyCertNow 	security/nss/lib/certhigh/certvfy.c:1343
36 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
37 	xul.dll 	PSM_SSL_PKIX_AuthCertificate 	security/manager/ssl/src/nsNSSCallbacks.cpp:984
38 	nss3.dll 	nssTrust_AddRef 	security/nss/lib/pki/certificate.c:119
39 	nss3.dll 	nssPKIObject_Unlock 	security/nss/lib/pki/pkibase.c:73
40 	nss3.dll 	CERT_DupCertificate 	security/nss/lib/certdb/certdb.c:1387
41 	nss3.dll 	stan_GetCERTCertificate 	security/nss/lib/pki/pki3hack.c:874
42 	ssl3.dll 	SSL_PeerCertificate 	security/nss/lib/ssl/sslauth.c:57
43 	xul.dll 	AuthCertificateCallback 	security/manager/ssl/src/nsNSSCallbacks.cpp:1087
44 	nss3.dll 	seckey_UpdateCertPQGChain 	security/nss/lib/cryptohi/seckey.c:442
45 	ssl3.dll 	ssl3_HandleCertificate 	security/nss/lib/ssl/ssl3con.c:7903
46 	nspr4.dll 	PR_GetCurrentThread 	nsprpub/pr/src/threads/prcthr.c:174
47 	ssl3.dll 	ssl3_HandleHandshakeMessage 	security/nss/lib/ssl/ssl3con.c:8601
48 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
49 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
50 	ssl3.dll 	ssl3_HandleHandshake 	security/nss/lib/ssl/ssl3con.c:8725
51 	ssl3.dll 	ssl3_HandleRecord 	security/nss/lib/ssl/ssl3con.c:9064
52 	nspr4.dll 	PR_MD_RECV 	nsprpub/pr/src/md/windows/w95sock.c:354
53 	nspr4.dll 	SocketRecv 	nsprpub/pr/src/io/prsocket.c:639
54 	ssl3.dll 	ssl3_SendClientHello 	security/nss/lib/ssl/ssl3con.c:4032
55 	ssl3.dll 	ssl_DefRecv 	security/nss/lib/ssl/ssldef.c:94
56 	ssl3.dll 	ssl3_GatherCompleteHandshake 	security/nss/lib/ssl/ssl3gthr.c:209
57 	ssl3.dll 	ssl_GatherRecord1stHandshake 	security/nss/lib/ssl/sslcon.c:1258
58 	ssl3.dll 	ssl_Do1stHandshake 	security/nss/lib/ssl/sslsecur.c:151
59 	nspr4.dll 	PR_WaitCondVar 	nsprpub/pr/src/threads/combined/prucv.c:547
60 	ssl3.dll 	ssl_SecureSend 	security/nss/lib/ssl/sslsecur.c:1222
61 	ssl3.dll 	ssl_Write 	security/nss/lib/ssl/sslsock.c:1659
62 	xul.dll 	nsSSLThread::Run 	
63 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
64 	nspr4.dll 	PR_NativeRunThread 	nsprpub/pr/src/threads/combined/pruthr.c:426
65 	mozcrt19.dll 	getptd_noexit 	obj-firefox/memory/jemalloc/crtsrc/tidtable.c:614
66 	nspr4.dll 	pr_root 	nsprpub/pr/src/md/windows/w95thred.c:122
67 	mozcrt19.dll 	_callthreadstartex 	obj-firefox/memory/jemalloc/crtsrc/threadex.c:348
68 	mozcrt19.dll 	_threadstartex 	obj-firefox/memory/jemalloc/crtsrc/threadex.c:326
69 	kernel32.dll 	kernel32.dll@0x1652c 	
70 	ntdll.dll 	RtlUserThreadStart 	
71 	kernel32.dll 	kernel32.dll@0x992ef 	
72 	kernel32.dll 	kernel32.dll@0x992ef
Adding Brian per chofmann's suggestion.
Assignee: nobody → bsmith
Whiteboard: Stack is bogus, not real
Despite the numerous bogus entries in the above stack trace, it's possible
to see the correct stack by ignoring the obvious bogons, such as lines
59, 53, 52, 48-49 (all MD_CURRENT_THREAD lines), 46, 44, 39, 38, 34, 31, 
29, 21, 17, 16, 14, 7, 6, 5, 3, 2, & 1.  

Is this just a simple stack overflow?

Note that function PK11PasswordPrompt (line 0) is a PSM function, not NSS.
Assignee: bsmith → nobody
Component: Libraries → Security: PSM
Product: NSS → Core
QA Contact: libraries → psm
Target Milestone: --- → mozilla9
Version: 3.0 → Trunk
Assignee: nobody → bsmith
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.