Assertion failure: PermissionAvailable(prin, aType), at /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:2446
Categories
(Core :: Permission Manager, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | affected |
People
(Reporter: tsmith, Assigned: abhishekmadan)
References
(Blocks 1 open bug)
Details
(Keywords: assertion)
Found with m-c 20231215-efffe49c7c1c (--enable-debug --enable-fuzzing)
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://www.tgcom24.mediaset.it/
.
Assertion failure: PermissionAvailable(prin, aType), at /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:2446
0|0|xul.dll|mozilla::PermissionManager::CommonTestPermissionInternal(nsIPrincipal*, nsIURI*, mozilla::OriginAttributes const*, int, nsTSubstring<char> const&, unsigned int*, bool, bool)|hg:hg.mozilla.org/mozilla-central:extensions/permissions/PermissionManager.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|2446|0x236
0|1|xul.dll|mozilla::PermissionManager::TestExactPermissionFromPrincipal(nsIPrincipal*, nsTSubstring<char> const&, unsigned int*)|hg:hg.mozilla.org/mozilla-central:extensions/permissions/PermissionManager.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|2338|0x8a
0|2|xul.dll|mozilla::media::AutoplayPolicy::GetSiteAutoplayPermission(nsIPrincipal*)|hg:hg.mozilla.org/mozilla-central:dom/media/autoplay/AutoplayPolicy.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|393|0x7b
0|3|xul.dll|mozilla::dom::WindowGlobalActor::WindowInitializer(nsGlobalWindowInner*)|hg:hg.mozilla.org/mozilla-central:dom/ipc/WindowGlobalActor.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|117|0x232
0|4|xul.dll|mozilla::dom::WindowGlobalChild::Create(nsGlobalWindowInner*)|hg:hg.mozilla.org/mozilla-central:dom/ipc/WindowGlobalChild.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|98|0x276
0|5|xul.dll|nsGlobalWindowInner::InitDocumentDependentState(JSContext*)|hg:hg.mozilla.org/mozilla-central:dom/base/nsGlobalWindowInner.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|1802|0x11b
0|6|xul.dll|nsGlobalWindowOuter::SetNewDocument(mozilla::dom::Document*, nsISupports*, bool, mozilla::dom::WindowGlobalChild*)|hg:hg.mozilla.org/mozilla-central:dom/base/nsGlobalWindowOuter.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|2439|0x1228
0|7|xul.dll|nsDocumentViewer::InitInternal(nsIWidget*, nsISupports*, mozilla::dom::WindowGlobalChild*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, bool, bool, bool)|hg:hg.mozilla.org/mozilla-central:layout/base/nsDocumentViewer.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|896|0x45d
0|8|xul.dll|nsDocumentViewer::Init(nsIWidget*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::dom::WindowGlobalChild*)|hg:hg.mozilla.org/mozilla-central:layout/base/nsDocumentViewer.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|675|0x1b
0|9|xul.dll|nsDocShell::SetupNewViewer(nsIDocumentViewer*, mozilla::dom::WindowGlobalChild*)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDocShell.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|8048|0x5b5
0|10|xul.dll|nsDocShell::Embed(nsIDocumentViewer*, mozilla::dom::WindowGlobalChild*, bool, bool, nsIRequest*, nsIURI*)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDocShell.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|5571|0x2f
0|11|xul.dll|nsDocShell::CreateDocumentViewer(nsTSubstring<char> const&, nsIRequest*, nsIStreamListener**)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDocShell.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|7878|0x8d6
0|12|xul.dll|nsDSURIContentListener::DoContent(nsTSubstring<char> const&, bool, nsIRequest*, nsIStreamListener**, bool*)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDSURIContentListener.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|167|0x2bd
0|13|xul.dll|nsDocumentOpenInfo::TryContentListener(nsIURIContentListener*, nsIChannel*)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsURILoader.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|647|0x1b7
0|14|xul.dll|nsDocumentOpenInfo::TryDefaultContentListener(nsIChannel*)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsURILoader.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|677|0x12
0|15|xul.dll|nsDocumentOpenInfo::DispatchContent(nsIRequest*)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsURILoader.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|344|0x255
0|16|xul.dll|nsDocumentOpenInfo::OnStartRequest(nsIRequest*)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsURILoader.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|157|0x146
0|17|xul.dll|nsBaseChannel::OnStartRequest(nsIRequest*)|hg:hg.mozilla.org/mozilla-central:netwerk/base/nsBaseChannel.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|804|0xbf
0|18|xul.dll|nsInputStreamPump::OnStateStart()|hg:hg.mozilla.org/mozilla-central:netwerk/base/nsInputStreamPump.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|504|0x178
0|19|xul.dll|nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*)|hg:hg.mozilla.org/mozilla-central:netwerk/base/nsInputStreamPump.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|409|0x116
0|20|xul.dll|mozilla::NonBlockingAsyncInputStream::RunAsyncWaitCallback(mozilla::NonBlockingAsyncInputStream::AsyncWaitRunnable*, already_AddRefed<nsIInputStreamCallback>)|hg:hg.mozilla.org/mozilla-central:xpcom/io/NonBlockingAsyncInputStream.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|385|0xbf
0|21|xul.dll|mozilla::NonBlockingAsyncInputStream::AsyncWaitRunnable::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/io/NonBlockingAsyncInputStream.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|33|0x42
0|22|xul.dll|mozilla::RunnableTask::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|578|0x1b
0|23|xul.dll|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|905|0xa9b
0|24|xul.dll|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|728|0x56
0|25|xul.dll|mozilla::TaskController::ProcessPendingMTTask(bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|514|0x51
0|26|xul.dll|mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:232:7'>::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|548|0x13
0|27|xul.dll|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|1199|0x772
0|28|xul.dll|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|480|0x41
0|29|xul.dll|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|85|0xc4
0|30|xul.dll|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|370|0x82
0|31|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|363|0x72
0|32|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|345|0x55
0|33|xul.dll|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|148|0x24
0|34|xul.dll|nsAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/windows/nsAppShell.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|822|0x15e
0|35|xul.dll|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|721|0x60
0|36|xul.dll|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|235|0x37
0|37|xul.dll|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|370|0x82
0|38|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|363|0x72
0|39|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|345|0x55
0|40|xul.dll|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|656|0x841
0|41|xul.dll|mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/Bootstrap.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|67|0x10
0|42|firefox.exe|NS_internal_main(int, char**, char**)|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|375|0x293
0|43|firefox.exe|wmain(int, wchar_t**)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsWindowsWMain.cpp:a412d893c38f632f34b44a9c5b3fd8cc30bb87be|151|0x1d4
0|44|firefox.exe|__scrt_common_main_seh()|/builds/worker/workspace/obj-build/browser/app/D:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl|288|0xf9
0|45|kernel32.dll||||
0|46|ntdll.dll||||
0|47|ntdll.dll||||
Updated•5 months ago
|
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Hi, I am unable to reproduce this issue. Could you please check if you are still able to reproduce this issue ?
Reporter | ||
Comment 2•2 months ago
|
||
I am unable to reproduce the issue.
The issue has been reported 8x between 2023-12-15 and 2024-03-18. All reports were from the same site. I am also unable to reproduce the issue with a build from when this issue was detected, so I'm guessing the site changed and the issue is still present.
Assignee | ||
Comment 3•1 month ago
|
||
I will currently close this as Works for me as there is currently no way to reproduce this issue so it would not be possible to address. We can reopen this bug if we can find a way to reproduce this
Comment 4•1 month ago
|
||
Is this a production occurrence of Bug 1898478? If we see it "in the wild" it should probably be prioritized and not closed.
Assignee | ||
Comment 5•1 month ago
|
||
I am not entirely sure but I think this assertion failure happened on Desktop and Bug 1898478 is an Android specific issue. Also currently, we have no way to reproduce this bug so I would be unsure on how to solve it
Comment 6•1 month ago
|
||
Given that this is not reproducible anymore on the site, we cannot verify if we have fixed the issue. Also, We cannot ensure that Bug 1898478 is the same issue. So, I am in favor of closing this bug and moving to fix the assertion failure in Bug 1898478.
Description
•