GNOME Bugzilla – Bug 777530
decodebin3: Fix crash caused by slot double freeing
Last modified: 2017-01-31 16:18:58 UTC
Probe for MultiQueue source pad might receive EOS twice, the first is fake-eos and the other is actual EOS. And the slot can be freed with fake-eos/EOS if the slot has no input. Since slot freeing is async, double free can be possible. So, decodebin3 needs to remove the probe also with slot freeing.
Created attachment 343893 [details] [review] decodebin3: Fix crash caused by slot double freeing
Created attachment 343895 [details] [review] decodebin3: Fix crash caused by slot double freeing
commit 6b5617c2a72a4a48fdccfe5dfcce3fa56a9ca738 Author: Seungha Yang <sh.yang@lge.com> Date: Fri Jan 20 19:49:46 2017 +0900 decodebin3: Fix crash caused by slot double freeing Probe for MultiQueue source pad might receive EOS twice, the first is fake-eos and the other is actual EOS. And the slot can be freed with fake-eos/EOS if the slot has no input. Since slot freeing is async, double free can be possible. So, decodebin3 needs to remove the probe also with slot freeing. https://bugzilla.gnome.org/show_bug.cgi?id=777530