[MPlayer-users] Mplayer crashes when rendering subs on Fedora 16

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Thu Nov 10 22:48:01 CET 2011


Hello everybody.

After updating to Fedora 16 and rebuilding latest svn mplayer I get
crashes on some videos subtitles that worked before. Crash happens when
ass sub is about to render and happens in freetype (which was updated,
too). I wonder if this likely to be bug in mplayer or freetype and where
should i report it?

Mplayer is built with latest distribution-supplied
libass-0.9.12-1.fc16.x86_64. Freetype version is
freetype-2.4.6-3.fc16.x86_64

Crash happens regardless of -vf ass filter is used or not, and with
various vo's. Mplayer indicates that it happens in "filter video".

Mplayer from rpmforge, mplayer-1.0-0.126.20110816svn.fc16.x86_64 also
crashes the same way.

Some other videos are working just fine, and this video actually can
render some subtitles; there is no obvious difference between one that
cause crash and ones that don't. In the end there is two-line file,
first line renders just fine but second always crashes.

Here is backtrace from gdb, I can post some additional info if
developers think that it's mplayer problem:


$ gdb ~/Software/bin/mplayer
GNU gdb (GDB) Fedora (7.3.50.20110722-9.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/mosgalin/Software/bin/mplayer...done.
(gdb) set args \[Kira-Fansub\]\ Uchuu\ no\ Stellvia\ ep\ 08\ \(BD\ H264\ 1280x960\ 24fps\ AAC\)\ \[357B26A4\].mkv
(gdb) r
Starting program: /home/mosgalin/Software/bin/mplayer \[Kira-Fansub\]\ Uchuu\ no\ Stellvia\ ep\ 08\ \(BD\ H264\ 1280x960\ 24fps\ AAC\)\ \[357B26A4\].mkv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
MPlayer SVN-r34338-4.6.2 (C) 2000-2011 MPlayer Team

Воспроизведение [Kira-Fansub] Uchuu no Stellvia ep 08 (BD H264 1280x960 24fps AAC) [357B26A4].mkv.
Detaching after fork from child process 23393.
Заполнение кэша:  0.00% (0 байт(а))   

Обнаружен libavformat формат файла!
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang jpn
[lavf] stream 2: subtitle (ass), -sid 0
VIDEO:  [H264]  1280x960  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Открываю видео фильтр: [ass auto=1]
Не могу открыть видео фильтр 'ass'.
ASS: cannot add video filter
Открываю видео фильтр: [noise=10uah:5uah]
Открываю видео фильтр: [pp=al]
Открываю видео фильтр: [hqdn3d]
Открываю видео фильтр: [pp7]
==========================================================================
Попытка форсировать семейство видеокодеков ffmpeg...
Открываю декодер видео: [ffmpeg] FFmpeg's libavcodec codec family
[New Thread 0x7fffebebb700 (LWP 23394)]
[New Thread 0x7fffeb6ba700 (LWP 23395)]
[New Thread 0x7fffeaeb9700 (LWP 23396)]
[New Thread 0x7fffea6b8700 (LWP 23397)]
Выбран видеокодек: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Попытка форсировать семейство аудиокодеков libmad...
Открываю декодер аудио: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Выбран аудиокодек: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[New Thread 0x7fffe5eb6700 (LWP 23398)]
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Начало воспроизведения...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 86
[PP] Использую внешний фильтр постобработки, max q = 6.
Movie-Aspect - 1.33:1 - выполняю предварительное масштабирование
для коррекции соотношения сторон фильма.
VO: [gl] 1280x960 => 1664x1248 Planar YV12  [zoom]
A: 603.5 V: 603.4 A-V:  0.091 ct:  0.047   0/  0 ??% ??% ??,?% 0 0 99% 
Program received signal SIGSEGV, Segmentation fault.
0x0000003051e1c37c in ft_stroke_border_close (border=0x1cd7ba0, reverse=0 '\000')
    at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:364
364       border->points[start] = border->points[count];
Missing separate debuginfos, use: debuginfo-install a52dec-0.7.4-15.fc11.x86_64 aalib-libs-1.4.0-0.19.rc5.fc15.x86_64 alsa-lib-1.0.24-2.fc15.x86_64 bzip2-libs-1.0.6-3.fc15.x86_64 cdparanoia-libs-10.2-10.fc15.x86_64 dirac-libs-1.0.2-6.fc16.x86_64 enca-1.13-2.fc15.x86_64 expat-2.0.1-11.fc15.x86_64 faac-1.28-2.fc12.x86_64 faad2-libs-2.7-1.fc11.x86_64 flac-1.2.1-6.fc12.x86_64 freeglut-2.6.0-6.fc15.x86_64 fribidi-0.19.2-3.fc15.x86_64 giflib-4.1.6-4.fc15.x86_64 gnutls-2.12.7-2.fc16.x86_64 gpm-libs-1.20.6-18.fc16.x86_64 gsm-1.0.13-2.fc12.x86_64 jack-audio-connection-kit-1.9.7-2.fc16.x86_64 lame-libs-3.98.4-1.fc14.x86_64 lcms-libs-1.19-4.fc16.x86_64 libXScrnSaver-1.2.1-2.fc15.x86_64 libXcursor-1.1.11-3.fc15.x86_64 libXi-1.4.3-3.fc16.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libXrender-0.9.6-2.fc15.x86_64 libXtst-1.2.0-2.fc15.x86_64 libXv-1.0.6-2.fc15.x86_64 libass-0.9.12-1.fc16.x86_64 libasyncns-0.8-2.fc15.x86_64 libbluray-0.2-0.5.20110710git51d7d60a96d06.fc16.x86_64 libbs2b-3.1.0-3.fc15.x86_64 libcaca-0.99-0.12.beta17.fc16.x86_64 libdca-0.0.5-5.fc12.x86_64 libdv-1.0.0-11.fc16.x86_64 libdvdnav-4.1.4-0.3.svn1226.fc16.x86_64 libdvdread-4.1.4-0.4.svn1226.fc16.x86_64 libffi-3.0.10-1.fc16.x86_64 libgcrypt-1.5.0-2.fc16.x86_64 libgpg-error-1.10-1.fc16.x86_64 libmad-0.15.1b-13.fc12.x86_64 libmng-1.0.10-5.fc15.x86_64 libmp4v2-1.5.0.1-11.fc15.x86_64 libmpg123-1.12.3-1.fc14.x86_64 libnemesi-0.7.0-0.1.20110215git.fc16.x86_64 libogg-1.2.2-3.fc15.x86_64 librtmp-2.4-0.1.20110811gitc58cfb3e.fc16.x86_64 libsndfile-1.0.25-1.fc16.x86_64 libtasn1-2.7-2.fc15.x86_64 libtheora-1.1.1-1.fc15.x86_64 libtool-ltdl-2.4-7.fc16.x86_64 libtxc_dxtn-1.0.0-1.fc15.x86_64 libvdpau-0.4.1-4.fc15.x86_64 libvorbis-1.3.2-1.fc15.x86_64 libvpx-0.9.7.1-1.fc16.x86_64 lirc-libs-0.9.0-3.fc16.x86_64 live555-0-0.32.2011.09.02.fc16.x86_64 lksctp-tools-1.0.11-3.fc15.x86_64 llvm-libs-2.9-4.fc16.x86_64 lzo-2.06-1.fc16.x86_64 ncurses-libs-5.9-2.20110716.fc16.x86_64 netembryo-0.1.1-1.fc16.x86_64 opencore-amr-0.1.2-1.fc12.x86_64 openjpeg-libs-1.4-6.fc16.x86_64 orc-0.4.16-4.fc16.x86_64 pulseaudio-libs-0.9.23-1.fc16.x86_64 schroedinger-1.0.10-2.fc15.x86_64 slang-2.2.4-1.fc16.x86_64 speex-1.2-0.13.rc1.fc15.x86_64 tcp_wrappers-libs-7.6-64.fc16.x86_64 xvidcore-1.3.2-2.fc15.x86_64
(gdb) where
#0  0x0000003051e1c37c in ft_stroke_border_close (border=0x1cd7ba0, reverse=0 '\000')
    at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:364
#1  0x0000003051e1e8ae in FT_Stroker_EndSubPath (stroker=0x1cd7b30) at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:1935
#2  0x0000003051e1edd9 in FT_Stroker_ParseOutline (opened=0 '\000', outline=0x1cac4d8, stroker=0x1cd7b30)
    at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:2225
#3  FT_Stroker_ParseOutline (stroker=0x1cd7b30, outline=0x1cac4d8, opened=0 '\000')
    at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:2044
#4  0x0000003051e1f146 in FT_Glyph_StrokeBorder (pglyph=0x1ed2420, stroker=0x1cd7b30, inside=<optimized out>, destroy=1 '\001')
    at /usr/src/debug/freetype-2.4.6/src/base/ftstroke.c:2375
#5  0x000000305ec0c912 in ?? () from /usr/lib64/libass.so.4
#6  0x000000305ec0f043 in ass_render_frame () from /usr/lib64/libass.so.4
#7  0x000000000068b5b1 in ass_mp_render_frame (detect_change=0x13d79c0, now=Could not find type for DW_OP_GNU_const_type
) at sub/ass_mp.c:317
#8  eosd_ass_update (src=0x13d79a0, res=<optimized out>, ts=671.04499999999996) at sub/ass_mp.c:338
#9  0x000000000061fd51 in eosd_render_frame (ts=671.04499999999996, images=0x7fffffffcaa0) at sub/eosd.c:79
#10 0x000000000059a446 in control (vf=0x1c834a0, request=<optimized out>, data=<optimized out>) at libmpcodecs/vf_vo.c:130
#11 0x000000000053ecce in filter_video (sh_video=<optimized out>, frame=<optimized out>, pts=<optimized out>)
    at libmpcodecs/dec_video.c:487
#12 0x00000000004991b7 in generate_video_frame (d_video=0x1a11600, sh_video=0x1cd27e0) at mplayer.c:1813
#13 update_video (blit_frame=0x7fffffffdc28) at mplayer.c:2461
#14 0x000000000048bbc1 in main (argc=<optimized out>, argv=<optimized out>) at mplayer.c:3722


.ssa file that causes crash on rendering second line, while first
renders just fine. Font doesn't matter, "Montara Gothic" can be replaced
by Arial here.

[Script Info]

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,40,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,4,4,2,20,20,20,1
Style: Default,Montara Gothic,55,&H00FFFFFF,&H000000FF,&H00274E03,&H80000000,0,0,0,0,100,100,0,0,1,3,2,2,10,10,55,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Dialogue: 0,0:00:01.24,0:00:03.61,Default,,0000,0000,0000,,In 2167...
Dialogue: 0,0:00:04.17,0:00:06.76,Default,,0000,0000,0000,,...the Earth suffered incredible damage...



-- 

Vladimir


More information about the MPlayer-users mailing list