Opened 3 months ago
Last modified 2 months ago
#11221 open defect
TSAN reported races
Reported by: | Clément Bœsch | Owned by: | elenril |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | race tsan |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
TSAN reports a few race instances: https://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-tsan&time=20241002095506
Most of them seem to happen in padding_bug_score
in h263 decoder and gray
/non_gray
in h264 decoder. There are a few others (for example h264 slice_table
also seems affected) but these two are the main contenders.
With slice threading, HEVC seems to show up as well: https://fate.ffmpeg.org/report.cgi?time=20241002101743&slot=x86_64-archlinux-gcc-tsan-slices
This HEVC slice threading issue seems to be the cause of actual deadlocks, even without TSAN: https://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-threads-misc&time=20241001152120
Change History (2)
comment:1 by , 3 months ago
Owner: | set to |
---|---|
Reproduced by developer: | set |
Status: | new → open |
HEVC slice threading issues should be fixed in 79c47dfd25f101b6842bbec8c6ffef8d5077c3ae