Open Bug 1949560 Opened 1 month ago Updated 25 days ago

Crash in [@ MacIOSurface::Lock] via CanvasTranslator

Categories

(Core :: Graphics: Canvas2D, defect)

Unspecified
macOS
defect

Tracking

()

People

(Reporter: aosmond, Unassigned)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/4b91c24e-5345-4db1-afe1-532cc0250212

MOZ_CRASH Reason:

MOZ_RELEASE_ASSERT(!mIsLocked) (double MacIOSurface lock)

Top 10 frames:

0  XUL  MacIOSurface::Lock(bool)  gfx/2d/MacIOSurface.cpp:398
1  XUL  mozilla::layers::CreateSourceSurfaceFromMacIOSurface(MacIOSurface*, mozilla::...  gfx/layers/MacIOSurfaceHelpers.cpp:161
2  XUL  mozilla::layers::MacIOSurfaceTextureHostOGL::GetAsSurface(mozilla::gfx::DataS...  gfx/layers/opengl/MacIOSurfaceTextureHostOGL.h:42
3  XUL  mozilla::layers::CanvasTranslator::MaybeRecycleDataSurfaceForSurfaceDescripto...  gfx/layers/ipc/CanvasTranslator.cpp:0
4  XUL  mozilla::layers::CanvasTranslator::LookupSourceSurfaceFromSurfaceDescriptor(m...  mfbt/RefPtr.h:0
5  XUL  mozilla::gfx::RecordedDrawSurfaceDescriptor::PlayEvent(mozilla::gfx::Translat...  gfx/2d/RecordedEventImpl.h:3236
6  XUL  std::__1::__function::__value_func<bool (mozilla::gfx::RecordedEvent*)>::oper...  /builds/worker/fetches/MacOSX14.4.sdk/usr/include/c++/v1/__functional/function.h:518
6  XUL  std::__1::function<bool (mozilla::gfx::RecordedEvent*)>::operator()(mozilla::...  /builds/worker/fetches/MacOSX14.4.sdk/usr/include/c++/v1/__functional/function.h:1169
6  XUL  mozilla::gfx::RecordedEvent::DoWithEvent<mozilla::gfx::MemReader>(mozilla::gf...  gfx/2d/RecordedEventImpl.h:4577
7  XUL  mozilla::gfx::RecordedEvent::DoWithEventFromReader(mozilla::gfx::MemReader&, ...  gfx/2d/RecordedEvent.cpp:32

I'm not sure if the surface is locked because it is use by the display pipeline, or if we are writing to it. Presumably something tried to draw to the canvas using a video element however.

Severity: -- → S3
Summary: Crash in [@ MacIOSurface::Lock] → Crash in [@ MacIOSurface::Lock] via CanvasTranslator
You need to log in before you can comment on or make changes to this bug.