Created attachment 630320 [details]
logcat of gecko crash
I was experimenting with h264 playback.
Upon attempting to play gizmo the second time gecko crashes and restarts.
I am unsure why we are getting into this state. It doesn't happen with a simple page that just loads a video tag. However the crash does seem to happen inside the new code, so maybe it is worth a look.
Attached is the logcat.
It happens most often when you play a video on a page, then navigate (or refresh) to another page with a video and play that. Do it a couple of times and then it crashes.
Created attachment 630820 [details] [diff] [review]
Crash is caused by an assertion on codec destruction that checks if the codec has been stopped. Fix was to stop codecs in destructor of plugin.
Verified Samsung II running B2G