vc1dec.c multi-threading decode crash issue
|Reported by:||DonMoir||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
In vc1_decode_frame there is:
ff_vc1_decode_init_alloc_tables(v) < 0)
If this entire statement is not locked down in a multi-threaded multi-video environment, then crash and burn.
No way I know of to reproduce crash using ffmpeg command line tools.
The way I produce crash is to pump more than one WMV3 files at ffmpeg simultaneously. Multiple instances of a file are using for playback, thumbnails, and other things. Then when calling avcodec_decode_video2 you will get spurious crashes depending on the current state of things.
All other file formats I have tested seem to be ok. Just any format that makes use of vc1_decode_frame is suspect.
The file I used for testing is located here: (283 MB)
Change History (40)
comment:20 by , 11 years ago
|Analyzed by developer:||set|
|Reproduced by developer:||set|
|Status:||closed → reopened|
comment:38 by , 10 years ago
|Analyzed by developer:||unset|
|Reproduced by developer:||unset|
|Resolution:||fixed → invalid|