Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 377255

Summary: stabilize =media-libs/libass-0.9.13 (was: media-libs/freetype-2.4.6 causes crashes when playing media with styled subs with <media-libs/libass-0.9.13)
Product: Gentoo Linux Reporter: Mike MacDonald <crazymykl>
Component: [OLD] Keywording and StabilizationAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: enhancement CC: anton0xf, fonts, Letto2, luke-jr+gentoobugs, nbowler, O01eg, ojio, pinkbyte, shinydoofy
Priority: Normal Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377143    
Attachments: backported patch

Description Mike MacDonald 2011-08-01 10:20:52 UTC
=freetype-2.4.6 causes crashes when playing media in multiple players (mplayer, mplayer2, vlc) with styled subs with <libass-0.9.13.

This issue is known to libass upstream.

As freetype-2.4.6 is in unstable, this issue potentially effects a lot of users.

Reproducible: Always

Steps to Reproduce:
1. open a media file in mplayer or vlc with styled subs
2. wait until some fancy sub shows up (e. g. karaoke)

Actual Results:  
player crashes with SIGSEGV.

Expected Results:  
Normal Playback.

This happens with any player that uses libass for styled subs. Bumping libass to >=0.9.13 fixes the issue. (Simply renaming the ebuild is sufficient.)
Comment 1 Rafał Mużyło 2011-08-01 11:35:20 UTC
*** Bug 377219 has been marked as a duplicate of this bug. ***
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-08-02 23:56:53 UTC
Is there a bug report or mailing list thread referring to this.  Maybe we can backport a patch.
Comment 3 Rafał Mużyło 2011-08-05 02:28:54 UTC
http://code.google.com/p/libass/source/detail?r=0b709a5df697b36a24e4456b24585ec8f0c54b63

Is above enough ?
Though a stable request (as it's in the tree now) would still be more simple.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-08-05 03:38:12 UTC
Cool, thanks.  We'll let media-video decide which is best.
Comment 5 Luke-Jr 2011-08-14 04:50:09 UTC
This now affects Gentoo x86 stable.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 01:55:46 UTC
*** Bug 379125 has been marked as a duplicate of this bug. ***
Comment 7 Mikael Magnusson 2011-08-23 00:00:47 UTC
Created attachment 284279 [details, diff]
backported patch

I backported that commit to mplayer-svn a while ago, seems to work fine.
Comment 8 Oleg 2011-08-28 08:51:24 UTC
Freetype-2.4.6 doesn't check border->start in ft_stroke_border_close (in src/basr/ftstroke.c:347) and when it equal -1 crashes cause.

Is it possible to stabilize >=libass-0.9.13 or patch freetype-2.4.6?
Comment 9 Rafał Mużyło 2011-09-10 16:17:51 UTC
*** Bug 382505 has been marked as a duplicate of this bug. ***
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2011-09-11 13:00:50 UTC
freetype is stable and this bug affects stable. Arch teams, let's stabilize =libass-0.9.13. The only reported regression (bug #378951) is not worth to wait any longer (also actually it's not very clear that it is regression or bug in libass).
Comment 11 Agostino Sarubbo gentoo-dev 2011-09-11 14:53:55 UTC
amd64 ok
Comment 12 Jeff (JD) Horelick (RETIRED) gentoo-dev 2011-09-11 20:58:12 UTC
Archtested on x86: Everything fine
Comment 13 Andreas Schürch gentoo-dev 2011-09-14 12:03:16 UTC
x86 stable, thanks JD!
Comment 14 Ian Delaney (RETIRED) gentoo-dev 2011-09-16 15:09:17 UTC
amd64 ok
Comment 15 Markus Meier gentoo-dev 2011-09-18 16:39:03 UTC
arm stable
Comment 16 Tony Vroon (RETIRED) gentoo-dev 2011-09-20 13:08:24 UTC
+  20 Sep 2011; Tony Vroon <chainsaw@gentoo.org> libass-0.9.13.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
+  "idella4" Delaney in bug #377255.
Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2011-10-09 16:32:08 UTC
alpha/ia64/sparc stable
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-19 11:33:24 UTC
Stable for HPPA.
Comment 19 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-11-20 10:30:28 UTC
ppc/ppc64 stable, last arch closing