Closed Bug 2046261 Opened 5 months ago Closed 5 months ago

Hit MOZ_CRASH(ElementAt(aIndex = 8, aLength = 8)) at checkouts/gecko/mfbt/Assertions.cpp:50

Categories

(Core :: Networking: Cookies, defect)

defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox151 --- unaffected
firefox152 --- unaffected
firefox153 --- fixed

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, pernosco, regression)

Found with m-c 20260609-743f926f9fc5 (--enable-debug)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://zoom.us/. A Pernosco session is available here: https://pernos.co/debug/WtzOOKK0F3VlMk-WcO3wrQ/index.html

Hit MOZ_CRASH(ElementAt(aIndex = 8, aLength = 8)) at checkouts/gecko/mfbt/Assertions.cpp:50

0|0|firefox-bin|mozilla::detail::InvalidArrayIndex_CRASH(unsigned long, unsigned long)|git:github.com/mozilla-firefox/firefox:mfbt/Assertions.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|49|0x4c
0|1|libxul.so|mozilla::net::CookieStorage::AddCookie(mozilla::net::CookieParser*, nsTSubstring<char> const&, mozilla::OriginAttributes const&, mozilla::net::Cookie*, long, nsIURI*, nsTSubstring<char> const&, bool, bool, mozilla::dom::BrowsingContext*, nsID const*)|git:github.com/mozilla-firefox/firefox:netwerk/cookie/CookieStorage.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a||0x1267
0|2|libxul.so|mozilla::net::CookieService::SetCookieStringFromHttp(nsIURI*, nsTSubstring<char> const&, nsIChannel*)|git:github.com/mozilla-firefox/firefox:netwerk/cookie/CookieService.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|652|0xcb1
0|3|libxul.so|mozilla::net::HttpBaseChannel::SetCookieHeaders(nsTArray<nsTString<char> > const&)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/HttpBaseChannel.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|3774|0xe7
0|4|libxul.so|mozilla::net::nsHttpChannel::ContinueProcessResponse1(mozilla::net::nsHttpConnectionInfo*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpChannel.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|3200|0x206
0|5|libxul.so|mozilla::net::nsHttpChannel::ProcessResponse(mozilla::net::nsHttpConnectionInfo*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpChannel.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|3138|0x3c5
0|6|libxul.so|mozilla::net::nsHttpChannel::OnStartRequest(nsIRequest*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpChannel.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|9251|0xa63
0|7|libxul.so|nsInputStreamPump::OnStateStart()|git:github.com/mozilla-firefox/firefox:netwerk/base/nsInputStreamPump.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|533|0x154
0|8|libxul.so|nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*)|git:github.com/mozilla-firefox/firefox:netwerk/base/nsInputStreamPump.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|435|0x110
0|9|libxul.so|{virtual override thunk({offset(-24)}, nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*))}|git:github.com/mozilla-firefox/firefox:netwerk/base/nsInputStreamPump.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a||0xc
0|10|libxul.so|PipeCallbackRunnable::Run()|git:github.com/mozilla-firefox/firefox:xpcom/io/nsPipe3.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|74|0x17
0|11|libxul.so|mozilla::RunnableTask::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|719|0x17
0|12|libxul.so|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|1358|0x5b4
0|13|libxul.so|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|1181|0x57
0|14|libxul.so|mozilla::TaskController::ProcessPendingMTTask(bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|655|0x65
0|15|libxul.so|mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.h:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|536|0x16
0|16|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|1179|0x5ca
0|17|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|472|0x4f
0|18|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|83|0xc0
0|19|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|346|0x61
0|20|libxul.so|nsBaseAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/nsBaseAppShell.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|151|0x28
0|21|libxul.so|nsAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/gtk/nsAppShell.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|575|0x114
0|22|libxul.so|nsAppStartup::Run()|git:github.com/mozilla-firefox/firefox:toolkit/components/startup/nsAppStartup.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|307|0x64
0|23|libxul.so|XREMain::XRE_mainRun()|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsAppRunner.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|6031|0x13e9
0|24|libxul.so|XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsAppRunner.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|6290|0x5c1
0|25|libxul.so|XRE_main(int, char**, mozilla::BootstrapConfig const&)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsAppRunner.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|6363|0x122
0|26|firefox-bin|main|git:github.com/mozilla-firefox/firefox:browser/app/nsBrowserApp.cpp:9b3812b2313ffa3fba427d0be0e7c0e3714b5e0a|533|0x443
Keywords: regression

Should be fixed by backout.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.