Closed Bug 1512179 Opened Last year Closed Last year

Crash in mozilla::dom::ContentPermissionRequestBase::GetPrincipal

Categories

(Core :: DOM: Core & HTML, defect, critical)

Unspecified
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox-esr60 --- unaffected
firefox63 --- unaffected
firefox64 --- unaffected
firefox65 + fixed

People

(Reporter: marcia, Assigned: ehsan)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is
report bp-9d624693-9a09-4a06-b445-f77b10181205.
=============================================================

Seen while looking at Android Crash stats - only a single crash so far. 

Looks as if code was touched in this area in Bug 1506014. ni on :ehsan

Top 10 frames of crashing thread:

0 libxul.so mozilla::dom::ContentPermissionRequestBase::GetPrincipal dom/base/nsContentPermissionHelper.cpp:526
1 libxul.so NS_InvokeByIndex xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp:167
2 libxul.so XPCWrappedNative::CallMethod js/xpconnect/src/XPCWrappedNative.cpp:1649
3 libxul.so XPC_WN_GetterSetter js/xpconnect/src/XPCWrappedNativeJSOps.cpp:988
4 libxul.so js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:443
5 libxul.so js::CallGetter js/src/vm/Interpreter.cpp:590
6 libxul.so js::NativeGetProperty js/src/vm/NativeObject.cpp:2246
7 libxul.so js::GetProperty js/src/vm/ObjectOperations-inl.h:117
8 libxul.so Interpret js/src/vm/Interpreter.cpp:215
9 libxul.so js::RunScript js/src/vm/Interpreter.cpp:423

=============================================================
Flags: needinfo?(ehsan)
Seems like a basic nullptr deref crash.
Blocks: 1506014
Flags: needinfo?(ehsan)
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce7554d953fd
Fix a nullptr deref crash in ContentPermissionRequestBase::GetPrincipal() r=baku
https://hg.mozilla.org/mozilla-central/rev/ce7554d953fd
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.