This is found when running mochitest on emulator-x86-kk only. On ARM emulator, I can run the tests repeatedly over the weekend without the crash. In TabChild::PreloadSlowThings(), class MessageChannelAutoBlock() accesses the IPC channels of opened actors in a racy way: in MessageChannelAutoBlock::SetMessageChannelBlocked(), the IPC channel might not yet be opened (on another thread). The Nuwa process then crashes in dereferencing a nullptr.
Attachment #8674862 - Flags: review?(khuey) → review+
https://hg.mozilla.org/integration/b2g-inbound/rev/d867176a590ac65a54da92a5706f97e938fbea39 Bug 1215508: Fix the race in accessing the unopened IPC channels in TabChild::PreloadSlowThings(). r=khuey
You need to log in before you can comment on or make changes to this bug.