GNOME Bugzilla – Bug 731224
Crash in can_remove if g_uri_parse_scheme fails
Last modified: 2014-06-04 18:24:09 UTC
Totem is reliably segfaulting for me when I select the Euronews channel. ==============
+ Trace 233661
============== From a quick check, other (segfault-free) channels don't have the "UNAVAILABLE" stuff: Breakpoint 1, can_remove (source=0x1372390 [GrlLuaFactorySource], media=0xcd3900 [GrlMediaVideo]) at totem-grilo.c:340 340 scheme = g_uri_parse_scheme (url); (gdb) print url $1 = 0xff1440 "UNAVAILABLEUNAVAILABLE playpath=UNAVAILABLE swfVfy=1 swfUrl=http://euronews.com/media/player_live_1_14.swf live=1"
Created attachment 277888 [details] [review] lua-factory: Fix broken URLs for Euronews outside Europe From some locations, Euronews will not make all of its streams available. This ensures that we filter out the streams that aren't available.
I fixed the crash, but the source shouldn't give out those broken URLs: commit aa00571190e1d8d7d4d379835e44b6b55a4c1b31 Author: Bastien Nocera <hadess@hadess.net> Date: Wed Jun 4 18:33:36 2014 +0200 main: Fix crash when browsing Euronews source In some locations, because the Euronews source would give out broken URIs such as: UNAVAILABLEUNAVAILABLE playpath=UNAVAILABLE swfVfy=1 swfUrl=http://euronews.com/media/player_live_1_14.swf live=1 https://bugzilla.gnome.org/show_bug.cgi?id=731224
Can you please test the attached patch against grilo-plugins? Applying it to: /usr/share/grilo-plugins/grl-lua-factory/grl-euronews.lua should be enough to test this if you don't want to rebuild the whole thing.
(In reply to comment #3) > Can you please test the attached patch against grilo-plugins? Applying it to: > /usr/share/grilo-plugins/grl-lua-factory/grl-euronews.lua > should be enough to test this if you don't want to rebuild the whole thing. Yup, that works: No crash and I have access to Euronews Persian. :)
(In reply to comment #4) > (In reply to comment #3) > > Can you please test the attached patch against grilo-plugins? Applying it to: > > /usr/share/grilo-plugins/grl-lua-factory/grl-euronews.lua > > should be enough to test this if you don't want to rebuild the whole thing. > > Yup, that works: No crash and I have access to Euronews Persian. :) Geoblocking :/
Attachment 277888 [details] pushed as 15443d2 - lua-factory: Fix broken URLs for Euronews outside Europe