Open Bug 1588284 Opened 5 months ago Updated 2 days ago

Intermittent GECKO(3779) | Assertion failure: parent, at /builds/worker/workspace/build/src/docshell/base/BrowsingContext.cpp:1139

Categories

(Core :: DOM: Navigation, defect, P5)

defect

Tracking

()

Fission Milestone M4.1

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled])

Attachments

(2 files)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=270989232&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/MT-o9n61RSytmoCQEdotAQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-10-12T07:42:28.037Z] 07:42:28 INFO - GECKO(3779) | Assertion failure: parent, at /builds/worker/workspace/build/src/docshell/base/BrowsingContext.cpp:1139
[task 2019-10-12T07:42:50.655Z] 07:42:50 INFO - GECKO(3779) | #01: mozilla::dom::ContentChild::RecvRegisterBrowsingContextGroup(nsTArray<mozilla::dom::BrowsingContext::IPCInitializer>&&) [mfbt/AlreadyAddRefed.h:145]
[task 2019-10-12T07:42:50.655Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.656Z] 07:42:50 INFO - GECKO(3779) | #02: mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) [s3:gecko-generated-sources:fd8cde07bc12da00eb110c7ee29edc1f156c76a3c38880b5eb998e6f5a508d631a6ba97e85c721400241c86c5644225bfec5fe45de8b84ef4fe326e48c5521d0/ipc/ipdl/PContentChild.cpp::0]
[task 2019-10-12T07:42:50.656Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.657Z] 07:42:50 INFO - GECKO(3779) | #03: mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) [ipc/glue/MessageChannel.cpp:2186]
[task 2019-10-12T07:42:50.657Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.658Z] 07:42:50 INFO - GECKO(3779) | #04: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) [ipc/glue/MessageChannel.cpp:2112]
[task 2019-10-12T07:42:50.658Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.659Z] 07:42:50 INFO - GECKO(3779) | #05: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) [ipc/glue/MessageChannel.cpp:0]
[task 2019-10-12T07:42:50.660Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.660Z] 07:42:50 INFO - GECKO(3779) | #06: mozilla::ipc::MessageChannel::MessageTask::Run() [ipc/glue/MessageChannel.cpp:1987]
[task 2019-10-12T07:42:50.661Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.661Z] 07:42:50 INFO - GECKO(3779) | #07: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1225]
[task 2019-10-12T07:42:50.662Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.662Z] 07:42:50 INFO - GECKO(3779) | #08: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:486]
[task 2019-10-12T07:42:50.663Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.663Z] 07:42:50 INFO - GECKO(3779) | #09: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:88]
[task 2019-10-12T07:42:50.664Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.664Z] 07:42:50 INFO - GECKO(3779) | #10: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:291]
[task 2019-10-12T07:42:50.665Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.665Z] 07:42:50 INFO - GECKO(3779) | #11: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:139]
[task 2019-10-12T07:42:50.666Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.667Z] 07:42:50 INFO - GECKO(3779) | #12: XRE_RunAppShell() [toolkit/xre/nsEmbedFunctions.cpp:934]
[task 2019-10-12T07:42:50.667Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.668Z] 07:42:50 INFO - GECKO(3779) | #13: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:238]
[task 2019-10-12T07:42:50.668Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.669Z] 07:42:50 INFO - GECKO(3779) | #14: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:291]
[task 2019-10-12T07:42:50.669Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.670Z] 07:42:50 INFO - GECKO(3779) | #15: XRE_InitChildProcess(int, char**, XREChildData const*) [toolkit/xre/nsEmbedFunctions.cpp:769]
[task 2019-10-12T07:42:50.670Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | #16: content_process_main(mozilla::Bootstrap*, int, char**) [ipc/contentproc/plugin-container.cpp:57]
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | #17: main [browser/app/nsBrowserApp.cpp:272]
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | #18: libc.so.6 + 0x20830
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | #19: _start
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO -
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | [Parent 3779, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/workspace/build/src/ipc/glue/ProtocolUtils.cpp, line 481
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | [Parent 3779, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/workspace/build/src/ipc/glue/ProtocolUtils.cpp, line 481
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | ++DOCSHELL 0x7fe413519000 == 21 [pid = 3779] [id = {04aeb41f-4ea3-46dc-b8cd-df3ec2627b23}]
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | ++DOMWINDOW == 62 (0x7fe4136e3a60) [pid = 3779] [serial = 310] [outer = (nil)]
[task 2019-10-12T07:42:50.874Z] 07:42:50 INFO - GECKO(3779) | ++DOMWINDOW == 63 (0x7fe4143e8400) [pid = 3779] [serial = 311] [outer = 0x7fe4136e3a60]
[task 2019-10-12T07:42:50.875Z] 07:42:50 ERROR - GECKO(3779) | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2019-10-12T07:42:50.875Z] 07:42:50 INFO - GECKO(3779) | --DOCSHELL 0x7f6e00d86800 == 2 [pid = 3849] [id = {a69ff896-9de4-4e56-8150-fee146591f2c}] [url = moz-extension://86061aa1-bae6-4db6-a7c4-f22680bdc538/_generated_background_page.html]

entering test: toolkit/components/extensions/test/mochitest/test_ext_web_accessible_resources.html

Keywords: leave-open
Whiteboard: [stockwell disabled]
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ab74403e752
disable test_ext_web_accessible_incognito.html on fission r=mccr8

This is still failing on test_ext_web_accessible_resources.html on fission on linux qr debug: https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-10-21&endday=2019-10-28&tree=trunk&bug=1588284.

Bug 1580565 is also failing on test_ext_web_accessible_resources.html mostly on linux qr https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-10-21&endday=2019-10-28&tree=trunk&bug=1580565 .

Should we disable this test for both bugs?

Flags: needinfo?(tomica)
Flags: needinfo?(continuation)
See Also: → 1580565

So I looked again in some detail, and it doesn't look like the crash has anything to do with web extensions, or this test in particular, it just happens to trigger it. I'm ok with disabling it, and later I can rewrite it as an xpcshell test, but that would effectively only hide the crash in BrowsingContext code, which someone on the fission team should probably look at eventually.

I guess what I'm saying is, whatever Andrew thinks is the right thing here, I'll defer to him.

Flags: needinfo?(tomica)

I guess it makes sense to disable the test then. I'll move this over to document navigation so hopefully it can get triaged by somebody familiar with this code.

Component: General → Document Navigation
Flags: needinfo?(continuation)
Product: WebExtensions → Core
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/949ac9ffd9d9
disable test_ext_web_accessible_resources.html on fission r=mccr8

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?
Fission Milestone: ? → M4.1

I tried to reproduce bug 1611907 with these prefs set:

(In reply to Cristian Fogel, QA [:cfogel] from bug 1611907 comment #2)

  • fission.autostart - true
  • browser.tabs.documentchannel - true
  • dom.serviceWorkers.parent_intercept - false
  • fission.rebuild_frameloaders_on_remoteness_change - false

and I kept hitting the assertion a lot on a new profile while browsing on https://edition.cnn.com/

Assertion failure: parent, at /home/icecold/mozilla-central/docshell/base/BrowsingContext.cpp:1208

#0  0x00007f8359f85670 in __GI___nanosleep (requested_time=requested_time@entry=0x7ffef21054b0, remaining=remaining@entry=0x7ffef21054b0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f8359f8557a in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
#2  0x00007f8352ecc82d in ah_crap_handler(int) (signum=11) at /home/icecold/mozilla-central/toolkit/xre/nsSigHandlers.cpp:95
#3  0x00007f8352ecc92a in child_ah_crap_handler(int) (signum=11) at /home/icecold/mozilla-central/toolkit/xre/nsSigHandlers.cpp:105
#4  0x00007f835404c052 in WasmTrapHandler(int, siginfo_t*, void*) (signum=11, info=<optimized out>, context=<optimized out>) at /home/icecold/mozilla-central/js/src/wasm/WasmSignalHandlers.cpp:963
#5  0x00007f835a3f4f40 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8352a65b98 in mozilla::dom::BrowsingContext::IPCInitializer::GetParent() (this=<optimized out>) at /home/icecold/mozilla-central/docshell/base/BrowsingContext.cpp:1208
#7  0x00007f835174701d in mozilla::dom::ContentChild::RecvRegisterBrowsingContextGroup(nsTArray<mozilla::dom::BrowsingContext::IPCInitializer>&&, nsTArray<mozilla::dom::WindowContext::IPCInitializer>&&) (this=<optimized out>, aInits=..., aWindowInits=...) at /home/icecold/mozilla-central/dom/ipc/ContentChild.cpp:3956
#8  0x00007f834f2e55f1 in mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) (this=0x7f8359cc9020, msg__=...) at PContentChild.cpp:12557
#9  0x00007f834f1dff1b in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) (this=0x7f8359cc9140, aProxy=0x7f83479f6220, aMsg=...) at /home/icecold/mozilla-central/ipc/glue/MessageChannel.cpp:2214
#10 0x00007f834f1dee62 in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) (this=0x7f8359cc9140, aMsg=...) at /home/icecold/mozilla-central/ipc/glue/MessageChannel.cpp:2136
#11 0x00007f834f1df4d7 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) (this=0x7f8359cc9140, aTask=...) at /home/icecold/mozilla-central/ipc/glue/MessageChannel.cpp:1975
#12 0x00007f834f1df7ce in mozilla::ipc::MessageChannel::MessageTask::Run() (this=0x7f8346c901f0) at /home/icecold/mozilla-central/ipc/glue/MessageChannel.cpp:2006
#13 0x00007f834eb57d70 in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f8346f62020, aMayWait=<optimized out>, aResult=0x7ffef2107627) at /home/icecold/mozilla-central/xpcom/threads/nsThread.cpp:1220
#14 0x00007f834eb5ad37 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0x7f835a089680 <_IO_2_1_stderr_>, aMayWait=false) at /home/icecold/mozilla-central/xpcom/threads/nsThreadUtils.cpp:486
#15 0x00007f834f1e1d8e in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (this=0x7f8359ca8920, aDelegate=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/glue/MessagePump.cpp:87
#16 0x00007f834f16cf2b in MessageLoop::RunInternal() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:315
#17 0x00007f834f16ce83 in MessageLoop::RunHandler() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:308
#18 0x00007f834f16ce83 in MessageLoop::Run() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:290
#19 0x00007f8351adaaad in nsBaseAppShell::Run() (this=0x7f83479bcc10) at /home/icecold/mozilla-central/widget/nsBaseAppShell.cpp:137
#20 0x00007f8352ec8914 in XRE_RunAppShell() () at /home/icecold/mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:943
#21 0x00007f834f1e236d in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) (this=0x7f8359ca8920, aDelegate=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/glue/MessagePump.cpp:237
#22 0x00007f834f16cf2b in MessageLoop::RunInternal() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:315
#23 0x00007f834f16ce83 in MessageLoop::RunHandler() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:308
#24 0x00007f834f16ce83 in MessageLoop::Run() (this=0x7ffef2107888) at /home/icecold/mozilla-central/ipc/chromium/src/base/message_loop.cc:290
#25 0x00007f8352ec8202 in XRE_InitChildProcess(int, char**, XREChildData const*) (aArgc=<optimized out>, aArgv=<optimized out>, aChildData=<optimized out>) at /home/icecold/mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:778
#26 0x0000559381ce113a in content_process_main(mozilla::Bootstrap*, int, char**) (bootstrap=0x7f8359c026c0, argc=15, argv=0x7ffef2108cd8) at /home/icecold/mozilla-central/browser/app/../../ipc/contentproc/plugin-container.cpp:56
#27 0x0000559381ce1428 in main(int, char**, char**) (argc=16, argv=0x7ffef2108cd8, envp=<optimized out>) at /home/icecold/mozilla-central/browser/app/nsBrowserApp.cpp:303
See Also: → 1614350
See Also: → 1604593
You need to log in before you can comment on or make changes to this bug.