GNOME Bugzilla – Bug 796695
Pango-CRITICAL with subtitle markup error
Last modified: 2018-07-02 10:26:31 UTC
This file https://mega.nz/#!ozQSkCKL!vJT9OJ1VDo-CBcx4Yq3foFCJKhUTGXyozHKnDCcWFrw with markup error in subtitles produces Pango-CRITICAL **: pango_attr_list_filter: assertion 'list != NULL' failed On system with enable_debug=no in pango the program crashes with segfault.
Looks like a dupe of https://bugzilla.gnome.org/show_bug.cgi?id=795891
In addition to that warning I also get this one: Pango-WARNING **: 19:01:38.891: pango_layout_set_markup_with_accel: Error on line 1 char 69: Element 'markup' was closed, but the currently open element is 'i'
(In reply to Philippe Normand from comment #2) > In addition to that warning I also get this one: > > Pango-WARNING **: 19:01:38.891: pango_layout_set_markup_with_accel: Error > on line 1 char 69: Element 'markup' was closed, but the currently open > element is 'i' You are right. There is a error in subtitle markup. There is a text <i>..Jihozápadní vítr, občasné přehánky...<i> Instead of </i> there is <i> on the end. With this error, GStreamer segfaults with pango configured with --enable_debug=no
User input should never cause criticals or crashes, so we need to do some validation here.
The patches in https://bugzilla.gnome.org/show_bug.cgi?id=795891 fix the issue for me... If you'd like to test them as well :)
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 795891 ***