id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1876,vc1dec.c multi-threading decode crash issue,DonMoir,,"In vc1_decode_frame there is:

if (ff_msmpeg4_decode_init(avctx) < 0 ||
  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)

http://sms.pangolin.com/temp/WMV3_vc1_decode_frame_crash.wmv
",defect,closed,important,avcodec,unspecified,invalid,vc1 crash,onemda@…,,,1,1
