Closed Bug 1649340 Opened 4 years ago Closed 4 years ago

Assertion failure: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at extensions/permissions/PermissionManager.cpp:2906

Categories

(Core :: Permission Manager, defect)

x86_64
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1648134
Tracking Status
firefox80 --- fixed

People

(Reporter: masayuki, Unassigned)

Details

(Keywords: regression)

I'm not sure when this starts, I cannot run debug build with my profile for debug. After launching debug build and try to do something in web content with pointing device, the parent process is crashed with the following output in the terminal:

Assertion failure: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))), at extensions/permissions/PermissionManager.cpp:2906
[Child 16756, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file extensions/permissions/PermissionDelegateHandler.cpp, line 351
#01: NS_ProcessNextEvent (xpcom\threads\nsThreadUtils.cpp:504)
#02: mozilla::ipc::MessagePumpForNonMainThreads::Run (ipc\glue\MessagePump.cpp:332)
#03: MessageLoop::RunHandler (ipc\chromium\src\base\message_loop.cc:310)
#04: MessageLoop::Run (ipc\chromium\src\base\message_loop.cc:292)
#05: nsThread::ThreadFunc (xpcom\threads\nsThread.cpp:449)
#06: _PR_NativeRunThread (nsprpub\pr\src\threads\combined\pruthr.c:408)
#07: pr_root (nsprpub\pr\src\md\windows\w95thred.c:140)
#08: beginthreadex[C:\WINDOWS\System32\ucrtbase.dll +0x20e82]
#09: BaseThreadInitThunk[C:\WINDOWS\System32\KERNEL32.DLL +0x17bd4]
#10: RtlUserThreadStart[C:\WINDOWS\SYSTEM32\ntdll.dll +0x6ce51]
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=236.346) [GFX1-]: Receive IPC close with reason=AbnormalShutdown

https://searchfox.org/mozilla-central/source/extensions/permissions/PermissionManager.cpp#2906

Even with 2 weeks ago, I hit this assertion. This might not be a recent regression. I'll check which addon causes this.

Oddly, I couldn't prevent hitting assertion even with disabling all addons, but refreshing the profile and restoring settings as far as possible never hits the assertion. Anyway, I feel the assertion should be NS_ASSERTION or something rather than MOZ_ASSERT.

Flags: needinfo?(amarchesini)
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.