Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267790 - media-video/vlc-0.9.9a segfaults on dirac demo file (using libschroedinger)
Summary: media-video/vlc-0.9.9a segfaults on dirac demo file (using libschroedinger)
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: 2009-04-28 16:44 UTC by Jan Essert
Modified: 2009-05-10 17:00 UTC (History)
1 user (show)

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


Attachments
fix (0001-More-or-less-backport-eead487527d6a65897e23031bd2fef.patch,1.35 KB, patch)
2009-05-09 16:36 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Essert 2009-04-28 16:44:21 UTC
The following command crashes vlc reliably:

vlc http://dirac.kw.bbc.co.uk/download/video/maybefinal/bbb-tr1000.ts

This is a dirac demo file from the BBC. The output is:

VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-arts' '--disable-asademux' '--disable-atmo' '--enable-bonjour' '--disable-fribidi' '--disable-vcd' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-csri' '--enable-dbus' '--enable-dbus-control' '--enable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug' '--enable-dca''--disable-dv' '--enable-dvb' '--enable-dvdread' '--enable-dvdnav' '--disable-esd' '--disable-fb' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--disable-imgresample' '--enable-postproc' '--enable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--enable-hal' '--disable-httpd' '--disable-id3tag' '--disable-jack' '--disable-kate' '--disable-libass' '--enable-caca' '--enable-libgcrypt' '--enable-notify' '--disable-libproxy' '--disable-libtar' '--disable-libsysfs' '--disable-libv4l2' '--disable-lirc' '--disable-live555' '--disable-lua' '--enable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--enable-mpc' '--enable-ncurses' '--enable-mozilla' '--with-mozilla-pkg=libxul' '--enable-ogg' '--enable-glx' '--enable-opengl' '--enable-galaktos' '--disable-optimize-memory' '--disable-oss' '--disable-pda' '--enable-png' '--disable-portaudio' '--disable-pulse' '--disable-pvr' '--enable-qt4' '--enable-realrtsp' '--disable-run-as-root''--disable-smb' '--enable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-shout' '--enable-speex' '--enable-sse' '--enable-sout' '--enable-svg' '--disable-svgalib' '--enable-taglib' '--enable-theora' '--enable-freetype' '--disable-twolame' '--disable-upnp' '--enable-v4l' '--enable-v4l2' '--disable-vcdinfo' '--disable-vcdx' '--enable-vorbis' '--disable-loader' '--enable-x11' '--enable-screen' '--enable-x264' '--disable-xinerama' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-snapshot' '--disable-growl' '--disable-optimizations' '--enable-fast-install' '--disable-vlm' '--disable-skins2' '--disable-remoteosd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe' 'LDFLAGS=-Wl,--as-needed' 'CXXFLAGS=-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe' 'PKG_CONFIG_PATH=/usr/qt/3/lib64/pkgconfig'
[00000001] main libvlc debug: translation test: code is "de"
[00000001] main libvlc: vlc wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um vlc ohne Interface zu verwenden.
[00000411] schroedinger decoder error: Could not store PTS 2729148878 for picture 19
[00000411] schroedinger decoder error: Could not store PTS 2729190545 for picture 20
[00000411] schroedinger decoder error: Could not store PTS 2729232212 for picture 21
[00000453] main window error: no vout window module matched "any"
Speicherzugriffsfehler

The following message appears in dmesg:
vlc[5919]: segfault at 0 ip 00007fb66943350b sp 00007fb667f18f70 error 4 in libschroedinger_plugin.so[7fb669432000+2000]

Is there additional information I can provide?
I would like to try the dirac decoder instead of libschroedinger, but I do not know how to select it.

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.2_rc31 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 28 Apr 2009 16:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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/local/portage/layman/nouveau /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdr cli cracklib crypt dbus dirac djvu dri dvb dvd dvdr dvdread eds emboss encode evo exif fam firefoxflac fortran gdbm gif hal hbci iconv imap ipod isdnlog jpeg jpeg2k kde kdehiddenvisibility kipi libnotify mad matroska midi mikmod mmx mp3 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntpl ntplonly ogg openexr opengl openmp pam pch pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflectionschroedinger sdl semantic-desktop session smtp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis x264 xattr xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="directory ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-03 14:38:41 UTC
Please post the output of

  emerge -qpv vlc schroedinger

I can play the video with vlc but when I press stop, vlc segfaults. Can you play the video?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-08 16:02:00 UTC
Reopen this bug when you provide the requested information.
Comment 3 Jan Essert 2009-05-08 18:35:21 UTC
Sorry, had no access to my computer until now:

# emerge -qpv vlc schroedinger
[ebuild   R   ] media-libs/schroedinger-1.0.7  USE="-gstreamer"
[ebuild   R   ] media-video/vlc-0.9.9a  USE="X a52 aac alsa avahi dbus dirac dts dvb dvd ffmpeg flac hal libcaca libgcrypt libnotify matroska mmx mp3 mpeg musepack ncursesnsplugin ogg opengl png qt4 rtsp schroedinger sdl speex sse stream svg taglib theora truetype v4l v4l2 vorbis x264 xml xv -aalib (-altivec) -arts -atmo -bidi -cdda -cddax -cddb -cdio -dc1394 -debug -directfb -esd -fbcon -fluidsynth -fontconfig -ggi -gnome -gnutls -httpd -id3tag -jack -kate -libass -libsysfs -libv4l2 -lirc -live -lua -modplug-optimisememory -oss -pda -pulseaudio -pvr -remoteosd -run-as-root -samba -sdl-image -seamonkey -shout -skins (-svga) -twolame -upnp -vcdinfo -vcdx -vlm (-win32codecs) -xinerama -xosd -zvbi"

vlc starts to play but crashes immediately for me.
Comment 4 Alexis Ballier gentoo-dev 2009-05-09 16:36:49 UTC
Created attachment 190778 [details, diff]
fix

please try that patch
Comment 5 Alexis Ballier gentoo-dev 2009-05-10 13:54:56 UTC
applied in 0.9.9a-r1
Comment 6 Jan Essert 2009-05-10 17:00:22 UTC
works fine for me, thank you!