Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300406 - media-video/vlc-1.0.4: crashes if build with USE=truetype and option "Show media title on video" is enabled
Summary: media-video/vlc-1.0.4: crashes if build with USE=truetype and option "Show me...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-10 13:18 UTC by Alexander Stein
Modified: 2010-02-01 10:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stein 2010-01-10 13:18:28 UTC
If media-video/vlc1.0.4 is build with USE="truetype" and the option "Show media title on video" is enabled in Prefernces -> Subtitles & OSD it crashes everytime I open a video.
This is my backtrace:
#0  0x00007fffe4d4aca5 in Render (p_filter=<value optimized out>, p_region=<value optimized out>, p_line=0x969d00, i_width=241, i_height=<value optimized out>)
    at freetype.c:690
#1  0x00007fffe4d4d4b9 in RenderText (p_filter=0x19a4438, p_region_out=0x94bc10, p_region_in=0x94bc10) at freetype.c:1390
#2  0x00007ffff796f167 in SpuRenderText (p_spu=0x19a3148, p_pic_dst=0x199f3d8, p_fmt_dst=0x199f378, p_subpic_list=<value optimized out>,
    p_fmt_src=<value optimized out>, render_subtitle_date=14465852802) at video_output/vout_subpictures.c:1140
#3  SpuRenderRegion (p_spu=0x19a3148, p_pic_dst=0x199f3d8, p_fmt_dst=0x199f378, p_subpic_list=<value optimized out>, p_fmt_src=<value optimized out>,
    render_subtitle_date=14465852802) at video_output/vout_subpictures.c:1414
#4  spu_RenderSubpicturesNew (p_spu=0x19a3148, p_pic_dst=0x199f3d8, p_fmt_dst=0x199f378, p_subpic_list=<value optimized out>, p_fmt_src=<value optimized out>,
    render_subtitle_date=14465852802) at video_output/vout_subpictures.c:516
#5  0x00007ffff796bf2c in vout_RenderPicture (p_vout=0x199f018, p_pic=0x19a0a58, p_subpic=0xa26ba0, render_date=14465892897) at video_output/vout_pictures.c:382
#6  0x00007ffff7968bd7 in RunThread (p_this=<value optimized out>) at video_output/video_output.c:1201
#7  0x00007ffff70a0007 in start_thread () from /lib/libpthread.so.0
#8  0x00007ffff698d48d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()


Reproducible: Always

Steps to Reproduce:
1. Build vlc with USE="truetype"
2. Enable "Show media title on video"
3. Start playing a video

Actual Results:  
The player crashes with a segfault.

Expected Results:  
The video is played properly.

If vlc is build with USE="-truetype" this problem doesn't occur.
Comment 1 Alexander Stein 2010-01-10 13:19:47 UTC
emerge --info output:
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================                                              
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.13 
Timestamp of tree: Fri, 08 Jan 2010 08:15:02 +0000                                                             
ccache version 2.4 [enabled]                                                                                   
app-shells/bash:     4.0_p35                                                                                   
dev-java/java-config: 2.1.9-r2                                                                                 
dev-lang/python:     2.6.4                                                                                     
dev-util/ccache:     2.4-r7                                                                                    
dev-util/cmake:      2.6.4-r3                                                                                  
sys-apps/baselayout: 1.12.13                                                                                   
sys-apps/sandbox:    1.6-r2                                                                                    
sys-devel/autoconf:  2.63-r1                                                                                   
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                                
sys-devel/binutils:  2.18-r3                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                    
sys-devel/libtool:   2.2.6b                                                                                    
virtual/os-headers:  2.6.27-r2                                                                                 
ACCEPT_KEYWORDS="amd64"                                                                                        
CBUILD="x86_64-pc-linux-gnu"                                                                                   
CFLAGS="-O2 -march=athlon64 -pipe -msse3"                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                              
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3"                                                                                                                      
DISTDIR="/usr/distfiles"                                                                                                                                         
EMERGE_DEFAULT_OPTS="--keep-going"                                                                                                                               
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                          
GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"                                               
LANG="de_DE.utf8"                                                                                                                                                
LDFLAGS="-Wl,-O1"                                                                                                                                                
LINGUAS="de"                                                                                                                                                     
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/local /usr/portage/local/layman/kde /usr/portage/local/layman/jokey /usr/portage/local/layman/kde-sunset"
SYNC="rsync://rsync.lan.local/gentoo-portage"
USE="3dnow X a52 aac ac3 accessibility acct acl acpi addbookmarks aio alias alsa amd64 amr asf autoreplace bash-completion berkdb boost bzip2 bzlib cairo calendar caps ccache cdr cli connectionstatus contactnotes cpudetection cracklib crypt css cups curl cxx dbus dga divx4linux djvu dri dts dvd dvdr eds emboss encode ethereal evo exif exscalibar fam fbcon fbcondecor ffmpeg firefox flac fluidsynth font-server fontconfig freetype gd gdbm ggi gif gimp gimpprint glib glitz glut gnutls gphoto2 gtk hal hbci history iconv icu id3tag idn imagemagick imap imlib inotify ipv6 jabber java joystick jpeg jpeg2k kde kerberos latex lcms libnotify lm_sensors lzma mad mikmod mime mmx mng modules mozdevelop mozsvg mozxmlterm mp3 mp4 mpeg mplayer mudflap multilib multiuser music ncurses net network-cron nls no-old-linux noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino nowlistening noxalan noxerces nptl nptlonly offensive ofx ogg oggvorbis openal opengl openmp pam pch pcre pdf perl plotutils png pnp ppds pppd pth python qt3support qt4 readline reflection remix sasl scenarios schroedinger screen sdl sdl-image semantic-desktop session smime spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification statistics subversion svg sysfs taglib tcpd tetex texteffect themes theora threads thunar tidy tiff translator truetype trusted unicode usb v4l v4l2 vcd videos vim-syntax voice vorbis webpresence x264 xcb xine xinerama xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse aiptek evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alexis Ballier gentoo-dev 2010-01-27 22:50:05 UTC
I forgot to give an update on this bug:
I've sent a patch upstream based on your report, it'll be included in 1.0.5.
Meanwhile you can either:
- set freetype-yuvp=1 in ~/.config/vlc/vlcrc
- use 1.0.9999
- wait for 1.0.5
Comment 3 Alexis Ballier gentoo-dev 2010-01-27 22:50:43 UTC
(In reply to comment #2)
> - set freetype-yuvp=1 in ~/.config/vlc/vlcrc

that should have been:
- set freetype-yuvp=0 in ~/.config/vlc/vlcrc
Comment 4 Alexis Ballier gentoo-dev 2010-02-01 10:31:54 UTC
(In reply to comment #2)
> - wait for 1.0.5

its here now -> fixed