[FFmpeg-trac] #8669(avcodec:new): Data race in mpegvideo.c and mpeg4video.h
FFmpeg
trac at avcodec.org
Sun May 24 20:08:30 EEST 2020
#8669: Data race in mpegvideo.c and mpeg4video.h
------------------------------------+-----------------------------------
Reporter: Zu-Ming | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: race | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Zu-Ming):
Replying to [comment:2 cehoyos]:
> How did you reproduce the issue an how can we reproduce it?
I reproduce it using breakpoint. Specifically, I used llvm to instrument
the code, and set breakpoint before the race instruction pair. By
controling the breakpoints, I made the race instructions be executing
concurrently. And then, I checked their access addresses and found they
are same. So I am sure it is a real race .
It may be hard for you to reproduce it easily. Gdb may be a good choice
but it may require some your manual effort to set the breakpoint.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8669#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list