Closed
Bug 882895
Opened 11 years ago
Closed 11 years ago
Geolocation: Assertion in GonkGPSGeolocationProvider::Handle
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox24 | --- | unaffected |
b2g18 | --- | fixed |
b2g18-v1.0.0 | --- | wontfix |
b2g18-v1.0.1 | --- | wontfix |
b2g-v1.1hd | --- | fixed |
People
(Reporter: gwagner, Assigned: gwagner)
Details
Attachments
(1 file)
1000 bytes,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
Seems like we are expecting an object and getting a string: [Parent 5471] WARNING: NS_ENSURE_TRUE(AttrToDataProp(attr, prop)) failed: file /Volumes/mac/moz/b2g18/content/html/content/src/nsDOMStringMap.cpp, line 166 /system/etc/*.cer: No such file or directory clnt_call(532) 3000008c:00050000 call failed with an authentication error. Program received signal SIGSEGV, Segmentation fault. 0x4142c03a in JSVAL_TO_OBJECT (this=0x498ce7c0, aName=<value optimized out>, aResult=...) at ../../../dist/include/jsapi.h:2205 2205 JS_ASSERT(JSVAL_IS_OBJECT_OR_NULL_IMPL(JSVAL_TO_IMPL(v))); (gdb) bt #0 0x4142c03a in JSVAL_TO_OBJECT (this=0x498ce7c0, aName=<value optimized out>, aResult=...) at ../../../dist/include/jsapi.h:2205 #1 GonkGPSGeolocationProvider::Handle (this=0x498ce7c0, aName=<value optimized out>, aResult=...) at /Volumes/mac/moz/b2g18/dom/system/gonk/GonkGPSGeolocationProvider.cpp:685 #2 0x41a338ae in NS_InvokeByIndex_P (that=0x498ce7c8, methodIndex=3, paramCount=<value optimized out>, params=<value optimized out>) at /Volumes/mac/moz/b2g18/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp:160 #3 0x41585d74 in CallMethodHelper::Invoke (this=0xbe81a498) at /Volumes/mac/moz/b2g18/js/xpconnect/src/XPCWrappedNative.cpp:3084 #4 CallMethodHelper::Call (this=0xbe81a498) at /Volumes/mac/moz/b2g18/js/xpconnect/src/XPCWrappedNative.cpp:2418 #5 0x41586fd0 in XPCWrappedNative::CallMethod (ccx=..., mode=<value optimized out>) at /Volumes/mac/moz/b2g18/js/xpconnect/src/XPCWrappedNative.cpp:2384 #6 0x4158e1ae in XPC_WN_CallMethod (cx=0x4037d3e0, argc=2, vp=<value optimized out>) at /Volumes/mac/moz/b2g18/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1469 #7 0x41d41480 in js::CallJSNative (cx=0x4037d3e0, native=0x4158e0f9 <XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*)>, args=...) at /Volumes/mac/moz/b2g18/js/src/jscntxtinlines.h:364 #8 0x41d556d0 in js::InvokeKernel (cx=0x4037d3e0, args=..., construct=js::NO_CONSTRUCT) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:367 #9 0x41d4ea3a in js::Interpret (cx=0x4037d3e0, entryFrame=<value optimized out>, interpMode=<value optimized out>) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:2475 #10 0x41d54f90 in js::RunScript (cx=0x4037d3e0, script=<value optimized out>, fp=0x43b81040) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:324 #11 0x41d55750 in js::InvokeKernel (cx=0x4037d3e0, args=..., construct=js::NO_CONSTRUCT) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:378 #12 0x41d04986 in Invoke (cx=<value optimized out>, argc=<value optimized out>, vp=<value optimized out>) at /Volumes/mac/moz/b2g18/js/src/jsinterp.h:109 #13 js::CallOrConstructBoundFunction (cx=<value optimized out>, argc=<value optimized out>, vp=<value optimized out>) at /Volumes/mac/moz/b2g18/js/src/jsfun.cpp:1095 #14 0x41d41480 in js::CallJSNative (cx=0x4037d3e0, native=0x41d046f5 <js::CallOrConstructBoundFunction(JSContext*, unsigned int, JS::Value*)>, args=...) at /Volumes/mac/moz/b2g18/js/src/jscntxtinlines.h:364 #15 0x41d556d0 in js::InvokeKernel (cx=0x4037d3e0, args=..., construct=js::NO_CONSTRUCT) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:367 #16 0x41d55f48 in Invoke (cx=0x4037d3e0, thisv=..., fval=..., argc=<value optimized out>, argv=0xbe81b130, rval=0xbe81b280) at /Volumes/mac/moz/b2g18/js/src/jsinterp.h:109 #17 js::Invoke (cx=0x4037d3e0, thisv=..., fval=..., argc=<value optimized out>, argv=0xbe81b130, rval=0xbe81b280) at /Volumes/mac/moz/b2g18/js/src/jsinterp.cpp:411 #18 0x41c94862 in JS_CallFunctionValue (cx=0x4037d3e0, objArg=0x49126740, fval=..., argc=1, argv=0xbe81b130, rval=0xbe81b280) at /Volumes/mac/moz/b2g18/js/src/jsapi.cpp:5895 #19 0x41581a76 in nsXPCWrappedJSClass::CallMethod (this=0x449b76d0, wrapper=<value optimized out>, methodIndex=<value optimized out>, info_=0x43912c38, nativeParams=0xbe81b368)
Assignee | ||
Comment 1•11 years ago
|
||
The setting in question is ril.supl.apn Vicamo, should this be an object or a string?
Flags: needinfo?(vyang)
Assignee | ||
Updated•11 years ago
|
status-b2g18:
--- → affected
Comment 2•11 years ago
|
||
It should be a string.
Comment 3•11 years ago
|
||
Yes, "ril.supl.apn", "ril.supl.user", "ril.supl.passwd" are all strings.
Flags: needinfo?(vyang)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee: nobody → anygregor
Assignee | ||
Updated•11 years ago
|
Attachment #763826 -
Attachment is patch: true
Attachment #763826 -
Attachment mime type: text/x-patch → text/plain
Assignee | ||
Updated•11 years ago
|
Attachment #763826 -
Flags: review?(mrbkap)
Updated•11 years ago
|
Attachment #763826 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 5•11 years ago
|
||
b2g18 only. Bad things could happen if we get a null value and try to convert it to a string and get the compartment based on the object pointer.
blocking-b2g: --- → leo?
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/1bae70405481
Comment 8•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/1bae70405481
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → fixed
status-firefox24:
--- → unaffected
Target Milestone: --- → 1.1 QE3 (24jun)
You need to log in
before you can comment on or make changes to this bug.
Description
•