Bug 1637057 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:

1. Install Firefox Nightly
2. Ensure container tabs are enabled
3. Visit about:debugging#/runtime/this-firefox in a new tab
4. Right click on about:debugging tab and click to re-open in any configured container tab
5. Click `Inspect` on any listed item.

Result:

```
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

Assertion failure: opener->mOriginAttributes.EqualsIgnoringFPD(mOriginAttributes), at /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1335
#01: ???[/home/geeknik/firefox/libxul.so +0xdf49ce1]
#02: ???[/home/geeknik/firefox/libxul.so +0xdf49a0c]
#03: ???[/home/geeknik/firefox/libxul.so +0x60b382b]
#04: ???[/home/geeknik/firefox/libxul.so +0x60a370f]
#05: ???[/home/geeknik/firefox/libxul.so +0x60a62d1]
#06: ???[/home/geeknik/firefox/libxul.so +0xb786dfd]
#07: ???[/home/geeknik/firefox/libxul.so +0xb7fe76d]
#08: ???[/home/geeknik/firefox/libxul.so +0x5a856ea]
#09: ???[/home/geeknik/firefox/libxul.so +0x5db5dfc]
#10: ???[/home/geeknik/firefox/libxul.so +0x60e4afc]
#11: ???[/home/geeknik/firefox/libxul.so +0x6a7022d]
#12: ???[/home/geeknik/firefox/libxul.so +0x832f145]
#13: ??? (???:???)
AddressSanitizer:DEADLYSIGNAL
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
```

ASAN:
```
=================================================================
==2112614==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f58be6105b8 bp 0x7fff29b7e050 sp 0x7fff29b7e030 T0)
==2112614==The signal is caused by a WRITE memory access.
==2112614==Hint: address points to the zero page.
    #0 0x7f58be6105b7 in AnnotateMozCrashReason /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19
    #1 0x7f58be6105b7 in mozilla::dom::BrowsingContext::AssertCoherentLoadContext() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1348:3
    #2 0x7f58be60ace0 in mozilla::dom::BrowsingContext::Attach(bool, mozilla::dom::ContentParent*) /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:514:3
    #3 0x7f58be60aa0b in mozilla::dom::BrowsingContext::EnsureAttached() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:331:5
    #4 0x7f58b677482a in nsFrameLoader::EnsureBrowsingContextAttached() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3553:28
    #5 0x7f58b676470e in nsFrameLoader::MaybeCreateDocShell() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2054:8
    #6 0x7f58b67672d0 in nsFrameLoader::Show(nsSubDocumentFrame*) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:889:17
    #7 0x7f58bbe47dfc in nsSubDocumentFrame::ShowViewer() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:192:40
    #8 0x7f58bbebf76c in AsyncFrameInit::Run() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:95:60
    #9 0x7f58b61466e9 in nsContentUtils::RemoveScriptBlocker() /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:5342:15
    #10 0x7f58b6476dfb in mozilla::dom::Document::EndUpdate() /builds/worker/checkouts/gecko/dom/base/Document.cpp:7072:3
    #11 0x7f58b67a5afb in ~mozAutoDocUpdate /builds/worker/checkouts/gecko/dom/base/mozAutoDocUpdate.h:34:18
    #12 0x7f58b67a5afb in nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsINode.cpp:2670:1
    #13 0x7f58b713122c in InsertBefore /builds/worker/checkouts/gecko/dom/base/nsINode.h:1943:12
    #14 0x7f58b713122c in AppendChild /builds/worker/checkouts/gecko/dom/base/nsINode.h:1946:12
    #15 0x7f58b713122c in mozilla::dom::Node_Binding::appendChild(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) /builds/worker/workspace/obj-build/dom/bindings/NodeBinding.cpp:989:60
    #16 0x7f58b89f0144 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:3203:13
    #17 0x1538742ab14f  (<unknown module>)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19 in AnnotateMozCrashReason
==2112614==ABORTING
```
STR:

1. Install Firefox Nightly
2. Ensure container tabs are enabled
3. Visit about:debugging#/runtime/this-firefox in a new tab
4. Right click on about:debugging tab and click `Reopen in container` and pick any container
5. Click `Inspect` on any listed item.

Result:

```
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

Assertion failure: opener->mOriginAttributes.EqualsIgnoringFPD(mOriginAttributes), at /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1335
#01: ???[/home/geeknik/firefox/libxul.so +0xdf49ce1]
#02: ???[/home/geeknik/firefox/libxul.so +0xdf49a0c]
#03: ???[/home/geeknik/firefox/libxul.so +0x60b382b]
#04: ???[/home/geeknik/firefox/libxul.so +0x60a370f]
#05: ???[/home/geeknik/firefox/libxul.so +0x60a62d1]
#06: ???[/home/geeknik/firefox/libxul.so +0xb786dfd]
#07: ???[/home/geeknik/firefox/libxul.so +0xb7fe76d]
#08: ???[/home/geeknik/firefox/libxul.so +0x5a856ea]
#09: ???[/home/geeknik/firefox/libxul.so +0x5db5dfc]
#10: ???[/home/geeknik/firefox/libxul.so +0x60e4afc]
#11: ???[/home/geeknik/firefox/libxul.so +0x6a7022d]
#12: ???[/home/geeknik/firefox/libxul.so +0x832f145]
#13: ??? (???:???)
AddressSanitizer:DEADLYSIGNAL
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
```

ASAN:
```
=================================================================
==2112614==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f58be6105b8 bp 0x7fff29b7e050 sp 0x7fff29b7e030 T0)
==2112614==The signal is caused by a WRITE memory access.
==2112614==Hint: address points to the zero page.
    #0 0x7f58be6105b7 in AnnotateMozCrashReason /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19
    #1 0x7f58be6105b7 in mozilla::dom::BrowsingContext::AssertCoherentLoadContext() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1348:3
    #2 0x7f58be60ace0 in mozilla::dom::BrowsingContext::Attach(bool, mozilla::dom::ContentParent*) /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:514:3
    #3 0x7f58be60aa0b in mozilla::dom::BrowsingContext::EnsureAttached() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:331:5
    #4 0x7f58b677482a in nsFrameLoader::EnsureBrowsingContextAttached() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3553:28
    #5 0x7f58b676470e in nsFrameLoader::MaybeCreateDocShell() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2054:8
    #6 0x7f58b67672d0 in nsFrameLoader::Show(nsSubDocumentFrame*) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:889:17
    #7 0x7f58bbe47dfc in nsSubDocumentFrame::ShowViewer() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:192:40
    #8 0x7f58bbebf76c in AsyncFrameInit::Run() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:95:60
    #9 0x7f58b61466e9 in nsContentUtils::RemoveScriptBlocker() /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:5342:15
    #10 0x7f58b6476dfb in mozilla::dom::Document::EndUpdate() /builds/worker/checkouts/gecko/dom/base/Document.cpp:7072:3
    #11 0x7f58b67a5afb in ~mozAutoDocUpdate /builds/worker/checkouts/gecko/dom/base/mozAutoDocUpdate.h:34:18
    #12 0x7f58b67a5afb in nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsINode.cpp:2670:1
    #13 0x7f58b713122c in InsertBefore /builds/worker/checkouts/gecko/dom/base/nsINode.h:1943:12
    #14 0x7f58b713122c in AppendChild /builds/worker/checkouts/gecko/dom/base/nsINode.h:1946:12
    #15 0x7f58b713122c in mozilla::dom::Node_Binding::appendChild(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) /builds/worker/workspace/obj-build/dom/bindings/NodeBinding.cpp:989:60
    #16 0x7f58b89f0144 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:3203:13
    #17 0x1538742ab14f  (<unknown module>)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19 in AnnotateMozCrashReason
==2112614==ABORTING
```
STR:

1. Install Firefox Nightly
2. Ensure container tabs are enabled
3. Visit about:debugging#/runtime/this-firefox in a new tab
4. Right click on about:debugging tab and click `Reopen in Container` and pick any container
5. Click `Inspect` on any listed item.

Result:

```
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

Assertion failure: opener->mOriginAttributes.EqualsIgnoringFPD(mOriginAttributes), at /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1335
#01: ???[/home/geeknik/firefox/libxul.so +0xdf49ce1]
#02: ???[/home/geeknik/firefox/libxul.so +0xdf49a0c]
#03: ???[/home/geeknik/firefox/libxul.so +0x60b382b]
#04: ???[/home/geeknik/firefox/libxul.so +0x60a370f]
#05: ???[/home/geeknik/firefox/libxul.so +0x60a62d1]
#06: ???[/home/geeknik/firefox/libxul.so +0xb786dfd]
#07: ???[/home/geeknik/firefox/libxul.so +0xb7fe76d]
#08: ???[/home/geeknik/firefox/libxul.so +0x5a856ea]
#09: ???[/home/geeknik/firefox/libxul.so +0x5db5dfc]
#10: ???[/home/geeknik/firefox/libxul.so +0x60e4afc]
#11: ???[/home/geeknik/firefox/libxul.so +0x6a7022d]
#12: ???[/home/geeknik/firefox/libxul.so +0x832f145]
#13: ??? (???:???)
AddressSanitizer:DEADLYSIGNAL
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
```

ASAN:
```
=================================================================
==2112614==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f58be6105b8 bp 0x7fff29b7e050 sp 0x7fff29b7e030 T0)
==2112614==The signal is caused by a WRITE memory access.
==2112614==Hint: address points to the zero page.
    #0 0x7f58be6105b7 in AnnotateMozCrashReason /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19
    #1 0x7f58be6105b7 in mozilla::dom::BrowsingContext::AssertCoherentLoadContext() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:1348:3
    #2 0x7f58be60ace0 in mozilla::dom::BrowsingContext::Attach(bool, mozilla::dom::ContentParent*) /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:514:3
    #3 0x7f58be60aa0b in mozilla::dom::BrowsingContext::EnsureAttached() /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:331:5
    #4 0x7f58b677482a in nsFrameLoader::EnsureBrowsingContextAttached() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3553:28
    #5 0x7f58b676470e in nsFrameLoader::MaybeCreateDocShell() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2054:8
    #6 0x7f58b67672d0 in nsFrameLoader::Show(nsSubDocumentFrame*) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:889:17
    #7 0x7f58bbe47dfc in nsSubDocumentFrame::ShowViewer() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:192:40
    #8 0x7f58bbebf76c in AsyncFrameInit::Run() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:95:60
    #9 0x7f58b61466e9 in nsContentUtils::RemoveScriptBlocker() /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:5342:15
    #10 0x7f58b6476dfb in mozilla::dom::Document::EndUpdate() /builds/worker/checkouts/gecko/dom/base/Document.cpp:7072:3
    #11 0x7f58b67a5afb in ~mozAutoDocUpdate /builds/worker/checkouts/gecko/dom/base/mozAutoDocUpdate.h:34:18
    #12 0x7f58b67a5afb in nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsINode.cpp:2670:1
    #13 0x7f58b713122c in InsertBefore /builds/worker/checkouts/gecko/dom/base/nsINode.h:1943:12
    #14 0x7f58b713122c in AppendChild /builds/worker/checkouts/gecko/dom/base/nsINode.h:1946:12
    #15 0x7f58b713122c in mozilla::dom::Node_Binding::appendChild(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) /builds/worker/workspace/obj-build/dom/bindings/NodeBinding.cpp:989:60
    #16 0x7f58b89f0144 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:3203:13
    #17 0x1538742ab14f  (<unknown module>)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:42:19 in AnnotateMozCrashReason
==2112614==ABORTING
```

Back to Bug 1637057 Comment 0