Open Bug 1871890 Opened 5 months ago Updated 2 months ago

Crash in [@ mozilla::Variant<T>::as]

Categories

(Core :: Graphics, defect, P3)

Other
Windows
defect

Tracking

()

Tracking Status
firefox123 --- affected

People

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

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/bda9b00b-21f2-4e9a-ac88-300f20231225

MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(is<T>())

Top 10 frames of crashing thread:

0  xul.dll  mozilla::Variant<mozilla::layers::AnimationTransform, float, unsigned int>::as  mfbt/Variant.h:755
0  xul.dll  mozilla::layers::AnimatedValue::SetColor  gfx/layers/CompositorAnimationStorage.h:82
0  xul.dll  mozilla::layers::CompositorAnimationStorage::SetAnimatedValue  gfx/layers/CompositorAnimationStorage.cpp:146
1  xul.dll  mozilla::layers::CompositorAnimationStorage::SampleAnimations::<lambda_0>::operator const  gfx/layers/CompositorAnimationStorage.cpp:330
2  xul.dll  mozilla::layers::APZCTreeManager::CallWithMapLock  gfx/layers/apz/src/APZCTreeManager.h:638
2  xul.dll  mozilla::layers::APZSampler::CallWithMapLock  gfx/layers/apz/public/APZSampler.h:115
2  xul.dll  mozilla::layers::CompositorAnimationStorage::SampleAnimations  gfx/layers/CompositorAnimationStorage.cpp:386
3  xul.dll  mozilla::layers::OMTASampler::SampleAnimations  gfx/layers/wr/OMTASampler.cpp:128
3  xul.dll  mozilla::layers::OMTASampler::Sample  gfx/layers/wr/OMTASampler.cpp:115
3  xul.dll  mozilla::layers::OMTASampler::Sample  gfx/layers/wr/OMTASampler.cpp:68

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

  • First crash report: 2023-10-26
  • Process type: Multiple distinct types
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: No

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

Component: General → Graphics: WebRender

Occasional crash, but MOZ_RELEASE_ASSERT isn't dangerous.
I forget who APZ is these days, but Boris shows up in recent commits for this file so let's start with Boris!
S3 so waiting until Boris's Jan15 return should be fine.

Severity: -- → S3
Flags: needinfo?(boris.chiou)
Priority: -- → P3
Component: Graphics: WebRender → Graphics

I suspect this might be an issue for IPC and serialization/de-serialization? It's unlikely to get a wrong type on the compositor. Not good idea for now.

Flags: needinfo?(boris.chiou)
You need to log in before you can comment on or make changes to this bug.