Crash [@ mozilla::dom::WindowGlobalChild::SetDocumentURI ]
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
People
(Reporter: aiunusov, Assigned: aiunusov)
References
(Regression)
Details
(Keywords: regression, sec-other, Whiteboard: [adv-main123-])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
0 mozilla::dom::WindowGlobalChild::SetDocumentURI(nsIURI*) dom/ipc/WindowGlobalChild.cpp:609 context
1 xul.dll mozilla::dom::Document::SetDocumentURI(nsIURI*) dom/base/Document.cpp:4124 cfi
2 xul.dll nsEditingSession::OnLocationChange(nsIWebProgress*, nsIRequest*, nsIURI*, unsigned int) editor/composer/nsEditingSession.cpp:719 cfi
3 xul.dll nsDocLoader::FireOnLocationChange(nsIWebProgress*, nsIRequest*, nsIURI*, unsigned int) uriloader/base/nsDocLoader.cpp:1364 cfi
4 xul.dll nsDocShell::SetCurrentURI(nsIURI*, nsIRequest*, bool, bool, unsigned int) docshell/base/nsDocShell.cpp:1561 cfi
5 xul.dll nsDocShell::SetCurrentURIForSessionStore(nsIURI*) docshell/base/nsDocShell.cpp:1508 cfi
6 xul.dll mozilla::dom::SessionStoreUtils::RestoreDocShellState(nsIDocShell*, mozilla::dom::sessionstore::DocShellRestoreState const&) toolkit/components/sessionstore/SessionStoreUtils.cpp:1681 cfi
7 xul.dll mozilla::dom::WindowGlobalChild::RecvRestoreDocShellState(mozilla::dom::sessionstore::DocShellRestoreState const&, std::function<void (const bool&)>&&) dom/ipc/WindowGlobalChild.cpp:526 cfi
8 xul.dll mozilla::dom::PWindowGlobalChild::OnMessageReceived(IPC::Message const&) ipc/ipdl/PWindowGlobalChild.cpp:1577 cfi
9 xul.dll mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) ipc/ipdl/PContentChild.cpp:8321 cfi
10 xul.dll mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) ipc/glue/MessageChannel.cpp:1813 inlined
10 xul.dll mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message> >) ipc/glue/MessageChannel.cpp:1732 inlined
10 xul.dll mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) ipc/glue/MessageChannel.cpp:1525 inlined
10 xul.dll mozilla::ipc::MessageChannel::MessageTask::Run() ipc/glue/MessageChannel.cpp:1623 cfi
11 xul.dll mozilla::RunnableTask::Run()
Assignee | ||
Comment 1•11 months ago
|
||
- caused by inconsistent mCurrentURI state in SetCurrentURIForSessionStore
Updated•11 months ago
|
Comment 2•11 months ago
|
||
Is the crash itself a security issue or did you hide it because the regressor is a security bug?
Updated•11 months ago
|
Comment 3•11 months ago
|
||
The latter, this itself isn't really a security bug. But we need to fix this before we can enabled the other stuff on release.
The regressor was sec-moderate, so I think this can land
Updated•11 months ago
|
Comment 6•11 months ago
|
||
Backed out
https://hg.mozilla.org/integration/autoland/rev/015918f6142338b13a563f44b9e7d80077aeb80b
Push with failures
Failure log
toolkit/components/sessionstore/SessionStoreUtils.cpp(1681,5): error: incomplete type 'nsDocShell' named in nested name specifier
Updated•11 months ago
|
Assignee | ||
Updated•10 months ago
|
Comment 8•10 months ago
|
||
Comment 9•10 months ago
|
||
The patch landed in nightly and beta is affected.
:aiunusov, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox123
towontfix
.
For more information, please visit BugBot documentation.
Updated•10 months ago
|
Assignee | ||
Comment 10•10 months ago
|
||
Testing on Nightly looks good
So, I would nominate for Beta
(but it seems I have no enough right for that. And currently I am in PTO till the end of this week)
Comment 11•10 months ago
|
||
I added canconfirm and editbugs for you just now. I'm not sure why you didn't have those.
Maybe Olli can do the uplift as you are out this week.
Assignee | ||
Comment 12•10 months ago
|
||
I figured it out, and can create uplift request by myself
Assignee | ||
Comment 13•10 months ago
|
||
Comment on attachment 9375984 [details]
Bug 1876034 - don't bother to restore current uri, if there is another uri already, r=smaug
Beta/Release Uplift Approval Request
- User impact if declined: Small amount of the startup crashes. Like 1 or two crash reports on https://crash-stats.mozilla.org
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only affects SetCurrentURIForSessionStore call. So, not very risky
- String changes made/needed:
- Is Android affected?: Yes
Comment 14•10 months ago
|
||
Comment on attachment 9375984 [details]
Bug 1876034 - don't bother to restore current uri, if there is another uri already, r=smaug
Approved for 123 beta 6, thanks.
Comment 15•10 months ago
|
||
uplift |
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•3 months ago
|
Description
•