Closed Bug 1853259 Opened 8 months ago Closed 4 months ago

[AMD] Crash in [@ util_set_thread_affinity] via FFmpegVideoDecoder

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox119 --- disabled

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/23302765-ee5c-4e1a-a692-c53d40230914

Reason: SIGSEGV / SEGV_MAPERR

Top 10 frames of crashing thread:

0  libgallium_drv_video.so  util_set_thread_affinity  src/util/u_thread.c:124
1  libgallium_dri.so  radeonsi_screen_create_impl  src/gallium/drivers/radeonsi/si_pipe.c:1140
2  libgallium_drv_video.so  amdgpu_winsys_create  src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:579
3  libgallium_dri.so  radeonsi_screen_create  src/gallium/drivers/radeonsi/si_pipe.c:1494
4  libgallium_dri.so  pipe_radeonsi_create_screen  src/gallium/auxiliary/target-helpers/drm_helper.h:222
5  libgallium_dri.so  pipe_loader_create_screen_vk  src/gallium/auxiliary/pipe-loader/pipe_loader.c:179
6  libgallium_dri.so  dri2_init_screen  src/gallium/frontends/dri/dri2.c:2289
7  libgallium_dri.so  driCreateNewScreen2  src/gallium/frontends/dri/dri_util.c:139
8  libEGL_mesa.so.0  dri2_create_screen  src/egl/drivers/dri2/egl_dri2.c:1005
9  libEGL_mesa.so.0  dri2_initialize_device  src/egl/drivers/dri2/platform_device.c:378

Lots of crashes, from only a few installs.

FFmpegVideoDecoder is calling into ClaimSnapshotGLContext() is calling into GLLibraryEGL::fInitialize() is calling into a graphics driver. Maybe it isn't okay to call into this driver code from the media decoder thread?

Yeah, these are all from one graphics card and one particular distro, so I think it is one person who is crashing a lot.

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 desktop browser crashes on nightly

For more information, please visit BugBot documentation.

Keywords: topcrash

Comes from VA-API playback. But it's AMD device where VA-API is disabled by default so it's user pref.

Summary: Crash in [@ util_set_thread_affinity] via FFmpegVideoDecoder → [AMD] Crash in [@ util_set_thread_affinity] via FFmpegVideoDecoder
Severity: -- → S3
Priority: -- → P3

Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.

For more information, please visit BugBot documentation.

Keywords: topcrash

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.