Closed Bug 1704194 Opened 4 years ago Closed 4 years ago

Intermittent toolkit/components/extensions/test/mochitest/test_ext_tabs_create_cookieStoreId.html | application crashed [@ nsDocShell::CreateAndConfigureRealChannelForLoadState(mozilla::dom::BrowsingContext*, nsDocShellLoadState*, mozilla::net::LoadInfo*,

Categories

(GeckoView :: Extensions, defect, P2)

defect

Tracking

(firefox-esr78 unaffected, firefox87 unaffected, firefox88 unaffected, firefox89 wontfix, firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- wontfix
firefox90 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: agi)

References

(Regression)

Details

(Keywords: crash, intermittent-failure, regression, Whiteboard: [retriggered] [not-a-fission-bug] )

Crash Data

Attachments

(2 files)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=336006357&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/S-MVjjBESNiOlBjrSWf5Qg/runs/0/artifacts/public/logs/live_backing.log


[task 2021-04-09T19:04:31.100Z] 19:04:31  WARNING -  PROCESS-CRASH | toolkit/components/extensions/test/mochitest/test_ext_tabs_create_cookieStoreId.html | application crashed [@ nsDocShell::CreateAndConfigureRealChannelForLoadState(mozilla::dom::BrowsingContext*, nsDocShellLoadState*, mozilla::net::LoadInfo*, nsIInterfaceRequestor*, nsDocShell*, mozilla::OriginAttributes const&, unsigned int, unsigned int, nsresult&, nsIChannel**)]
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -  Mozilla crash reason: MOZ_ASSERT(attrs == aOriginAttributes)
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -  Crash dump filename: /tmp/tmp66BLFM/1621f78e-e3fd-452f-39f4-f17c45606c0d.dmp
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -  Operating system: Android
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -                    0.0.0 Linux 3.10.0+ #260 SMP PREEMPT Fri May 19 12:48:14 PDT 2017 x86_64
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -  CPU: amd64
[task 2021-04-09T19:04:31.101Z] 19:04:31     INFO -       family 6 model 6 stepping 3
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -       4 CPUs
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -  GPU: UNKNOWN
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -  Crash reason:  SIGSEGV /SEGV_MAPERR
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -  Crash address: 0x0
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -  Process uptime: not available
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -  Thread 11 (crashed)
[task 2021-04-09T19:04:31.102Z] 19:04:31     INFO -   0  libxul.so!nsDocShell::CreateAndConfigureRealChannelForLoadState(mozilla::dom::BrowsingContext*, nsDocShellLoadState*, mozilla::net::LoadInfo*, nsIInterfaceRequestor*, nsDocShell*, mozilla::OriginAttributes const&, unsigned int, unsigned int, nsresult&, nsIChannel**) [nsDocShell.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 9907 + 0x46]
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      rax = 0x000078f79f037fb9   rdx = 0x0000000000000004
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      rcx = 0x000078f7a23dbdf8   rbx = 0x00000000a2cded01
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      rsi = 0x000078f7a2cddbc0   rdi = 0x000000000000001b
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      rbp = 0x000078f7a2cdee40   rsp = 0x000078f7a2cdece0
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -       r8 = 0x000000000000ffff    r9 = 0x0000000000000000
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      r10 = 0x000078f7bd5073d0   r11 = 0x0000000000000246
[task 2021-04-09T19:04:31.103Z] 19:04:31     INFO -      r12 = 0xaaaaaaaaaaaaaaaa   r13 = 0x000078f78dcf8eb0
[task 2021-04-09T19:04:31.104Z] 19:04:31     INFO -      r14 = 0x000078f78eedc0c0   r15 = 0x000078f7a2cdef40
[task 2021-04-09T19:04:31.104Z] 19:04:31     INFO -      rip = 0x000078f79b2092e5
[task 2021-04-09T19:04:31.104Z] 19:04:31     INFO -      Found by: given as instruction pointer in context
[task 2021-04-09T19:04:31.104Z] 19:04:31     INFO -   1  libxul.so!mozilla::net::DocumentLoadListener::Open(nsDocShellLoadState*, mozilla::net::LoadInfo*, unsigned int, unsigned int, mozilla::Maybe<unsigned long> const&, mozilla::TimeStamp const&, nsDOMNavigationTiming*, mozilla::Maybe<mozilla::dom::ClientInfo>&&, bool, int, nsresult*) [DocumentLoadListener.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 543 + 0x2b]
[task 2021-04-09T19:04:31.104Z] 19:04:31     INFO -      rbp = 0x000078f7a2cdefd0   rsp = 0x000078f7a2cdee50
[task 2021-04-09T19:04:31.105Z] 19:04:31     INFO -      rip = 0x000078f798011283
[task 2021-04-09T19:04:31.105Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.105Z] 19:04:31     INFO -   2  libxul.so!mozilla::net::DocumentLoadListener::OpenDocument(nsDocShellLoadState*, unsigned int, mozilla::Maybe<unsigned long> const&, mozilla::TimeStamp const&, nsDOMNavigationTiming*, mozilla::Maybe<mozilla::dom::ClientInfo>&&, mozilla::Maybe<bool>, mozilla::Maybe<bool>, int, nsresult*) [DocumentLoadListener.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 752 + 0x35]
[task 2021-04-09T19:04:31.105Z] 19:04:31     INFO -      rbp = 0x000078f7a2cdf0a0   rsp = 0x000078f7a2cdefe0
[task 2021-04-09T19:04:31.105Z] 19:04:31     INFO -      rip = 0x000078f79800f006
[task 2021-04-09T19:04:31.106Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.106Z] 19:04:31     INFO -   3  libxul.so!mozilla::net::DocumentChannelParent::Init(mozilla::dom::CanonicalBrowsingContext*, mozilla::net::DocumentChannelCreationArgs const&) [DocumentChannelParent.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 61 + 0x32]
[task 2021-04-09T19:04:31.106Z] 19:04:31     INFO -      rbp = 0x000078f7a2cdf1d0   rsp = 0x000078f7a2cdf0b0
[task 2021-04-09T19:04:31.106Z] 19:04:31     INFO -      rip = 0x000078f79800e8ff
[task 2021-04-09T19:04:31.106Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -   4  libxul.so!mozilla::net::NeckoParent::RecvPDocumentChannelConstructor(mozilla::net::PDocumentChannelParent*, mozilla::dom::MaybeDiscarded<mozilla::dom::BrowsingContext> const&, mozilla::net::DocumentChannelCreationArgs const&) [NeckoParent.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 341 + 0x16]
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -      rbp = 0x000078f7a2cdf200   rsp = 0x000078f7a2cdf1e0
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -      rip = 0x000078f79801bbc2
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -   5  libxul.so!mozilla::net::PNeckoParent::OnMessageReceived(IPC::Message const&) [PNeckoParent.cpp: : 2132 + 0x1d]
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce0650   rsp = 0x000078f7a2cdf210
[task 2021-04-09T19:04:31.107Z] 19:04:31     INFO -      rip = 0x000078f7982c5d27
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -   6  libxul.so!mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) [PContentParent.cpp: : 6592 + 0x15]
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce17c0   rsp = 0x000078f7a2ce0660
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -      rip = 0x000078f7981d737d
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -   7  libxul.so!mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) [MessageChannel.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 2154 + 0xd]
[task 2021-04-09T19:04:31.108Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce1800   rsp = 0x000078f7a2ce17d0
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -      rip = 0x000078f7981021f2
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -   8  libxul.so!mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) [MessageChannel.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 2078 + 0x5]
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce18f0   rsp = 0x000078f7a2ce1810
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -      rip = 0x000078f798101275
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.109Z] 19:04:31     INFO -   9  libxul.so!mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) [MessageChannel.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 1926 + 0xb]
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce1930   rsp = 0x000078f7a2ce1900
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      rip = 0x000078f7981017f5
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -  10  libxul.so!mozilla::ipc::MessageChannel::MessageTask::Run() [MessageChannel.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 1957 + 0xc]
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce1950   rsp = 0x000078f7a2ce1940
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      rip = 0x000078f798101b55
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.110Z] 19:04:31     INFO -  11  libxul.so!mozilla::RunnableTask::Run() [TaskController.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 470 + 0x11]
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce1de0   rsp = 0x000078f7a2ce1960
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rip = 0x000078f797b01e9e
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -  12  libxul.so!mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [TaskController.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 754 + 0x9]
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce2000   rsp = 0x000078f7a2ce1df0
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rip = 0x000078f797aeb09b
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -  13  libxul.so!mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [TaskController.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 609 + 0x5]
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce2040   rsp = 0x000078f7a2ce2010
[task 2021-04-09T19:04:31.111Z] 19:04:31     INFO -      rip = 0x000078f797aea3e1
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -  14  libxul.so!mozilla::TaskController::ProcessPendingMTTask(bool) [TaskController.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 393 + 0xb]
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce2090   rsp = 0x000078f7a2ce2050
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      rip = 0x000078f797aea531
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -  15  libxul.so!mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() [nsThreadUtils.h:2297f057009101274de081d1a6c0e56dbd411cd9 : 534 + 0xf]
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce20a0   rsp = 0x000078f7a2ce20a0
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      rip = 0x000078f797b061f7
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -  16  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 1159 + 0xe]
[task 2021-04-09T19:04:31.112Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce21e0   rsp = 0x000078f7a2ce20b0
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      rip = 0x000078f797af67a4
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -  17  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 548 + 0x10]
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce2220   rsp = 0x000078f7a2ce21f0
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      rip = 0x000078f797afae6c
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      Found by: previous frame's frame pointer
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -  18  libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:2297f057009101274de081d1a6c0e56dbd411cd9 : 87 + 0xa]
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      rbp = 0x000078f7a2ce2270   rsp = 0x000078f7a2ce2230
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      rip = 0x000078f798104568
[task 2021-04-09T19:04:31.113Z] 19:04:31     INFO -      Found by: previous frame's frame pointer```

Aaron, this looks to be caused by the changes in Bug 1703968, backfill range.

Could you please take a look?

Flags: needinfo?(aklotz)
Regressed by: 1703968
Whiteboard: [retriggered]
Has Regression Range: --- → yes
Keywords: regression

Set release status flags based on info from the regressing bug 1703968

Blocks: 1619655
Severity: S4 → S2
Priority: -- → P2

We're asserting when doing a sanity check on attributes: mGeckoViewSessionContextId is set on aOriginAttributes but not on attrs. Looking...

Flags: needinfo?(aklotz)

Agi wants to take a look at this, since it's extension related and he was involved with writing that test.

Assignee: nobody → agi
Status: NEW → ASSIGNED
Whiteboard: [retriggered] → [retriggered] [not-a-fission-bug]

Sorry I should've moved this. This is a GeckoView bug.

Component: DOM: Navigation → General
Product: Core → GeckoView
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa9983445c3b Use appropriate principal when creating new tabs. r=aklotz,robwu,ckerschb https://hg.mozilla.org/integration/autoland/rev/e6b4bd790572 Add non-about:blank test to tabs_create_cookieStoreId. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Does this need a Beta approval request?

Flags: needinfo?(agi)

I don't think this can happen in real life as the feature is not enabled in Fenix. Do we uplift code fixes for test failures to beta? The fix itself is safe and upliftable.

Flags: needinfo?(agi) → needinfo?(ryanvm)

We don't run debug tests on Beta, so this failure isn't happening there. If there's no user-facing advantage, we can disregard.

Flags: needinfo?(ryanvm)

Moving some extension bugs to the GeckoView::Extensions component.

Component: General → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: