Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79592 - Xine 1.0 crashes when trying to play AAC content
Summary: Xine 1.0 crashes when trying to play AAC content
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 09:29 UTC by Barry Shilliday
Modified: 2005-05-30 03:17 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 Barry Shilliday 2005-01-26 09:29:51 UTC
With USE=aac and the xine-1.0 build. On playing an AAC file, xine segfaults. The same happens with programs that use xine-lib (like amarok). When run with --verbose:

gui_xine_open_and_play():
        mrl: 'riddle112.mp4',
        sub 'NONE',
        start_pos 0, start_time 0, av_offset 0, spu_offset 0.
xine: found input plugin  : file input plugin
xine: found demuxer plugin: Apple Quicktime (MOV) and MPEG-4 demux plugin
av_offset=0 pts
spu_offset=0 pts
xiTK received SIGSEGV signal, RIP.
Aborted

Xmms, mplayer, and gst-plugins-faad work fine with these files.

Reproducible: Always
Steps to Reproduce:
1. Open an aac/mp4 file
2.
3.

Actual Results:  
Segfault

Expected Results:  
AAC file should be supported
Comment 1 Barry Shilliday 2005-02-03 06:38:27 UTC
This seems to be a problem with gcc-3.4.3-r1 and xine-lib. If I compile xine-lib with gcc-3.3.4, the problem goes away.
Comment 2 Guillaume Castagnino 2005-02-21 14:57:47 UTC
Same problem here with gcc 3.4.3 :
=========8<================
Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-ac12 i686)
=================================================================
System uname: 2.6.10-ac12 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 03:58:52)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -mtune=pentium4 -fomit-frame-pointer -ffast-math -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -mtune=pentium4 -fomit-frame-pointer -ffast-math -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildsyspkg candy ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac acl acpi acpi4linux alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cdr clamav codecs commercial crypt cups dba dga distribution dnd dv dvd dvdread emboss encode esd extensions f77 faad fam fbcon ffmpeg flac foomaticdb fortran freetype fs gd gdbm gif gimp gpm gtk gtk2 hardenedphp idled imagemagick imap imlib2 ipv6 jabber java jce jpeg jpeg2k junit kde libcaca libg++ libwww logitech-mouse mad maildir matroska md5sum mikmod mmx monkey motif mozsvg mpeg nas ncurses network nls no_wxgtk1 nptl nptlonly nvidia ofx oggvorbis opengl oss pam pdflib perl pic png povray print python qt quicktime rdesktop readline real samba sasl sdl slang spell sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 wxwindows xine xml2 xprint xrandr xscreensaver xv xvid zlib video_cards_nvidia linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
=========8<================

The problem is the "xine-lib-hardened-mmx.patch".
Removing the line "use x86 && epatch ${FILESDIR}/${PN}-hardened-mmx.patch" solves this problem with aac and another segmentation fault using Goom.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-21 18:19:07 UTC
Please try with 1.0-r2 and tell if it's still a problem.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-30 03:17:14 UTC
Please try with latest version as there was changes to the AAC codec, and if 
it still doesn't work feel free to reopen the bug.