Remove fallback to SystemPrincipal in case docshell loads do not provide a triggeringPrincipal

RESOLVED FIXED in Firefox 65

Status

()

P3
normal
RESOLVED FIXED
4 months ago
a month ago

People

(Reporter: ckerschb, Assigned: jkt)

Tracking

(Depends on: 2 bugs, Blocks: 4 bugs)

unspecified
mozilla65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

(Whiteboard: [domsecurity-backlog1])

Attachments

(4 attachments, 2 obsolete attachments)

Ultimately we want to assert that loadURIWithOptions() (see Bug 1333030) receives a non null triggeringPrincipal. Eventually we need to remove the fallback to SystemPrincipal in case no triggeringPrincipal is provided. In fact we should already assert that loadURI() receives a valid triggeringPrincipal.

We should remove that code from docshell eventually:


if (!triggeringPrincipal) {
  if (referrer) {
    nsresult rv = CreatePrincipalFromReferrer(referrer,
      getter_AddRefs(triggeringPrincipal));
    NS_ENSURE_SUCCESS(rv, rv);
  }
  else {
    triggeringPrincipal = nsContentUtils::GetSystemPrincipal();
  }
}
(Reporter)

Updated

4 months ago
Blocks: 1333030
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
(Reporter)

Updated

4 months ago
Depends on: 1485305
(Assignee)

Updated

3 months ago
Assignee: nobody → jkt
(Assignee)

Comment 1

3 months ago
Created attachment 9016234 [details]
Bug 1490257 - Add asserts and remove implied system triggering principal code
(Assignee)

Comment 2

3 months ago
Using a null principal in this pluginInstanceOwner should be fine right?

+++ b/dom/plugins/base/nsPluginInstanceOwner.cpp
@@ -50,6 +50,7 @@ using mozilla::DefaultXDisplay;
 #include "nsIContentInlines.h"
 #include "mozilla/MiscEvents.h"
 #include "mozilla/MouseEvents.h"
+#include "mozilla/NullPrincipal.h"
 #include "mozilla/TextEvents.h"
 #include "mozilla/dom/DragEvent.h"
 #include "mozilla/dom/Element.h"
@@ -482,6 +483,11 @@ NS_IMETHODIMP nsPluginInstanceOwner::Get
     mozilla::OriginAttributes attrs =
       BasePrincipal::Cast(content->NodePrincipal())->OriginAttributesRef();
     triggeringPrincipal = BasePrincipal::CreateCodebasePrincipal(uri, attrs);
+  } else {
+   // TOCHECK with ckerschb
+   // https://bugzilla.mozilla.org/show_bug.cgi?id=1182569 
+   // Failing in test dom/plugins/test/mochitest/test_bug813906.html
+    triggeringPrincipal = NullPrincipal::CreateWithoutOriginAttributes();
   }
Flags: needinfo?(ckerschb)
(Reporter)

Comment 3

3 months ago
(In reply to Jonathan Kingston [:jkt] from comment #2)
> Using a null principal in this pluginInstanceOwner should be fine right?
> 
> +++ b/dom/plugins/base/nsPluginInstanceOwner.cpp

That construct itself is a little scary, but reading through Bug 1182569 this is what we had to use. Anyway, using the NullPrincipal in the else case should be fine in this case, but probably worth using OA as well.

mozilla::OriginAttributes attrs =
  BasePrincipal::Cast(content->NodePrincipal())->OriginAttributesRef();
 
nsCOMPtr<nsIPrincipal> triggeringPrincipal = !aDoCheckLoadURIChecks
  ? BasePrincipal::CreateCodebasePrincipal(uri, attrs);
  : NullPrincipal::CreateWithInheritedAttributes(attrs);
Flags: needinfo?(ckerschb)
(Assignee)

Updated

3 months ago
Blocks: 1498526
(Assignee)

Updated

3 months ago
Blocks: 1498600
(Assignee)

Updated

3 months ago
Blocks: 1498603
(Assignee)

Updated

3 months ago
Blocks: 1498605

Comment 4

3 months ago
Pushed by jkingston@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d7987ea4fb1
Add asserts and remove implied system triggering principal code r=ckerschb
Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE

Log:
https://treeherder.mozilla.org/logviewer.html#?job_id=205495728&repo=autoland&lineNumber=1379

 INFO -  adb launch_application: am start -W -n org.mozilla.fennec_aurora/org.mozilla.gecko.BrowserApp -a android.intent.action.VIEW --es env9 MOZ_CRASHREPORTER_NO_REPORT=1 --es env8 R_LOG_DESTINATION=stderr --es args '-no-remote -profile /sdcard/tests/profile//' --es env3 DISABLE_UNSAFE_CPOW_WARNINGS=1 --es env2 R_LOG_VERBOSE=1 --es env1 XPCOM_DEBUG_BREAK=stack --es env0 MOZ_CRASHREPORTER=1 --es env7 MOZ_LOG_FILE=/sdcard/tests/mozlog/moz.log --es env6 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env5 MOZ_IN_AUTOMATION=1 --es env4 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env12 MOZ_HIDE_RESULTS_TABLE=1 --es env11 R_LOG_LEVEL=6 --es env10 MOZ_PROCESS_LOG=/tmp/tmpga9HeWpidlog -d 'http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fsdcard%2Ftests'
[task 2018-10-15T11:30:47.192Z] 11:30:47     INFO -  INFO | automation.py | Application pid: 835
[task 2018-10-15T11:32:47.490Z] 11:32:47     INFO -  wait for org.mozilla.fennec_aurora complete; top activity=com.android.launcher
[task 2018-10-15T11:32:47.799Z] 11:32:47     INFO -  INFO | automation.py | Application ran for: 0:02:12.947277
[task 2018-10-15T11:32:47.799Z] 11:32:47     INFO -  INFO | zombiecheck | Reading PID log: /tmp/tmpga9HeWpidlog
[task 2018-10-15T11:32:48.318Z] 11:32:48     INFO -  /data/tombstones does not exist; tombstone check skipped
[task 2018-10-15T11:32:49.240Z] 11:32:49     INFO -  mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /tmp/tmp_aqJX8/4ba2d913-cd40-ad03-c2b5-d31e5c8f4429.dmp /builds/worker/workspace/build/symbols
[task 2018-10-15T11:33:01.017Z] 11:33:01     INFO -  mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/4ba2d913-cd40-ad03-c2b5-d31e5c8f4429.dmp
[task 2018-10-15T11:33:01.018Z] 11:33:01     INFO -  mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/4ba2d913-cd40-ad03-c2b5-d31e5c8f4429.extra
[task 2018-10-15T11:33:01.020Z] 11:33:01  WARNING -  PROCESS-CRASH | remoteautomation.py | application crashed [@ nsDocShell::LoadURIWithOptions(nsTSubstring<char16_t> const&, unsigned int, nsIURI*, unsigned int, nsIInputStream*, nsIInputStream*, nsIURI*, nsIPrincipal*)]
[task 2018-10-15T11:33:01.021Z] 11:33:01     INFO -  Crash dump filename: /tmp/tmp_aqJX8/4ba2d913-cd40-ad03-c2b5-d31e5c8f4429.dmp
[task 2018-10-15T11:33:01.021Z] 11:33:01     INFO -  Operating system: Android
[task 2018-10-15T11:33:01.021Z] 11:33:01     INFO -                    0.0.0 Linux 2.6.29-gea477bb #1 Wed Sep 26 11:04:45 PDT 2012 armv7l
[task 2018-10-15T11:33:01.022Z] 11:33:01     INFO -  CPU: arm
[task 2018-10-15T11:33:01.022Z] 11:33:01     INFO -       ARMv7 ARM Cortex-A8 features: swp,half,thumb,fastmult,vfpv2,edsp,neon,vfpv3
[task 2018-10-15T11:33:01.022Z] 11:33:01     INFO -       1 CPU
[task 2018-10-15T11:33:01.022Z] 11:33:01     INFO -  GPU: UNKNOWN
[task 2018-10-15T11:33:01.023Z] 11:33:01     INFO -  Crash reason:  SIGSEGV
[task 2018-10-15T11:33:01.023Z] 11:33:01     INFO -  Crash address: 0x0
[task 2018-10-15T11:33:01.023Z] 11:33:01     INFO -  Process uptime: not available
[task 2018-10-15T11:33:01.024Z] 11:33:01     INFO -  Thread 12 (crashed)
[task 2018-10-15T11:33:01.024Z] 11:33:01     INFO -   0  libxul.so!nsDocShell::LoadURIWithOptions(nsTSubstring<char16_t> const&, unsigned int, nsIURI*, unsigned int, nsIInputStream*, nsIInputStream*, nsIURI*, nsIPrincipal*) [nsDocShell.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 4245 + 0x2]
[task 2018-10-15T11:33:01.024Z] 11:33:01     INFO -       r0 = 0x00000000    r1 = 0xdab8ed8f    r2 = 0x5fe4203a    r3 = 0x00001095
[task 2018-10-15T11:33:01.024Z] 11:33:01     INFO -       r4 = 0x00001095    r5 = 0x52d7d440    r6 = 0x00000000    r7 = 0x52d7d380
[task 2018-10-15T11:33:01.025Z] 11:33:01     INFO -       r8 = 0x00000000    r9 = 0x53d9d438   r10 = 0x00340000   r12 = 0x00000003
[task 2018-10-15T11:33:01.025Z] 11:33:01     INFO -       fp = 0x542e5400    sp = 0x52d7d1c0    lr = 0x5e126591    pc = 0x5e1355b8
[task 2018-10-15T11:33:01.025Z] 11:33:01     INFO -      Found by: given as instruction pointer in context
[task 2018-10-15T11:33:01.025Z] 11:33:01     INFO -   1  libxul.so!NS_InvokeByIndex [xptcinvoke_arm.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 167 + 0x3]
[task 2018-10-15T11:33:01.026Z] 11:33:01     INFO -       r4 = 0x00000009    r5 = 0x542e54f8    r6 = 0x5e1356d9    r7 = 0x52d7d3d8
[task 2018-10-15T11:33:01.026Z] 11:33:01     INFO -       r8 = 0x52d7d594    r9 = 0x53d9d438   r10 = 0x00000000    fp = 0x52d7d630
[task 2018-10-15T11:33:01.026Z] 11:33:01     INFO -       sp = 0x52d7d388    lr = 0x5c292fdd    pc = 0x5c292fdd
[task 2018-10-15T11:33:01.026Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.027Z] 11:33:01     INFO -   2  libxul.so!CallMethodHelper::Call() [XPCWrappedNative.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1268 + 0x5]
[task 2018-10-15T11:33:01.027Z] 11:33:01     INFO -       r4 = 0x52d7d410    r5 = 0x00000000    r6 = 0x00000000    r7 = 0x52d7d3f8
[task 2018-10-15T11:33:01.027Z] 11:33:01     INFO -       r8 = 0x52d7d594    r9 = 0x53d9d438   r10 = 0x00000000    fp = 0x52d7d630
[task 2018-10-15T11:33:01.028Z] 11:33:01     INFO -       sp = 0x52d7d3e0    lr = 0x5c833573    pc = 0x5c833573
[task 2018-10-15T11:33:01.028Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.028Z] 11:33:01     INFO -   3  libxul.so!XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) [XPCWrappedNative.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1232 + 0x3]
[task 2018-10-15T11:33:01.029Z] 11:33:01     INFO -       r0 = 0x52d7d410    r1 = 0x00d7d930    r2 = 0x00000000    r3 = 0xffffff83
[task 2018-10-15T11:33:01.029Z] 11:33:01     INFO -       r4 = 0x52d7d538    r5 = 0x52d7d400    r6 = 0x00000000    r7 = 0x52d7d518
[task 2018-10-15T11:33:01.029Z] 11:33:01     INFO -       r8 = 0x52d7d594    r9 = 0x53d9d438   r10 = 0x00000000    fp = 0x52d7d630
[task 2018-10-15T11:33:01.029Z] 11:33:01     INFO -       sp = 0x52d7d400    lr = 0x5c8334d9    pc = 0x5c8334d9
[task 2018-10-15T11:33:01.030Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.030Z] 11:33:01     INFO -   4  libxul.so!XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) [XPCWrappedNativeJSOps.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1019 + 0x5]
[task 2018-10-15T11:33:01.030Z] 11:33:01     INFO -       r4 = 0x52d7d534    r5 = 0x52d7d538    r6 = 0x00000000    r7 = 0x52d7d5c8
[task 2018-10-15T11:33:01.031Z] 11:33:01     INFO -       r8 = 0x52d7d594    r9 = 0x53d9d438   r10 = 0x00000000    fp = 0x52d7d630
[task 2018-10-15T11:33:01.031Z] 11:33:01     INFO -       sp = 0x52d7d520    lr = 0x5c834021    pc = 0x5c834021
[task 2018-10-15T11:33:01.031Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.032Z] 11:33:01     INFO -   5  libxul.so!CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 461 + 0x3]
[task 2018-10-15T11:33:01.032Z] 11:33:01     INFO -       r4 = 0x52d7d5d4    r5 = 0x52d7d7d8    r6 = 0x53d9d488    r7 = 0x52d7d5f8
[task 2018-10-15T11:33:01.032Z] 11:33:01     INFO -       r8 = 0x5c833f45    r9 = 0x55b0e800   r10 = 0x00000000    fp = 0x52d7d630
[task 2018-10-15T11:33:01.033Z] 11:33:01     INFO -       sp = 0x52d7d5d0    lr = 0x5ebc3caf    pc = 0x5ebc3caf
[task 2018-10-15T11:33:01.033Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.033Z] 11:33:01     INFO -   6  libxul.so!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 553 + 0x9]
[task 2018-10-15T11:33:01.033Z] 11:33:01     INFO -       r4 = 0x605befd8    r5 = 0x52d7d7d8    r6 = 0x00000000    r7 = 0x52d7d658
[task 2018-10-15T11:33:01.034Z] 11:33:01     INFO -       r8 = 0x55b0e800    r9 = 0x00000000   r10 = 0x0003fff8    fp = 0x52d7d630
[task 2018-10-15T11:33:01.034Z] 11:33:01     INFO -       sp = 0x52d7d600    lr = 0x5ebc3947    pc = 0x5ebc3947
[task 2018-10-15T11:33:01.034Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.035Z] 11:33:01     INFO -   7  libxul.so!InternalCall(JSContext*, js::AnyInvokeArgs const&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 607 + 0x9]
[task 2018-10-15T11:33:01.035Z] 11:33:01     INFO -       r4 = 0x52d7d7d8    r5 = 0x55b0e800    r6 = 0x52d7d660    r7 = 0x52d7d680
[task 2018-10-15T11:33:01.035Z] 11:33:01     INFO -       r8 = 0x52d7d998    r9 = 0x55b0e800   r10 = 0x0003fff8    fp = 0xfffc0000
[task 2018-10-15T11:33:01.036Z] 11:33:01     INFO -       sp = 0x52d7d660    lr = 0x5ebc414b    pc = 0x5ebc414b
[task 2018-10-15T11:33:01.036Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.037Z] 11:33:01     INFO -   8  libxul.so!Interpret(JSContext*, js::RunState&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 613 + 0x5]
[task 2018-10-15T11:33:01.037Z] 11:33:01     INFO -       r4 = 0x0000003a    r5 = 0x00000000    r6 = 0xffffff83    r7 = 0x52d7da40
[task 2018-10-15T11:33:01.037Z] 11:33:01     INFO -       r8 = 0x52d7d998    r9 = 0x55b0e800   r10 = 0x0003fff8    fp = 0xfffc0000
[task 2018-10-15T11:33:01.038Z] 11:33:01     INFO -       sp = 0x52d7d688    lr = 0x5ebbda7b    pc = 0x5ebbda7b
[task 2018-10-15T11:33:01.038Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.038Z] 11:33:01     INFO -   9  libxul.so!js::RunScript(JSContext*, js::RunState&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 440 + 0x7]
[task 2018-10-15T11:33:01.038Z] 11:33:01     INFO -       r4 = 0x00000001    r5 = 0x55b0e800    r6 = 0x00000001    r7 = 0x52d7da68
[task 2018-10-15T11:33:01.039Z] 11:33:01     INFO -       r8 = 0x52d7da88    r9 = 0x00000000   r10 = 0x54a7b800    fp = 0x52d7daa0
[task 2018-10-15T11:33:01.039Z] 11:33:01     INFO -       sp = 0x52d7da48    lr = 0x5ebb7ded    pc = 0x5ebb7ded
[task 2018-10-15T11:33:01.039Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.040Z] 11:33:01     INFO -  10  libxul.so!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 580 + 0x5]
[task 2018-10-15T11:33:01.040Z] 11:33:01     INFO -       r4 = 0x6a544d28    r5 = 0x52d7db18    r6 = 0x52d7da88    r7 = 0x52d7dac8
[task 2018-10-15T11:33:01.040Z] 11:33:01     INFO -       r8 = 0x55b0e800    r9 = 0x00000000   r10 = 0x54a7b800    fp = 0x52d7daa0
[task 2018-10-15T11:33:01.041Z] 11:33:01     INFO -       sp = 0x52d7da70    lr = 0x5ebc38f1    pc = 0x5ebc38f1
[task 2018-10-15T11:33:01.041Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.041Z] 11:33:01     INFO -  11  libxul.so!InternalCall(JSContext*, js::AnyInvokeArgs const&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 607 + 0x9]
[task 2018-10-15T11:33:01.042Z] 11:33:01     INFO -       r4 = 0x52d7db18    r5 = 0x55b0e800    r6 = 0x52d7dad0    r7 = 0x52d7daf0
[task 2018-10-15T11:33:01.042Z] 11:33:01     INFO -       r8 = 0x52d7db98    r9 = 0x52d7db18   r10 = 0x52d7db28    fp = 0x52d7dbb0
[task 2018-10-15T11:33:01.042Z] 11:33:01     INFO -       sp = 0x52d7dad0    lr = 0x5ebc414b    pc = 0x5ebc414b
[task 2018-10-15T11:33:01.043Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.043Z] 11:33:01     INFO -  12  libxul.so!<name omitted> [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 626 + 0x5]
[task 2018-10-15T11:33:01.043Z] 11:33:01     INFO -       r4 = 0x00000000    r5 = 0x52d7db18    r6 = 0x00000003    r7 = 0x52d7db08
[task 2018-10-15T11:33:01.043Z] 11:33:01     INFO -       r8 = 0x52d7db98    r9 = 0x52d7db18   r10 = 0x52d7db28    fp = 0x52d7dbb0
[task 2018-10-15T11:33:01.044Z] 11:33:01     INFO -       sp = 0x52d7daf8    lr = 0x5ebc41e1    pc = 0x5ebc41e1
[task 2018-10-15T11:33:01.044Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.044Z] 11:33:01     INFO -  13  libxul.so!js::ForwardingProxyHandler::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const [Wrapper.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 178 + 0x3]
[task 2018-10-15T11:33:01.045Z] 11:33:01     INFO -       r4 = 0x00000018    r5 = 0x52d7dd78    r6 = 0x00000003    r7 = 0x52d7dc30
[task 2018-10-15T11:33:01.045Z] 11:33:01     INFO -       r8 = 0x52d7db98    r9 = 0x52d7db18   r10 = 0x52d7db28    fp = 0x52d7dbb0
[task 2018-10-15T11:33:01.045Z] 11:33:01     INFO -       sp = 0x52d7db10    lr = 0x5e7939b7    pc = 0x5e7939b7
[task 2018-10-15T11:33:01.045Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.046Z] 11:33:01     INFO -  14  libxul.so!js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) const [CrossCompartmentWrapper.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 355 + 0xb]
[task 2018-10-15T11:33:01.046Z] 11:33:01     INFO -       r4 = 0x55b0e800    r5 = 0x00000003    r6 = 0x00000018    r7 = 0x52d7dc68
[task 2018-10-15T11:33:01.046Z] 11:33:01     INFO -       r8 = 0x52d7dc40    r9 = 0x52d7dd78   r10 = 0x52d7dce0    fp = 0x605b97b8
[task 2018-10-15T11:33:01.047Z] 11:33:01     INFO -       sp = 0x52d7dc38    lr = 0x5e78388f    pc = 0x5e78388f
[task 2018-10-15T11:33:01.047Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.047Z] 11:33:01     INFO -  15  libxul.so!js::Proxy::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) [Proxy.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 560 + 0xf]
[task 2018-10-15T11:33:01.047Z] 11:33:01     INFO -       r4 = 0x55b0e800    r5 = 0x605b97b8    r6 = 0x52d7dce0    r7 = 0x52d7dcb8
[task 2018-10-15T11:33:01.048Z] 11:33:01     INFO -       r8 = 0x52d7dc7c    r9 = 0x52d7dd78   r10 = 0x00000001    fp = 0x52d7dfd8
[task 2018-10-15T11:33:01.048Z] 11:33:01     INFO -       sp = 0x52d7dc70    lr = 0x5e78848f    pc = 0x5e78848f
[task 2018-10-15T11:33:01.048Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.049Z] 11:33:01     INFO -  16  libxul.so!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 528 + 0x3]
[task 2018-10-15T11:33:01.049Z] 11:33:01     INFO -       r4 = 0x605befd8    r5 = 0x52d7dd78    r6 = 0x52d7dcd8    r7 = 0x52d7dd18
[task 2018-10-15T11:33:01.049Z] 11:33:01     INFO -       r8 = 0x55b0e800    r9 = 0x00000000   r10 = 0x00000003    fp = 0x52d7dfd8
[task 2018-10-15T11:33:01.049Z] 11:33:01     INFO -       sp = 0x52d7dcc0    lr = 0x5ebc3a79    pc = 0x5ebc3a79
[task 2018-10-15T11:33:01.050Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.050Z] 11:33:01     INFO -  17  libxul.so!InternalCall(JSContext*, js::AnyInvokeArgs const&) [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 607 + 0x9]
[task 2018-10-15T11:33:01.050Z] 11:33:01     INFO -       r4 = 0x52d7dd78    r5 = 0x55b0e800    r6 = 0x52d7dd20    r7 = 0x52d7dd40
[task 2018-10-15T11:33:01.050Z] 11:33:01     INFO -       r8 = 0x52d7de00    r9 = 0x52d7dd88   r10 = 0x00000003    fp = 0x52d7dfd8
[task 2018-10-15T11:33:01.051Z] 11:33:01     INFO -       sp = 0x52d7dd20    lr = 0x5ebc414b    pc = 0x5ebc414b
[task 2018-10-15T11:33:01.051Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.051Z] 11:33:01     INFO -  18  libxul.so!<name omitted> [Interpreter.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 626 + 0x5]
[task 2018-10-15T11:33:01.051Z] 11:33:01     INFO -       r4 = 0x00000000    r5 = 0x52d7dd78    r6 = 0x52d7de00    r7 = 0x52d7dd58
[task 2018-10-15T11:33:01.052Z] 11:33:01     INFO -       r8 = 0x52d7de00    r9 = 0x52d7dd88   r10 = 0x00000003    fp = 0x52d7dfd8
[task 2018-10-15T11:33:01.052Z] 11:33:01     INFO -       sp = 0x52d7dd48    lr = 0x5ebc41e1    pc = 0x5ebc41e1
[task 2018-10-15T11:33:01.052Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.053Z] 11:33:01     INFO -  19  libxul.so!JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) [jsapi.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 2915 + 0x7]
[task 2018-10-15T11:33:01.053Z] 11:33:01     INFO -       r4 = 0x52d7df00    r5 = 0x52d7dfd8    r6 = 0x52d7de00    r7 = 0x52d7de80
[task 2018-10-15T11:33:01.053Z] 11:33:01     INFO -       r8 = 0x52d7de00    r9 = 0x52d7dd88   r10 = 0x00000003    fp = 0x52d7dfd8
[task 2018-10-15T11:33:01.054Z] 11:33:01     INFO -       sp = 0x52d7dd60    lr = 0x5e74b6d5    pc = 0x5e74b6d5
[task 2018-10-15T11:33:01.054Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.054Z] 11:33:01     INFO -  20  libxul.so!nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) [XPCWrappedJSClass.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1206 + 0x5]
[task 2018-10-15T11:33:01.055Z] 11:33:01     INFO -       r4 = 0x55b0e800    r5 = 0x52d7def8    r6 = 0x52d7e188    r7 = 0x52d7e140
[task 2018-10-15T11:33:01.055Z] 11:33:01     INFO -       r8 = 0x00000003    r9 = 0x52f9b7fc   r10 = 0x52fcfc40    fp = 0x5ff9866c
[task 2018-10-15T11:33:01.055Z] 11:33:01     INFO -       sp = 0x52d7de88    lr = 0x5c82ead3    pc = 0x5c82ead3
[task 2018-10-15T11:33:01.056Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.056Z] 11:33:01     INFO -  21  libxul.so!nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) [XPCWrappedJS.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 653 + 0xb]
[task 2018-10-15T11:33:01.056Z] 11:33:01     INFO -       r4 = 0x53ecab40    r5 = 0x00000003    r6 = 0x52d7e188    r7 = 0x52d7e160
[task 2018-10-15T11:33:01.057Z] 11:33:01     INFO -       r8 = 0x5ff9866c    r9 = 0x00000000   r10 = 0x56147bf0    fp = 0x00000003
[task 2018-10-15T11:33:01.057Z] 11:33:01     INFO -       sp = 0x52d7e148    lr = 0x5c82e531    pc = 0x5c82e531
[task 2018-10-15T11:33:01.057Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.057Z] 11:33:01     INFO -  22  libxul.so!PrepareAndDispatch [xptcstubs_arm.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 106 + 0x9]
[task 2018-10-15T11:33:01.058Z] 11:33:01     INFO -       r4 = 0x000000ff    r5 = 0x00000003    r6 = 0x5c82e501    r7 = 0x52d7e228
[task 2018-10-15T11:33:01.058Z] 11:33:01     INFO -       r8 = 0x52d7e188    r9 = 0x00000000   r10 = 0x56147bf0    fp = 0x00000003
[task 2018-10-15T11:33:01.059Z] 11:33:01     INFO -       sp = 0x52d7e168    lr = 0x5c293967    pc = 0x5c293967
[task 2018-10-15T11:33:01.059Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.059Z] 11:33:01     INFO -  23  libxul.so!SharedStub + 0xe
[task 2018-10-15T11:33:01.059Z] 11:33:01     INFO -       r4 = 0x56147cf0    r5 = 0x00000000    r6 = 0x5c292ffd    r7 = 0x52d7e280
[task 2018-10-15T11:33:01.059Z] 11:33:01     INFO -       r8 = 0x00000001    r9 = 0x5f94fa06   r10 = 0x5fcff4f9    fp = 0x52d7e2e0
[task 2018-10-15T11:33:01.060Z] 11:33:01     INFO -       sp = 0x52d7e230    lr = 0x5c292ff9    pc = 0x5c292ff9
[task 2018-10-15T11:33:01.060Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.060Z] 11:33:01     INFO -  24  libxul.so!mozilla::widget::EventDispatcher::DispatchOnGecko(mozilla::widget::EventDispatcher::ListenersList*, nsTSubstring<char16_t> const&, JS::Handle<JS::Value>, nsIAndroidEventCallback*) [EventDispatcher.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 784 + 0xb]
[task 2018-10-15T11:33:01.061Z] 11:33:01     INFO -       r1 = 0x52d7e2e0    r2 = 0x52d7e2a0    r3 = 0x00000000    r4 = 0x56147cf0
[task 2018-10-15T11:33:01.061Z] 11:33:01     INFO -       r5 = 0x00000000    r6 = 0x5c292ffd    r7 = 0x52d7e280    r8 = 0x00000001
[task 2018-10-15T11:33:01.061Z] 11:33:01     INFO -       r9 = 0x5f94fa06   r10 = 0x5fcff4f9    fp = 0x52d7e2e0    sp = 0x52d7e240
[task 2018-10-15T11:33:01.062Z] 11:33:01     INFO -       lr = 0x5d88342f    pc = 0x5d88342f
[task 2018-10-15T11:33:01.062Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.062Z] 11:33:01     INFO -  25  libxul.so!mozilla::widget::EventDispatcher::DispatchToGecko(mozilla::jni::StringParam const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&) [EventDispatcher.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1088 + 0x9]
[task 2018-10-15T11:33:01.063Z] 11:33:01     INFO -       r4 = 0x52d7e310    r5 = 0x56147cf0    r6 = 0x00000000    r7 = 0x52d7e308
[task 2018-10-15T11:33:01.063Z] 11:33:01     INFO -       r8 = 0x54882c00    r9 = 0x54882c04   r10 = 0x52d7e2a0    fp = 0x52d7e298
[task 2018-10-15T11:33:01.063Z] 11:33:01     INFO -       sp = 0x52d7e288    lr = 0x5d8840c9    pc = 0x5d8840c9
[task 2018-10-15T11:33:01.063Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.064Z] 11:33:01     INFO -  26  libxul.so!mozilla::EnableIf<(!(false))&&(!(false)), void>::Type mozilla::jni::detail::ProxyNativeCall<mozilla::widget::EventDispatcher, mozilla::java::EventDispatcher, false, false, mozilla::jni::StringParam const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&>::Call<false, false, 0u, 1u, 2u>(mozilla::jni::LocalRef<mozilla::java::EventDispatcher> const&, std::__ndk1::integer_sequence<unsigned int, 0u, 1u, 2u>) const [Natives.h:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 444 + 0x3]
[task 2018-10-15T11:33:01.064Z] 11:33:01     INFO -       r4 = 0x52d7e310    r5 = 0x54267790    r6 = 0x5d883fb9    r7 = 0x52d7e328
[task 2018-10-15T11:33:01.064Z] 11:33:01     INFO -       r8 = 0xffffffff    r9 = 0x52d7e86f   r10 = 0x52d7e3f8    fp = 0x52f02790
[task 2018-10-15T11:33:01.065Z] 11:33:01     INFO -       sp = 0x52d7e310    lr = 0x5d88b509    pc = 0x5d88b509
[task 2018-10-15T11:33:01.065Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.066Z] 11:33:01     INFO -  27  libxul.so!mozilla::jni::detail::ProxyNativeCall<mozilla::widget::EventDispatcher, mozilla::java::EventDispatcher, false, false, mozilla::jni::StringParam const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&>::operator()() [Natives.h:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 505 + 0x5]
[task 2018-10-15T11:33:01.066Z] 11:33:01     INFO -       r4 = 0x2a1cbe30    r5 = 0x54882bfc    r6 = 0x54882bf4    r7 = 0x52d7e348
[task 2018-10-15T11:33:01.066Z] 11:33:01     INFO -       r8 = 0xffffffff    r9 = 0x52d7e86f   r10 = 0x52d7e3f8    fp = 0x52f02790
[task 2018-10-15T11:33:01.066Z] 11:33:01     INFO -       sp = 0x52d7e330    lr = 0x5d88b499    pc = 0x5d88b499
[task 2018-10-15T11:33:01.067Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.067Z] 11:33:01     INFO -  28  libxul.so!mozilla::detail::RunnableFunction<mozilla::jni::detail::ProxyNativeCall<mozilla::widget::EventDispatcher, mozilla::java::EventDispatcher, false, false, mozilla::jni::StringParam const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&> >::Run() [nsThreadUtils.h:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 577 + 0x5]
[task 2018-10-15T11:33:01.067Z] 11:33:01     INFO -       r4 = 0x52f02810    r5 = 0x00000000    r6 = 0x00000001    r7 = 0x52d7e350
[task 2018-10-15T11:33:01.068Z] 11:33:01     INFO -       r8 = 0xffffffff    r9 = 0x52d7e86f   r10 = 0x52d7e3f8    fp = 0x52f02790
[task 2018-10-15T11:33:01.068Z] 11:33:01     INFO -       sp = 0x52d7e350    lr = 0x5d88b417    pc = 0x5d88b417
[task 2018-10-15T11:33:01.069Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.069Z] 11:33:01     INFO -  29  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 1252 + 0x5]
[task 2018-10-15T11:33:01.069Z] 11:33:01     INFO -       r4 = 0x52f02810    r5 = 0x00000000    r6 = 0x00000001    r7 = 0x52d7e860
[task 2018-10-15T11:33:01.069Z] 11:33:01     INFO -       r8 = 0xffffffff    r9 = 0x52d7e86f   r10 = 0x52d7e3f8    fp = 0x52f02790
[task 2018-10-15T11:33:01.070Z] 11:33:01     INFO -       sp = 0x52d7e358    lr = 0x5c285ad7    pc = 0x5c285ad7
[task 2018-10-15T11:33:01.070Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.071Z] 11:33:01     INFO -  30  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 530 + 0xd]
[task 2018-10-15T11:33:01.071Z] 11:33:01     INFO -       r4 = 0x00000000    r5 = 0x52f02790    r6 = 0x00000001    r7 = 0x52d7e880
[task 2018-10-15T11:33:01.071Z] 11:33:01     INFO -       r8 = 0x52f0453c    r9 = 0x52f02790   r10 = 0x52f04530    fp = 0x52d7eb8d
[task 2018-10-15T11:33:01.071Z] 11:33:01     INFO -       sp = 0x52d7e868    lr = 0x5c28752d    pc = 0x5c28752d
[task 2018-10-15T11:33:01.071Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.072Z] 11:33:01     INFO -  31  libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 97 + 0x7]
[task 2018-10-15T11:33:01.072Z] 11:33:01     INFO -       r4 = 0x52f04520    r5 = 0x52f66030    r6 = 0x00000001    r7 = 0x52d7e8a8
[task 2018-10-15T11:33:01.072Z] 11:33:01     INFO -       r8 = 0x52f0453c    r9 = 0x52f02790   r10 = 0x52f04530    fp = 0x52d7eb8d
[task 2018-10-15T11:33:01.073Z] 11:33:01     INFO -       sp = 0x52d7e888    lr = 0x5c5e59a9    pc = 0x5c5e59a9
[task 2018-10-15T11:33:01.073Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.073Z] 11:33:01     INFO -  32  libxul.so!MessageLoop::RunInternal() [message_loop.cc:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 325 + 0x7]
[task 2018-10-15T11:33:01.074Z] 11:33:01     INFO -       r4 = 0x52f66030    r5 = 0x52f02790    r6 = 0x5c2473b5    r7 = 0x52d7e8c8
[task 2018-10-15T11:33:01.074Z] 11:33:01     INFO -       r8 = 0x61162080    r9 = 0x52d7eaa4   r10 = 0x52d7e9fc    fp = 0x52d7eb8d
[task 2018-10-15T11:33:01.074Z] 11:33:01     INFO -       sp = 0x52d7e8b0    lr = 0x5c5a2301    pc = 0x5c5a2301
[task 2018-10-15T11:33:01.075Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.075Z] 11:33:01     INFO -  33  libxul.so!MessageLoop::Run() [message_loop.cc:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 318 + 0x5]
[task 2018-10-15T11:33:01.075Z] 11:33:01     INFO -       r0 = 0x52f66030    r1 = 0x00000000    r2 = 0x00000001    r3 = 0x00000022
[task 2018-10-15T11:33:01.076Z] 11:33:01     INFO -       r4 = 0x52f66030    r5 = 0x52f02790    r6 = 0x5c2473b5    r7 = 0x52d7e8e8
[task 2018-10-15T11:33:01.076Z] 11:33:01     INFO -       r8 = 0x61162080    r9 = 0x52d7eaa4   r10 = 0x52d7e9fc    fp = 0x52d7eb8d
[task 2018-10-15T11:33:01.076Z] 11:33:01     INFO -       sp = 0x52d7e8d0    lr = 0x5c5a22ad    pc = 0x5c5a22ad
[task 2018-10-15T11:33:01.077Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.077Z] 11:33:01     INFO -  34  libxul.so!nsBaseAppShell::Run() [nsBaseAppShell.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 158 + 0x3]
[task 2018-10-15T11:33:01.077Z] 11:33:01     INFO -       r0 = 0x00000001    r1 = 0x52f09600    r2 = 0x52f66030    r3 = 0x00000000
[task 2018-10-15T11:33:01.077Z] 11:33:01     INFO -       r4 = 0x52f804c0    r5 = 0x52f02790    r6 = 0x5c2473b5    r7 = 0x52d7e900
[task 2018-10-15T11:33:01.078Z] 11:33:01     INFO -       r8 = 0x61162080    r9 = 0x52d7eaa4   r10 = 0x52d7e9fc    fp = 0x52d7eb8d
[task 2018-10-15T11:33:01.078Z] 11:33:01     INFO -       sp = 0x52d7e8f0    lr = 0x5d8645c1    pc = 0x5d8645c1
[task 2018-10-15T11:33:01.078Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.079Z] 11:33:01     INFO -  35  libxul.so!nsAppStartup::Run() [nsAppStartup.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 290 + 0x5]
[task 2018-10-15T11:33:01.079Z] 11:33:01     INFO -       r2 = 0x00000001    r3 = 0x00000000    r4 = 0x560175e0    r5 = 0x00000008
[task 2018-10-15T11:33:01.079Z] 11:33:01     INFO -       r6 = 0x5c2473b5    r7 = 0x52d7e918    r8 = 0x61162080    r9 = 0x52d7eaa4
[task 2018-10-15T11:33:01.080Z] 11:33:01     INFO -      r10 = 0x52d7e9fc    fp = 0x52d7eb8d    sp = 0x52d7e908    lr = 0x5e29d82b
[task 2018-10-15T11:33:01.080Z] 11:33:01     INFO -       pc = 0x5e29d82b
[task 2018-10-15T11:33:01.080Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.080Z] 11:33:01     INFO -  36  libxul.so!XREMain::XRE_mainRun() [nsAppRunner.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 4777 + 0x5]
[task 2018-10-15T11:33:01.081Z] 11:33:01     INFO -       r2 = 0x00000001    r3 = 0x00000000    r4 = 0x52d7e9f4    r5 = 0x00000008
[task 2018-10-15T11:33:01.081Z] 11:33:01     INFO -       r6 = 0x5c2473b5    r7 = 0x52d7ea20    r8 = 0x61162080    r9 = 0x52d7eaa4
[task 2018-10-15T11:33:01.081Z] 11:33:01     INFO -      r10 = 0x52d7e9fc    fp = 0x52d7eb8d    sp = 0x52d7e920    lr = 0x5e30c7eb
[task 2018-10-15T11:33:01.081Z] 11:33:01     INFO -       pc = 0x5e30c7eb
[task 2018-10-15T11:33:01.082Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.082Z] 11:33:01     INFO -  37  libxul.so!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 4922 + 0x5]
[task 2018-10-15T11:33:01.082Z] 11:33:01     INFO -       r4 = 0x52d7eab8    r5 = 0x52d7eaa4    r6 = 0x52d7ea40    r7 = 0x52d7ea98
[task 2018-10-15T11:33:01.083Z] 11:33:01     INFO -       r8 = 0x611620b0    r9 = 0x52d7eabc   r10 = 0x52d7eba8    fp = 0x52d7ea39
[task 2018-10-15T11:33:01.083Z] 11:33:01     INFO -       sp = 0x52d7ea28    lr = 0x5e30ce4b    pc = 0x5e30ce4b
[task 2018-10-15T11:33:01.083Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.084Z] 11:33:01     INFO -  38  libxul.so!XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 5014 + 0x9]
[task 2018-10-15T11:33:01.084Z] 11:33:01     INFO -       r4 = 0x52d7eba8    r5 = 0x52f06520    r6 = 0x00000006    r7 = 0x52d7eba0
[task 2018-10-15T11:33:01.085Z] 11:33:01     INFO -       r8 = 0x52d7eaa4    r9 = 0x00000006   r10 = 0x22700005    fp = 0xffffffff
[task 2018-10-15T11:33:01.085Z] 11:33:01     INFO -       sp = 0x52d7eaa0    lr = 0x5e30d285    pc = 0x5e30d285
[task 2018-10-15T11:33:01.085Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.085Z] 11:33:01     INFO -  39  libxul.so!GeckoStart [nsAndroidStartup.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 48 + 0x7]
[task 2018-10-15T11:33:01.085Z] 11:33:01     INFO -       r4 = 0x52f06520    r5 = 0x52c78858    r6 = 0x52c3fc94    r7 = 0x52d7ebc0
[task 2018-10-15T11:33:01.086Z] 11:33:01     INFO -       r8 = 0x00000006    r9 = 0x00000006   r10 = 0x22700005    fp = 0xffffffff
[task 2018-10-15T11:33:01.086Z] 11:33:01     INFO -       sp = 0x52d7eba8    lr = 0x5e30f5c7    pc = 0x5e30f5c7
[task 2018-10-15T11:33:01.086Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.086Z] 11:33:01     INFO -  40  libmozglue.so!Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun [APKOpen.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 408 + 0x13]
[task 2018-10-15T11:33:01.087Z] 11:33:01     INFO -       r4 = 0x52c77bb4    r5 = 0x52f06520    r6 = 0x2a1cbe30    r7 = 0x52d7ec10
[task 2018-10-15T11:33:01.087Z] 11:33:01     INFO -       r8 = 0xffffffff    r9 = 0x00000006   r10 = 0x22700005    fp = 0xffffffff
[task 2018-10-15T11:33:01.087Z] 11:33:01     INFO -       sp = 0x52d7ebc8    lr = 0x52b5d0e1    pc = 0x52b5d0e1
[task 2018-10-15T11:33:01.088Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.088Z] 11:33:01     INFO -  41  libdvm.so + 0x1dc4e
[task 2018-10-15T11:33:01.088Z] 11:33:01     INFO -       r4 = 0x4c7c92e0    r5 = 0x2a1dbb30    r6 = 0x00000000    r7 = 0x52c7efac
[task 2018-10-15T11:33:01.088Z] 11:33:01     INFO -       r8 = 0x52d7ec28    r9 = 0x52c7ef94   r10 = 0x2a1dbb40    fp = 0x52d7ec3c
[task 2018-10-15T11:33:01.089Z] 11:33:01     INFO -       sp = 0x52d7ec18    lr = 0x4085bc50    pc = 0x4085bc50
[task 2018-10-15T11:33:01.089Z] 11:33:01     INFO -      Found by: call frame info
[task 2018-10-15T11:33:01.089Z] 11:33:01     INFO -  42  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x46e0e0
[task 2018-10-15T11:33:01.090Z] 11:33:01     INFO -       sp = 0x52d7ec34    pc = 0x523700e2
[task 2018-10-15T11:33:01.090Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.090Z] 11:33:01     INFO -  43  dalvik-heap (deleted) + 0x2a5416
[task 2018-10-15T11:33:01.090Z] 11:33:01     INFO -       sp = 0x52d7ec38    pc = 0x4175a418
[task 2018-10-15T11:33:01.091Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.091Z] 11:33:01     INFO -  44  libdvm.so + 0x4dcad
[task 2018-10-15T11:33:01.091Z] 11:33:01     INFO -       sp = 0x52d7ec40    pc = 0x4088bcaf
[task 2018-10-15T11:33:01.091Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.092Z] 11:33:01     INFO -  45  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x46e0d9
[task 2018-10-15T11:33:01.092Z] 11:33:01     INFO -       sp = 0x52d7ec48    pc = 0x523700db
[task 2018-10-15T11:33:01.092Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.092Z] 11:33:01     INFO -  46  libmozglue.so!loadNSSLibs(char const*) [APKOpen.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 0 + 0xf]
[task 2018-10-15T11:33:01.093Z] 11:33:01     INFO -       sp = 0x52d7ec4c    pc = 0x52b5cfa9
[task 2018-10-15T11:33:01.093Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.093Z] 11:33:01     INFO -  47  libmozglue.so!loadNSSLibs(char const*) [APKOpen.cpp:8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68 : 0 + 0xf]
[task 2018-10-15T11:33:01.094Z] 11:33:01     INFO -       sp = 0x52d7ec8c    pc = 0x52b5cfa9
[task 2018-10-15T11:33:01.094Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.094Z] 11:33:01     INFO -  48  libc.so + 0x109e9
[task 2018-10-15T11:33:01.094Z] 11:33:01     INFO -       sp = 0x52d7ec90    pc = 0x400379eb
[task 2018-10-15T11:33:01.095Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.095Z] 11:33:01     INFO -  49  libc.so + 0xd9bf
[task 2018-10-15T11:33:01.095Z] 11:33:01     INFO -       sp = 0x52d7eca8    pc = 0x400349c1
[task 2018-10-15T11:33:01.095Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.096Z] 11:33:01     INFO -  50  libdvm.so + 0x4f8dd
[task 2018-10-15T11:33:01.096Z] 11:33:01     INFO -       sp = 0x52d7ecb0    pc = 0x4088d8df
[task 2018-10-15T11:33:01.096Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.096Z] 11:33:01     INFO -  51  dalvik-heap (deleted) + 0x67c6e6
[task 2018-10-15T11:33:01.097Z] 11:33:01     INFO -       sp = 0x52d7ecb4    pc = 0x41b316e8
[task 2018-10-15T11:33:01.097Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.098Z] 11:33:01     INFO -  52  dalvik-heap (deleted) + 0x67c6e6
[task 2018-10-15T11:33:01.098Z] 11:33:01     INFO -       sp = 0x52d7ecc0    pc = 0x41b316e8
[task 2018-10-15T11:33:01.098Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.098Z] 11:33:01     INFO -  53  dalvik-heap (deleted) + 0x67c6e6
[task 2018-10-15T11:33:01.098Z] 11:33:01     INFO -       sp = 0x52d7eccc    pc = 0x41b316e8
[task 2018-10-15T11:33:01.099Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.099Z] 11:33:01     INFO -  54  libdvm.so + 0x550db
[task 2018-10-15T11:33:01.099Z] 11:33:01     INFO -       sp = 0x52d7ecd8    pc = 0x408930dd
[task 2018-10-15T11:33:01.099Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.099Z] 11:33:01     INFO -  55  dalvik-heap (deleted) + 0x67c6e6
[task 2018-10-15T11:33:01.100Z] 11:33:01     INFO -       sp = 0x52d7ecdc    pc = 0x41b316e8
[task 2018-10-15T11:33:01.100Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.100Z] 11:33:01     INFO -  56  dalvik-heap (deleted) + 0x67c6e6
[task 2018-10-15T11:33:01.100Z] 11:33:01     INFO -       sp = 0x52d7ece4    pc = 0x41b316e8
[task 2018-10-15T11:33:01.101Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.101Z] 11:33:01     INFO -  57  libdvm.so + 0xae19e
[task 2018-10-15T11:33:01.102Z] 11:33:01     INFO -       sp = 0x52d7ece8    pc = 0x408ec1a0
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -  58  dalvik-LinearAlloc (deleted) + 0x3622f2
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -       sp = 0x52d7ecf0    pc = 0x4c7c92f4
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -  59  dalvik-heap (deleted) + 0x2a5416
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -       sp = 0x52d7ecf8    pc = 0x4175a418
[task 2018-10-15T11:33:01.103Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.104Z] 11:33:01     INFO -  60  dalvik-LinearAlloc (deleted) + 0x3622de
[task 2018-10-15T11:33:01.104Z] 11:33:01     INFO -       sp = 0x52d7ed04    pc = 0x4c7c92e0
[task 2018-10-15T11:33:01.104Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.104Z] 11:33:01     INFO -  61  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x4c7084
[task 2018-10-15T11:33:01.104Z] 11:33:01     INFO -       sp = 0x52d7ed08    pc = 0x523c9086
[task 2018-10-15T11:33:01.105Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.105Z] 11:33:01     INFO -  62  libdvm.so + 0x6b0b1
[task 2018-10-15T11:33:01.105Z] 11:33:01     INFO -       sp = 0x52d7ed18    pc = 0x408a90b3
[task 2018-10-15T11:33:01.105Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.105Z] 11:33:01     INFO -  63  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x4c7084
[task 2018-10-15T11:33:01.106Z] 11:33:01     INFO -       sp = 0x52d7ed1c    pc = 0x523c9086
[task 2018-10-15T11:33:01.106Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.106Z] 11:33:01     INFO -  64  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0xc9086
[task 2018-10-15T11:33:01.106Z] 11:33:01     INFO -       sp = 0x52d7ed20    pc = 0x51fcb088
[task 2018-10-15T11:33:01.107Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.107Z] 11:33:01     INFO -  65  dalvik-heap (deleted) + 0x2a5416
[task 2018-10-15T11:33:01.107Z] 11:33:01     INFO -       sp = 0x52d7ed24    pc = 0x4175a418
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -  66  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x4c7084
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -       sp = 0x52d7ed28    pc = 0x523c9086
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -  67  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x5c2ffe
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -       sp = 0x52d7ed2c    pc = 0x524c5000
[task 2018-10-15T11:33:01.108Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.109Z] 11:33:01     INFO -  68  dalvik-LinearAlloc (deleted) + 0x3622de
[task 2018-10-15T11:33:01.109Z] 11:33:01     INFO -       sp = 0x52d7ed38    pc = 0x4c7c92e0
[task 2018-10-15T11:33:01.109Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.109Z] 11:33:01     INFO -  69  libdvm.so + 0xa9c86
[task 2018-10-15T11:33:01.109Z] 11:33:01     INFO -       sp = 0x52d7ed50    pc = 0x408e7c88
[task 2018-10-15T11:33:01.110Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.110Z] 11:33:01     INFO -  70  libdvm.so + 0x385e3
[task 2018-10-15T11:33:01.110Z] 11:33:01     INFO -       sp = 0x52d7ed58    pc = 0x408765e5
[task 2018-10-15T11:33:01.110Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.111Z] 11:33:01     INFO -  71  dalvik-LinearAlloc (deleted) + 0x3622de
[task 2018-10-15T11:33:01.111Z] 11:33:01     INFO -       sp = 0x52d7ed64    pc = 0x4c7c92e0
[task 2018-10-15T11:33:01.111Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.112Z] 11:33:01     INFO -  72  dalvik-LinearAlloc (deleted) + 0x3622de
[task 2018-10-15T11:33:01.112Z] 11:33:01     INFO -       sp = 0x52d7ed68    pc = 0x4c7c92e0
[task 2018-10-15T11:33:01.112Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.112Z] 11:33:01     INFO -  73  libdvm.so + 0x385d7
[task 2018-10-15T11:33:01.112Z] 11:33:01     INFO -       sp = 0x52d7ed6c    pc = 0x408765d9
[task 2018-10-15T11:33:01.113Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.113Z] 11:33:01     INFO -  74  libdvm.so + 0xae19e
[task 2018-10-15T11:33:01.113Z] 11:33:01     INFO -       sp = 0x52d7ed70    pc = 0x408ec1a0
[task 2018-10-15T11:33:01.113Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.114Z] 11:33:01     INFO -  75  libdvm.so + 0x4f699
[task 2018-10-15T11:33:01.114Z] 11:33:01     INFO -       sp = 0x52d7ed78    pc = 0x4088d69b
[task 2018-10-15T11:33:01.114Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.114Z] 11:33:01     INFO -  76  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x2452e0
[task 2018-10-15T11:33:01.115Z] 11:33:01     INFO -       sp = 0x52d7ed84    pc = 0x521472e2
[task 2018-10-15T11:33:01.115Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.115Z] 11:33:01     INFO -  77  dalvik-heap (deleted) + 0x2a5416
[task 2018-10-15T11:33:01.115Z] 11:33:01     INFO -       sp = 0x52d7ed90    pc = 0x4175a418
[task 2018-10-15T11:33:01.116Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.116Z] 11:33:01     INFO -  78  libdvm.so + 0x1ddbe
[task 2018-10-15T11:33:01.116Z] 11:33:01     INFO -       sp = 0x52d7ed94    pc = 0x4085bdc0
[task 2018-10-15T11:33:01.116Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.117Z] 11:33:01     INFO -  79  libdvm.so + 0x27062
[task 2018-10-15T11:33:01.117Z] 11:33:01     INFO -       sp = 0x52d7eda0    pc = 0x40865064
[task 2018-10-15T11:33:01.117Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.117Z] 11:33:01     INFO -  80  libdvm.so + 0x2de9a
[task 2018-10-15T11:33:01.118Z] 11:33:01     INFO -       sp = 0x52d7edac    pc = 0x4086be9c
[task 2018-10-15T11:33:01.118Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.119Z] 11:33:01     INFO -  81  dalvik-LinearAlloc (deleted) + 0x30e466
[task 2018-10-15T11:33:01.119Z] 11:33:01     INFO -       sp = 0x52d7edc0    pc = 0x4c775468
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  82  dalvik-heap (deleted) + 0x3780ce
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7edc4    pc = 0x4182d0d0
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  83  libdvm.so + 0x2b582
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7edc8    pc = 0x40869584
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  84  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x46d820
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7ee40    pc = 0x5236f822
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  85  dalvik-LinearAlloc (deleted) + 0x30e466
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7ee4c    pc = 0x4c775468
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  86  libdvm.so + 0x5fcbf
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7ee58    pc = 0x4089dcc1
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  87  dalvik-LinearAlloc (deleted) + 0x30e466
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7ee60    pc = 0x4c775468
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -  88  dalvik-heap (deleted) + 0x3780ce
[task 2018-10-15T11:33:01.120Z] 11:33:01     INFO -       sp = 0x52d7ee64    pc = 0x4182d0d0
[task 2018-10-15T11:33:01.121Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.121Z] 11:33:01     INFO -  89  libdvm.so + 0xae19e
[task 2018-10-15T11:33:01.121Z] 11:33:01     INFO -       sp = 0x52d7ee6c    pc = 0x408ec1a0
[task 2018-10-15T11:33:01.121Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.122Z] 11:33:01     INFO -  90  libdvm.so + 0xae4aa
[task 2018-10-15T11:33:01.122Z] 11:33:01     INFO -       sp = 0x52d7ee74    pc = 0x408ec4ac
[task 2018-10-15T11:33:01.122Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.122Z] 11:33:01     INFO -  91  libdvm.so + 0xae4a6
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -       sp = 0x52d7ee78    pc = 0x408ec4a8
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -  92  libdvm.so + 0x5fce9
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -       sp = 0x52d7ee88    pc = 0x4089dceb
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.123Z] 11:33:01     INFO -  93  libdvm.so + 0x54a71
[task 2018-10-15T11:33:01.124Z] 11:33:01     INFO -       sp = 0x52d7eea4    pc = 0x40892a73
[task 2018-10-15T11:33:01.124Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.124Z] 11:33:01     INFO -  94  libdvm.so + 0x549cf
[task 2018-10-15T11:33:01.124Z] 11:33:01     INFO -       sp = 0x52d7eedc    pc = 0x408929d1
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -  95  libc.so + 0xca5a
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -       sp = 0x52d7eee8    pc = 0x40033a5c
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -      Found by: stack scanning
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -  96  libc.so + 0xcbd6
[task 2018-10-15T11:33:01.125Z] 11:33:01     INFO -       sp = 0x52d7ef00    pc = 0x40033bd8
[task 2018-10-15T11:33:01.126Z] 11:33:01     INFO -      Found by: stack scanning

Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=8d7987ea4fb1b85a4baaa41ac1be8a7b62e2ca68&selectedJob=205495728

Backout:
https://hg.mozilla.org/integration/autoland/rev/a3411c7915f70c9d420a62c19d4e39d6269e31b4
Flags: needinfo?(jkt)
(Assignee)

Comment 6

3 months ago
Created attachment 9021157 [details]
Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal.
(Assignee)

Comment 7

3 months ago
As mentioned previously this new patch is the same as before but only applies to just to desktop due to the large number of call sites in Android without principals. I have also removed the interface restrictions on optional triggeringPrincipals.
Flags: needinfo?(jkt) → needinfo?(ckerschb)
(Reporter)

Comment 9

3 months ago
(In reply to Jonathan Kingston [:jkt] from comment #7)
> As mentioned previously this new patch is the same as before but only
> applies to just to desktop due to the large number of call sites in Android
> without principals. I have also removed the interface restrictions on
> optional triggeringPrincipals.

Yes, as discussed that makes sense. r+ed in phab.
Flags: needinfo?(ckerschb)

Comment 10

3 months ago
Pushed by jkingston@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/523ff2753dea
Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb

Comment 11

3 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/523ff2753dea
Status: NEW → RESOLVED
Last Resolved: 3 months ago
status-firefox65: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 

Backout link: https://hg.mozilla.org/mozilla-central/rev/a0aeeebfeb681cfbd36250cb4477252d34cddc2c

Push: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=182a1b088330a2d72310ae2561004d955571e236
Status: RESOLVED → REOPENED
status-firefox65: fixed → ---
Flags: needinfo?(jkt)
Resolution: FIXED → ---
Target Milestone: mozilla65 → ---
Depends on: 1503757
(Assignee)

Comment 13

3 months ago
So testing with http://www.html-kit.com/tools/cookietester/ it appears to only be easy to reproduce every 10 minutes on start up of a fresh profile.

I am moving to suspect the JS in the patch is the cause given that I haven't been able to reproduce with the active changes in the cpp.

I thought the following logs were the issue:
kit.com%2Ftools%2Fcookietester%2F&rx=0&eae=0&fc=656&brdim=1811%2C31%2C1811%2C31%2C3773%2C27%2C1280%2C1040%2C1280%2C966&vis=1&rsz=%7C%7CeE%7C&abl=CS&ppjl=f&pfx=0&fu=16&bc=5&ifi=1&uci=1.vf7qtb90d8ed&xpc=QCOUupMw0B&p=http%3A//www.html-kit.com&dtd=2584]
--DOMWINDOW == 33 (0x7feacb582800) [pid = 21354] [serial = 40] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 32 (0x7feacb3cb000) [pid = 21354] [serial = 41] [outer = (nil)] [url = https://googleads.g.doubleclick.net/pagead/html/r20181031/r20180604/zrt_lookup.html#]
--DOMWINDOW == 31 (0x7feacbbdd400) [pid = 21354] [serial = 23] [outer = (nil)] [url = http://www.html-kit.com/tools/cookietester/]
--DOMWINDOW == 30 (0x7feacb3cd000) [pid = 21354] [serial = 42] [outer = (nil)] [url = https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4996993999587489&output=html&h=15&slotname=8904747274&adk=306629615&adf=2430281023&w=728&lmt=1541174204&guci=1.2.0.0.2.2.0.0&url=http%3A%2F%2Fwww.html-kit.com%2Ftools%2Fcookietester%2F&flash=31.0.0&wgl=1&adsid=NT&dt=1541174202528&bpp=159&bdt=3490&fdt=1647&idt=795&shv=r20181031&cbv=r20180604&saldr=sa&abxe=1&prev_slotnames=7239197395&correlator=1590175632337&frm=20&pv=1&ga_vid=1400302854.1541174204&ga_sid=1541174204&ga_hid=1439280104&ga_fc=0&icsg=10922&dssz=9&mdo=0&mso=0&u_tz=0&u_his=2&u_java=0&u_h=2160&u_w=3840&u_ah=2133&u_aw=3773&u_cd=24&u_nplug=1&u_nmime=2&adx=273&ady=229&biw=1280&bih=966&scr_x=0&scr_y=0&eid=21060853%2C21070025&oid=2&ref=http%3A%2F%2Fwww.html-kit.com%2Ftools%2Fcookietester%2F&rx=0&eae=0&fc=656&brdim=1811%2C31%2C1811%2C31%2C3773%2C27%2C1280%2C1040%2C1280%2C966&vis=1&rsz=%7C%7CeE%7C&abl=CS&ppjl=f&pfx=0&fu=16&bc=5&ifi=2&uci=2.rez3d1csxpir&xpc=HI3ruwmr05&p=http%3A//www.html-kit.com&dtd=1769]
--DOMWINDOW == 29 (0x7feacb3ccc00) [pid = 21354] [serial = 47] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 28 (0x7feacb3d9400) [pid = 21354] [serial = 48] [outer = (nil)] [url = https://p4-et7gbn25azbsg-htzyko5zo6vkcs4q-if-v6exp3-v4.metric.gstatic.com/v6exp3/iframe.html]
--DOMWINDOW == 27 (0x7feacb57b000) [pid = 21354] [serial = 52] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 26 (0x7feacbbe0000) [pid = 21354] [serial = 25] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 25 (0x7feacbbdcc00) [pid = 21354] [serial = 27] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 24 (0x7feacb57b800) [pid = 21354] [serial = 28] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 23 (0x7feacb57f000) [pid = 21354] [serial = 32] [outer = (nil)] [url = https://googleads.g.doubleclick.net/pagead/html/r20181031/r20180604/zrt_lookup.html#]
--DOMWINDOW == 22 (0x7feacb57d400) [pid = 21354] [serial = 33] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 21 (0x7feacb3cd800) [pid = 21354] [serial = 60] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 20 (0x7feacb587000) [pid = 21354] [serial = 66] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 19 (0x7feacb587400) [pid = 21354] [serial = 67] [outer = (nil)] [url = about:blank]
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: Cannot set transparency mode on non-popup windows.: file /home/jonathan/projects/mozilla-unified/widget/gtk/nsWindow.cpp, line 4573
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rr->RetargetDeliveryTo(sts))', file /home/jonathan/projects/mozilla-unified/dom/fetch/FetchDriver.cpp, line 1076
++DOCSHELL 0x7f67de303000 == 9 [pid = 21221] [id = {a438dbe3-3f32-48da-b70f-39fe9ce977c0}]
++DOMWINDOW == 17 (0x7f67dfc3c400) [pid = 21221] [serial = 31] [outer = (nil)]
++DOMWINDOW == 18 (0x7f67de190400) [pid = 21221] [serial = 32] [outer = 0x7f67dfc3c400]
++DOMWINDOW == 19 (0x7f67de194400) [pid = 21221] [serial = 33] [outer = 0x7f67dfc3c400]
[Parent 21221, Main Thread] WARNING: Need TabChild to get the nativeWindow from!: file /home/jonathan/projects/mozilla-unified/widget/PuppetWidget.cpp, line 1216
++DOCSHELL 0x7fee02527000 == 1 [pid = 21692] [id = {ef575ec2-be01-439c-9633-e6e4747f1c09}]
++DOMWINDOW == 1 (0x7fee05022c00) [pid = 21692] [serial = 1] [outer = (nil)]
[Child 21692, Main Thread] WARNING: Fallback to BasicLayerManager: file /home/jonathan/projects/mozilla-unified/dom/ipc/TabChild.cpp, line 2837
++DOMWINDOW == 2 (0x7fee0253c800) [pid = 21692] [serial = 2] [outer = 0x7fee05022c00]
[Child 21692, Main Thread] WARNING: NS_ENSURE_TRUE(mShell) failed: file /home/jonathan/projects/mozilla-unified/layout/base/nsPresContext.cpp, line 1068
[Child 21692, Main Thread] WARNING: NS_ENSURE_TRUE(mShell) failed: file /home/jonathan/projects/mozilla-unified/layout/base/nsPresContext.cpp, line 1068
[Child 21692, Main Thread] WARNING: NS_ENSURE_TRUE(mShell) failed: file /home/jonathan/projects/mozilla-unified/layout/base/nsPresContext.cpp, line 1068
[Parent 21221, Main Thread] WARNING: 'NS_FAILED(rv)', file /home/jonathan/projects/mozilla-unified/netwerk/base/nsChannelClassifier.cpp, line 489


However I can't see anything in there that would be caused by my patch. However it only seems to reproduce after I see these logs. I guess it might be the result of windows going away perhaps but there really isn't anything that should ever cause this issue.
Flags: needinfo?(jkt)
(Reporter)

Updated

3 months ago
Depends on: 1503735
(Assignee)

Comment 14

3 months ago
Created attachment 9022560 [details]
Bug 1490257 - Pass triggeringPrincipal to test code.
(Assignee)

Comment 15

3 months ago
Created attachment 9022561 [details]
Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals.

Depends on D10882
(Assignee)

Comment 16

3 months ago
Created attachment 9022562 [details]
Bug 1490257 - Add triggeringPrincipal to missing cpp loads.

Depends on D10883
(Assignee)

Comment 17

3 months ago
Created attachment 9022563 [details]
Bug 1490257 - Add in asserts for missing triggeringPrincipal.

Depends on D10884
(Assignee)

Comment 18

3 months ago
Comment on attachment 9021157 [details]
Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal.

Replaced in favour of the other split out patches.
Attachment #9021157 - Attachment is obsolete: true
(Assignee)

Updated

3 months ago
Attachment #9016234 - Attachment is obsolete: true

Comment 19

3 months ago
Pushed by jkingston@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f57f2d7a928c
Pass triggeringPrincipal to test code. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/2ba386c0e081
Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/37a86a55e3a8
Add triggeringPrincipal to missing cpp loads. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/a97a8001f82a
Add in asserts for missing triggeringPrincipal. r=ckerschb

Comment 20

3 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/f57f2d7a928c
https://hg.mozilla.org/mozilla-central/rev/2ba386c0e081
https://hg.mozilla.org/mozilla-central/rev/37a86a55e3a8
https://hg.mozilla.org/mozilla-central/rev/a97a8001f82a
Status: REOPENED → RESOLVED
Last Resolved: 3 months ago3 months ago
status-firefox65: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
(Assignee)

Updated

3 months ago
Blocks: 1505034
(Assignee)

Updated

3 months ago
No longer blocks: 1505034
(Reporter)

Updated

a month ago
Depends on: 1478280
(Reporter)

Updated

a month ago
Depends on: 1510585
You need to log in before you can comment on or make changes to this bug.