GNOME Bugzilla – Bug 796745
dashdemux: Crash playing DASH URL
Last modified: 2018-08-16 20:22:33 UTC
gst-play and totem both crash with that URL: http://san-dfw-ote-vorigin-01.quickplay.com/Content/DASH_dash.00/Live/channel(AUDHD-3304.dfw-ote.720)/manifest_mobile.mpd Before crashing there are many criticals, I guess the first one is where the problem start, so here is the backtrace with G_DEBUG=fatal-warnings: ** (gst-play-1.0:13181): CRITICAL **: 15:35:03.187: gst_adapter_available: assertion 'GST_IS_ADAPTER (adapter)' failed Thread 15 "queue4:src" received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 238657
Thread 140736649475840 (LWP 13198)
And here with actual debug symbols. Problem is that the dash_stream->adapter is NULL
+ Trace 238658
I've done a quick test simply creating the adapter in that function and it worked. I guess the right fix is to understand the logic for creating or not this adapter, and fix it, the lazy fix would be to always create it.
Created attachment 373364 [details] [review] dashdemux: Always create the adapter Worst case it will be empty. This fixes a crash when the base class calls data_received() when the stream is neither is_isobmff or has_isoff_ondemand_profile.
+1
Attachment 373364 [details] pushed as 694d9dc - dashdemux: Always create the adapter
Also in 1.14 8c49fbcac0b03860a20286a0813b7b63d15172c4