Closed Bug 616675 Opened 12 years ago Closed 8 years ago

crash [@ nsScriptSecurityManager::IsCapabilityEnabled(char const*, int*) ]

Categories

(Core :: Security: CAPS, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: scoobidiver, Unassigned)

References

Details

(Keywords: crash)

Crash Data

It is a residual crash signature that exists in 3.0, 3.5, 3.6 and trunk builds.
Many crashes happen at startup.
It is #96 top crasher in 4.0b8pre for the last week.

Signature	nsScriptSecurityManager::IsCapabilityEnabled(char const*, int*)
UUID	1f021ca6-bd63-43f9-b59f-786cb2101203
Time 	2010-12-03 16:20:53.463927
Uptime	1
Last Crash	48 seconds before submission
Install Age	19020 seconds (5.3 hours) since version was first installed.
Product	Firefox
Version	4.0b8pre
Build ID	20101203030309
Branch	2.0
OS	Windows NT
OS Version	5.1.2600 Service Pack 2
CPU	x86
CPU Info	AuthenticAMD family 15 model 28 stepping 0
Crash Reason	EXCEPTION_ACCESS_VIOLATION_READ
Crash Address	0xdb830

Frame 	Module 	Signature [Expand] 	Source
0 		@0xdb830 	
1 	xul.dll 	nsScriptSecurityManager::IsCapabilityEnabled 	
2 	xul.dll 	nsScriptSecurityManager::CheckXPCPermissions 	caps/src/nsScriptSecurityManager.cpp:3179
3 	xul.dll 	nsScriptSecurityManager::CanCreateWrapper 	caps/src/nsScriptSecurityManager.cpp:2985
4 	xul.dll 	XPCWrappedNative::InitTearOff 	js/src/xpconnect/src/xpcwrappednative.cpp:2084
5 	xul.dll 	XPC_WN_CallMethod 	js/src/xpconnect/src/xpcwrappednativejsops.cpp:1594
6 	mozjs.dll 	js::Invoke 	js/src/jsinterp.cpp:700
7 	mozjs.dll 	js::ExternalInvoke 	js/src/jsinterp.cpp:858
8 	mozjs.dll 	js_TryMethod 	js/src/jsobj.cpp:6131
9 	mozjs.dll 	js::DefaultValue 	js/src/jsobj.cpp:5779
10 	mozjs.dll 	js_ValueToString 	js/src/jsstr.cpp:3761
11 	mozjs.dll 	js_ValueToAtom 	js/src/jsatominlines.h:69
12 	mozjs.dll 	js_InternNonIntElementIdSlow 	js/src/jsatom.cpp:992
13 	mozjs.dll 	js_InternNonIntElementId 	js/src/jsatominlines.h:101
14 	mozjs.dll 	js::Interpret 	js/src/jsinterp.cpp:4512
15 	mozjs.dll 	js::RunScript 	js/src/jsinterp.cpp:657
16 	mozjs.dll 	js::Execute 	js/src/jsinterp.cpp:1005
17 	mozjs.dll 	JS_ExecuteScriptVersion 	js/src/jsapi.cpp:4845
18 	xul.dll 	mozJSComponentLoader::GlobalForLocation 	js/src/xpconnect/loader/mozJSComponentLoader.cpp:1250
19 	xul.dll 	mozJSComponentLoader::LoadModuleImpl 	js/src/xpconnect/loader/mozJSComponentLoader.cpp:741
20 	xul.dll 	mozJSComponentLoader::LoadModuleFromJAR 	js/src/xpconnect/loader/mozJSComponentLoader.cpp:706
21 	xul.dll 	nsComponentManagerImpl::KnownModule::Load 	xpcom/components/nsComponentManager.cpp:950
22 	xul.dll 	nsFactoryEntry::GetFactory 	xpcom/components/nsComponentManager.cpp:1936
23 	xul.dll 	nsComponentManagerImpl::CreateInstanceByContractID 	xpcom/components/nsComponentManager.cpp:1299
24 	xul.dll 	nsComponentManagerImpl::GetServiceByContractID 	xpcom/components/nsComponentManager.cpp:1664
25 	xul.dll 	nsGetServiceByContractIDWithError::operator 	obj-firefox/xpcom/build/nsComponentManagerUtils.cpp:288
26 	xul.dll 	nsAppStartupNotifier::Observe 	embedding/components/appstartup/src/nsAppStartupNotifier.cpp:100
27 	xul.dll 	XRE_main 	toolkit/xre/nsAppRunner.cpp:3526
28 	firefox.exe 	wmain 	toolkit/xre/nsWindowsWMain.cpp:128
29 	firefox.exe 	__tmainCRTStartup 	obj-firefox/memory/jemalloc/crtsrc/crtexe.c:591
30 	kernel32.dll 	BaseProcessStart 	
31 	kernel32.dll 	GetCodePageFileInfo 	
32 	kernel32.dll 	BaseProcessStart 	
33 	firefox.exe 	firefox.exe@0x186f

More reports at:
http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=&range_value=4&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=&signature=nsScriptSecurityManager%3A%3AIsCapabilityEnabled%28char%20const*%2C%20int*%29
these all look like possible dup reports occurring between 15:49 and 16:10 and mostly just a few seconds apart in time since last crash.

lets see if these go way.
Depends on: 579136
> these all look like possible dup reports
Yes, but as it is related to security, I think it is important to find what is wrong, if it is possible.
Crash Signature: [@ nsScriptSecurityManager::IsCapabilityEnabled(char const*, int*) ]
You need to log in before you can comment on or make changes to this bug.