Closed Bug 1141816 Opened 8 years ago Closed 8 years ago

races with setting WMFMediaDataDecoder::mDecoder

Categories

(Core :: Audio/Video, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: karlt, Unassigned)

Details

WMFMediaDataDecoder::mDecoder is a RefPtr<MFTDecoder> set on the XP "Decode" task queue in AllocateMediaResources(), possibly while being cleared on the platform decoder task queue in ProcessReleaseDecoder() after ReleaseMediaResources().

This might cause bugs like bug 1139503, but dormant handling is disabled on beta/37 (bug 1130311), which is meant to mean that AllocateMediaResources() is not used on that branch.
The same race means that an AllocateMediaResources() after ReleaseMediaResources() can result in WMFVideoMFTManager Init() before Shutdown(), which would cause problems like bug 1142527.
Blocks: 1142527
Sorry, the analysis here is wrong.
I missed the sync dispatch in FlushAndDispatch()
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
No longer blocks: 1142527, 1123535, 1139503
Group: core-security
You need to log in before you can comment on or make changes to this bug.