Closed Bug 1984088 Opened 4 months ago Closed 4 months ago

Crash in [@ mozilla::Maybe<T>::value | mozilla::places::AsyncGetFaviconForPageRunnable::Run::<T>::operator()]

Categories

(Toolkit :: Places, defect, P1)

Unspecified
Windows 11
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox142 --- unaffected
firefox143 --- fixed
firefox144 --- fixed

People

(Reporter: dmeehan, Assigned: mak)

References

(Regression)

Details

(Keywords: crash, regression, Whiteboard: [sng])

Crash Data

Attachments

(2 files)

Crash report: https://crash-stats.mozilla.org/report/index/1f38b1e9-007b-47a4-8201-d26180250820

MOZ_CRASH Reason:

MOZ_RELEASE_ASSERT(isSome())

Top 10 frames:

0  xul.dll  mozilla::Maybe<mozilla::places::ConcurrentConnection*>::value() const  mfbt/Maybe.h:924
0  xul.dll  mozilla::places::AsyncGetFaviconForPageRunnable::Run::<lambda_9>::operator()(...  toolkit/components/places/FaviconHelpers.cpp:933
0  xul.dll  mozilla::places::AsyncGetFaviconForPageRunnable::Run()  toolkit/components/places/FaviconHelpers.cpp:925
1  xul.dll  nsThread::ProcessNextEvent(bool, bool*)  xpcom/threads/nsThread.cpp:1153
1  xul.dll  NS_ProcessNextEvent(nsIThread*, bool)  xpcom/threads/nsThreadUtils.cpp:480
2  xul.dll  mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)  ipc/glue/MessagePump.cpp:299
3  xul.dll  MessageLoop::RunInternal()  ipc/chromium/src/base/message_loop.cc:374
3  xul.dll  MessageLoop::RunHandler()  ipc/chromium/src/base/message_loop.cc:367
4  xul.dll  MessageLoop::Run()  ipc/chromium/src/base/message_loop.cc:349
4  xul.dll  nsThread::ThreadFunc(void*)  xpcom/threads/nsThread.cpp:366

:mak, Bug 599980 looks like a regressor here.
Bug 1980992 is possibly related, added to the see also.

Flags: needinfo?(mak)

We are doing a null check here, but we're not properly handling Maybe, before extracting a value we must check if it contains something.

Assignee: nobody → mak
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(mak)
Priority: -- → P1
Whiteboard: [sng]

The patch is pending review, but adding a reminder that next week is the final week of beta for Fx143.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Attachment #9510022 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: crash
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: not easily testable
  • Risk associated with taking this patch: low
  • Explanation of risk level: added value validity check, small change
  • String changes made/needed: no
  • Is Android affected?: no
Attachment #9510022 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: