Closed Bug 941461 Opened 6 years ago Closed 6 years ago

don't compile android with unaligned memory access

Categories

(NSPR :: NSPR, defect, P1, critical)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED
4.10.3

People

(Reporter: blassey, Assigned: blassey)

References

Details

(Keywords: crash, regression, topcrash-android-armv7, Whiteboard: [native-crash])

Crash Data

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #890985 +++

This bug was filed from the Socorro interface and is 
report bp-e7382553-3587-4290-8c51-cc57a2130707 .
 ============================================================= 

Frame 	Module 	Signature 	Source
0 	libxul.so 	nsStandardURL::BuildNormalizedSpec(char const*) 	netwerk/base/src/nsStandardURL.cpp
1 	libxul.so 	nsStandardURL::SetSpec(nsACString_internal const&) 	netwerk/base/src/nsStandardURL.cpp
2 	libxul.so 	nsStandardURL::Init(unsigned int, int, nsACString_internal const&, char const*, nsIURI*) 	netwerk/base/src/nsStandardURL.cpp
3 	libxul.so 	nsJARURI::CreateEntryURL(nsACString_internal const&, char const*, nsIURL**) 	modules/libjar/nsJARURI.cpp
4 	libxul.so 	nsJARURI::SetSpecWithBase(nsACString_internal const&, nsIURI*) 	modules/libjar/nsJARURI.cpp
5 	libxul.so 	nsJARProtocolHandler::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) 	modules/libjar/nsJARProtocolHandler.cpp
6 	libxul.so 	nsIOService::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) 	netwerk/base/src/nsIOService.cpp
7 	libxul.so 	nsJARURI::SetSpecWithBase(nsACString_internal const&, nsIURI*) 	modules/libjar/nsJARURI.cpp
8 	libxul.so 	nsJARProtocolHandler::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) 	modules/libjar/nsJARProtocolHandler.cpp
9 	libxul.so 	nsIOService::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) 	netwerk/base/src/nsIOService.cpp
10 	libxul.so 	nsIOService::NewChannel(nsACString_internal const&, char const*, nsIURI*, nsIChannel**) 	netwerk/base/src/nsIOService.cpp
11 	libxul.so 	nsResProtocolHandler::NewChannel(nsIURI*, nsIChannel**) 	netwerk/protocol/res/nsResProtocolHandler.cpp
12 	libxul.so 	nsIOService::NewChannelFromURIWithProxyFlags(nsIURI*, nsIURI*, unsigned int, nsIChannel**) 	netwerk/base/src/nsIOService.cpp
13 	libxul.so 	nsIOService::NewChannelFromURI(nsIURI*, nsIChannel**) 	netwerk/base/src/nsIOService.cpp
14 	libxul.so 	mozJSComponentLoader::ImportInto(nsACString_internal const&, JS::Handle<JSObject*>, JSContext*, JS::MutableHandle<JSObject*>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
15 	libxul.so 	mozJSComponentLoader::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/loader/mozJSComponentLoader.cpp
16 	libxul.so 	nsXPCComponents_Utils::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/src/XPCComponents.cpp
17 	libxul.so 	NS_InvokeByIndex 	xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
18 	libxul.so 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp
19 	libxul.so 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp
20 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
21 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
22 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
23 	libxul.so 	js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) 	js/src/vm/Interpreter.cpp
24 	libxul.so 	JS_ExecuteScript(JSContext*, JSObject*, JSScript*, JS::Value*) 	js/src/jsapi.cpp
25 	libxul.so 	JS_ExecuteScriptVersion(JSContext*, JSObject*, JSScript*, JS::Value*, JSVersion) 	js/src/jsapi.cpp
26 	libxul.so 	mozJSComponentLoader::ObjectForLocation(nsIFile*, nsIURI*, JSObject**, char**, bool, JS::MutableHandle<JS::Value>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
27 	libxul.so 	mozJSComponentLoader::ImportInto(nsACString_internal const&, JS::Handle<JSObject*>, JSContext*, JS::MutableHandle<JSObject*>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
28 	libxul.so 	mozJSComponentLoader::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/loader/mozJSComponentLoader.cpp
29 	libxul.so 	nsXPCComponents_Utils::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/src/XPCComponents.cpp
30 	libxul.so 	NS_InvokeByIndex 	xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
31 	libxul.so 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp
32 	libxul.so 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp
33 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
34 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
35 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
36 	libxul.so 	js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) 	js/src/vm/Interpreter.cpp
37 	libxul.so 	JS_ExecuteScript(JSContext*, JSObject*, JSScript*, JS::Value*) 	js/src/jsapi.cpp
38 	libxul.so 	JS_ExecuteScriptVersion(JSContext*, JSObject*, JSScript*, JS::Value*, JSVersion) 	js/src/jsapi.cpp
39 	libxul.so 	mozJSComponentLoader::ObjectForLocation(nsIFile*, nsIURI*, JSObject**, char**, bool, JS::MutableHandle<JS::Value>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
40 	libxul.so 	mozJSComponentLoader::ImportInto(nsACString_internal const&, JS::Handle<JSObject*>, JSContext*, JS::MutableHandle<JSObject*>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
41 	libxul.so 	mozJSComponentLoader::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/loader/mozJSComponentLoader.cpp
42 	libxul.so 	nsXPCComponents_Utils::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/src/XPCComponents.cpp
43 	libxul.so 	NS_InvokeByIndex 	xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
44 	libxul.so 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp
45 	libxul.so 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp
46 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
47 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
48 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
49 	libxul.so 	js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) 	js/src/vm/Interpreter.cpp
50 	libxul.so 	JS_ExecuteScript(JSContext*, JSObject*, JSScript*, JS::Value*) 	js/src/jsapi.cpp
51 	libxul.so 	JS_ExecuteScriptVersion(JSContext*, JSObject*, JSScript*, JS::Value*, JSVersion) 	js/src/jsapi.cpp
52 	libxul.so 	mozJSComponentLoader::ObjectForLocation(nsIFile*, nsIURI*, JSObject**, char**, bool, JS::MutableHandle<JS::Value>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
53 	libxul.so 	mozJSComponentLoader::ImportInto(nsACString_internal const&, JS::Handle<JSObject*>, JSContext*, JS::MutableHandle<JSObject*>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
54 	libxul.so 	mozJSComponentLoader::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/loader/mozJSComponentLoader.cpp
55 	libxul.so 	nsXPCComponents_Utils::Import(nsACString_internal const&, JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/src/XPCComponents.cpp
56 	libxul.so 	NS_InvokeByIndex 	xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
57 	libxul.so 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp
58 	libxul.so 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp
59 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
60 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
61 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
62 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/vm/Interpreter.cpp
63 	libxul.so 	js_fun_call(JSContext*, unsigned int, JS::Value*) 	js/src/jsfun.cpp
64 	libxul.so 	js_fun_apply(JSContext*, unsigned int, JS::Value*) 	js/src/jsfun.cpp
65 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
66 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
67 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
68 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/vm/Interpreter.cpp
69 	libxul.so 	js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::Value*) 	js/src/vm/Interpreter.cpp
70 	libxul.so 	js::DirectProxyHandler::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) 	js/src/jsproxy.cpp
71 	libxul.so 	js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) 	js/src/jswrapper.cpp
72 	libxul.so 	js::Proxy::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) 	js/src/jsproxy.cpp
73 	libxul.so 	proxy_Call 	js/src/jsproxy.cpp
74 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
75 	libxul.so 	js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::Value*) 	js/src/vm/Interpreter.cpp
76 	libxul.so 	js::InvokeGetterOrSetter(JSContext*, JSObject*, JS::Value const&, unsigned int, JS::Value*, JS::Value*) 	js/src/vm/Interpreter.cpp
77 	libxul.so 	js_NativeGet(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<js::Shape*>, unsigned int, JS::MutableHandle<JS::Value>) 	js/src/vm/Shape-inl.h
78 	libxul.so 	Interpret 	js/src/vm/Interpreter-inl.h
79 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
80 	libxul.so 	js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) 	js/src/vm/Interpreter.cpp
81 	libxul.so 	JS_ExecuteScript(JSContext*, JSObject*, JSScript*, JS::Value*) 	js/src/jsapi.cpp
82 	libxul.so 	JS_ExecuteScriptVersion(JSContext*, JSObject*, JSScript*, JS::Value*, JSVersion) 	js/src/jsapi.cpp
83 	libxul.so 	mozJSComponentLoader::ObjectForLocation(nsIFile*, nsIURI*, JSObject**, char**, bool, JS::MutableHandle<JS::Value>) 	js/xpconnect/loader/mozJSComponentLoader.cpp
84 	libxul.so 	mozJSComponentLoader::LoadModule(mozilla::FileLocation&) 	js/xpconnect/loader/mozJSComponentLoader.cpp
85 	libxul.so 	nsComponentManagerImpl::KnownModule::Load() 	xpcom/components/nsComponentManager.cpp
86 	libxul.so 	nsFactoryEntry::GetFactory() 	xpcom/components/nsComponentManager.cpp
87 	libxul.so 	nsComponentManagerImpl::CreateInstance(nsID const&, nsISupports*, nsID const&, void**) 	xpcom/components/nsComponentManager.cpp
88 	libxul.so 	nsComponentManagerImpl::GetService(nsID const&, nsID const&, void**) 	xpcom/components/nsComponentManager.cpp
89 	libxul.so 	nsJSCID::GetService(JS::Value const&, JSContext*, unsigned char, JS::Value*) 	js/xpconnect/src/XPCJSID.cpp
90 	libxul.so 	NS_InvokeByIndex 	xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
91 	libxul.so 	XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) 	js/xpconnect/src/XPCWrappedNative.cpp
92 	libxul.so 	XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) 	js/xpconnect/src/XPCWrappedNativeJSOps.cpp
93 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/jscntxtinlines.h
94 	libxul.so 	Interpret 	js/src/vm/Interpreter.cpp
95 	libxul.so 	js::RunScript(JSContext*, js::RunState&) 	js/src/vm/Interpreter.cpp
96 	libxul.so 	js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) 	js/src/vm/Interpreter.cpp
97 	libxul.so 	js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::Value*) 	js/src/vm/Interpreter.cpp
98 	libxul.so 	JS_CallFunctionValue(JSContext*, JSObject*, JS::Value, unsigned int, JS::Value*, JS::Value*) 	js/src/jsapi.cpp
99 	libxul.so 	nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	js/xpconnect/src/XPCWrappedJSClass.cpp
100 	libxul.so 	nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	js/xpconnect/src/XPCWrappedJS.cpp
162 	libdvm.so 	libdvm.so@0xb9ce6 	
163 	libdvm.so 	libdvm.so@0x60387 	
164 	libdvm.so 	libdvm.so@0x6d4c3 	
165 	libdvm.so 	libdvm.so@0xb9ce6 	
166 	libdvm.so 	libdvm.so@0x60387 	
167 	libdvm.so 	libdvm.so@0xb5012 	
168 	libdvm.so 	libdvm.so@0x60437 	
169 	libdvm.so 	libdvm.so@0x60387 	
170 	libc.so 	libc.so@0x1319e 	
171 	libc.so 	libc.so@0x12cd6

More crashes : https://crash-stats.mozilla.com/report/list?product=FennecAndroid&signature=nsStandardURL%3A%3ABuildNormalizedSpec%28char+const*%29
Attachment #8335854 - Flags: review?(ted)
Assignee: wtc → blassey.bugs
Priority: -- → P1
Target Milestone: --- → 4.10.4
Version: other → 4.10.3
Attachment #8335854 - Flags: review?(ted) → review+
http://hg.mozilla.org/projects/nspr/rev/44944062cd40
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: 4.10.4 → 4.10.3
Version: 4.10.3 → other
You need to log in before you can comment on or make changes to this bug.