Open Bug 1864306 Opened 7 months ago Updated 7 months ago

Crash in [@ DMABufSurfaceYUV::ReleaseTextures]

Categories

(Core :: Widget: Gtk, defect)

Other
Linux
defect

Tracking

()

Tracking Status
firefox121 --- affected

People

(Reporter: release-mgmt-account-bot, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/d7ccaf8a-136a-411f-9f4e-de8200231109

MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(mGL) (Missing GL context!)

Top 10 frames of crashing thread:

0  libxul.so  DMABufSurfaceYUV::ReleaseTextures  widget/gtk/DMABufSurface.cpp:1523
1  libxul.so  DMABufSurfaceYUV::ReleaseSurface  widget/gtk/DMABufSurface.cpp:1597
2  libxul.so  mozilla::VideoFrameSurface<46465650>::ReleaseVAAPIData  dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp:113
3  libxul.so  mozilla::VideoFrameSurface<46465650>::~VideoFrameSurface  dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp:62
4  libxul.so  mozilla::VideoFrameSurface<46465650>::~VideoFrameSurface  dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp:56
5  libxul.so  mozilla::VideoFrameSurface<46465650>::Release  dom/media/platforms/ffmpeg/FFmpegVideoFramePool.h:64
5  libxul.so  mozilla::RefPtrTraits<mozilla::VideoFrameSurface<46465650> >::Release  mfbt/RefPtr.h:54
5  libxul.so  RefPtr<mozilla::VideoFrameSurface<46465650> >::ConstRemovingRefPtrTraits<mozilla::VideoFrameSurface<46465650> >::Release  mfbt/RefPtr.h:420
5  libxul.so  RefPtr<mozilla::VideoFrameSurface<46465650> >::~RefPtr  mfbt/RefPtr.h:85
5  libxul.so  nsTArrayElementTraits<RefPtr<mozilla::VideoFrameSurface<46465650> > >::Destruct  xpcom/ds/nsTArray.h:654

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2023-09-15
  • Process type: RDD
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: Yes - all crashes happened on null or near null memory address

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Widget: Gtk

This looks like a valid issue, albeit a low-volume one. The raw crash reason here is always Missing GL context! and the affected versions of Mesa range from 21.2.6.0 to 23.2.1.0. I vaguely remember that we addressed an issue with missing GL contexts recently but I don't remember which one.

It's from ProcessShutdown() on RDD process.

You need to log in before you can comment on or make changes to this bug.