Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110620 - xine-lib 1.1.0-r6 crashes when playing ogg audio files.
Summary: xine-lib 1.1.0-r6 crashes when playing ogg audio files.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 06:48 UTC by Brian Beardall
Modified: 2005-11-16 18:20 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 Brian Beardall 2005-10-27 06:48:01 UTC
I tested to see if ogg files crashed on multiple applications that use xine-lib
as the output.  xine-ui, bmpx, and totem all crashed in the same manner when
playing ogg audio files.  The file will begin to play, but at the end of the
file or as another ogg audio file is played the programs crash.  This is 100%
reproducible in different programs that use xine-lib as their output.

Here are the use flags used to compile xine-lib-1.1.0-r6
[ebuild   R   ] media-libs/xine-lib-1.1.0-r6  +X +a52 +aac -aalib +alsa
(-altivec) -arts -cle266 -directfb +dts +dvd -dxr3 +esd -fbcon +ffmpeg +flac
+gnome -i8x0 +imagemagick +ipv6 -libcaca +mad -mng +nls -nvidia +opengl +oss
+samba +sdl +speex +theora +v4l +vcd -vidix +vorbis +win32codecs -xinerama +xv
-xvmc 0 kB

Here is the emerge --info output.
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -mcpu=athlon-tbird"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias
/var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe
-mcpu=athlon-tbird"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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 3dnow X a52 aac acl acpi alsa apache2 apm avi berkdb bitmap-fonts
bonobo browserplugin cdr crypt cups curl dri dts dv dvd dvdr eds emboss encode
esd evo fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 java joystick jpeg
kqemu lcms ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses
new-login nls nsplugin ogg oggvorbis openal opengl oss pam pam_console pda pdf
pdflib perl plotutils png ppds python quicktime readline samba scanner sdl slang
snmp spamassassin speex spell ssl svg svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xine xml xml2
xmms xprint xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Perhaps someone else has been experiencing this bug.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-27 07:52:14 UTC
Every ogg file has the same behavior? Can you try encoding one with latest 
libvorbis and vorbis-tools? 
I can play them just fine here. 
Comment 2 Brian Beardall 2005-10-27 16:46:15 UTC
Every ogg file has the exact same behavior.  I installed libvorbis 1.1.1, and
vorbis-tools 1.1.1, and recompiled xine-lib 1.1.0-r6, and I still get the same
exact behavior.  This occurs with all of my oggs.  Changing the song from one
ogg to another ogg will always kill it.  I have some output from totem when it
crashed pertaining to xine-lib.

** Message: totem_playlist_add_one_mrl (): we_believe__kenneth_cope.ogg
file:///home/brian/personal/music/mp3/especially_for_youth/we_believe/we_believe__kenneth_cope.ogg
(null)

xine: found input plugin  : file input plugin
load_plugins: probing demux 'anx'
load_plugins: probing demux 'ogg'
xine: found demuxer plugin: OGG demux plugin
video discontinuity #1, type is 0, disc_off 0
waiting for audio discontinuity #1
audio discontinuity #1, type is 0, disc_off 0
waiting for in_discontinuity update #1
vpts adjusted with prebuffer to 51592
load_plugins: plugin vorbis will be used for audio streamtype 09.
audio_alsa_out:open pause_resume=0
output sample rate 44100
ao_close
xine_play
diff=1 (pts=1, last_pts=0)
video discontinuity #2, type is 2, disc_off 1
waiting for audio discontinuity #2
audio discontinuity #2, type is 2, disc_off 1
waiting for in_discontinuity update #2
audio jump, diff=0
play_internal ...done
fixing sound card drift by -1349 pts
xine_play
ao_flush (loop running: 1)
play_internal ...done
diff=17858090 (pts=18932376, last_pts=1074286)
audio discontinuity #3, type is 3, disc_off 18932376
waiting for in_discontinuity update #3
video discontinuity #3, type is 3, disc_off 18932376
vpts adjusted with prebuffer to 696792
audio jump, diff=0
fixing sound card drift by -2816 pts
fixing sound card drift by -2096 pts
fixing sound card drift by -1573 pts
ao_close
audio_out: no streams left, closing driver
video discontinuity #4, type is 0, disc_off 0
waiting for audio discontinuity #4
audio discontinuity #4, type is 0, disc_off 0
waiting for in_discontinuity update #4
vpts adjusted with prebuffer to 2494833
** Message: enter bacon_video_widget_idle_signal
ao_flush (loop running: 1)
input_cache: read calls: 70, main input read calls: 69
input_cache: seek_calls: 10, main input seek calls: 9
xine: found input plugin  : file input plugin
load_plugins: probing demux 'anx'
load_plugins: probing demux 'ogg'


It doesn't matter what software I use as long as it uses xine-lib.  If I use
just ogg123 there is no crash when playing the songs.  There was no crashing
when I had xine-lib 1.0.1 installed.
Comment 3 Brian Beardall 2005-10-27 17:35:59 UTC
This is some more output I got when using xine-ui.  Crashed when loading second
ogg file in the playlist.

200 frames delivered, 0 frames skipped, 2 frames discarded
gui_xine_open_and_play():
        mrl:
'mp3/especially_for_youth/we_believe/i_need_thee_every_hour__april_meservy.ogg',
        sub 'NONE',
        start_pos 0, start_time 0, av_offset 0, spu_offset 0.
ao_flush (loop running: 1)
input_cache: read calls: 426, main input read calls: 425
input_cache: seek_calls: 9, main input seek calls: 8
gnome_vfs init_input_class
gnome-vfs not initialised
xine: found input plugin  : file input plugin
load_plugins: probing demux 'anx'
load_plugins: probing demux 'ogg'
xiTK received SIGSEGV signal, RIP.
Killed
Comment 4 Brian Beardall 2005-10-28 07:47:26 UTC
I should use the correct terminology here.  I am playing ogg vorbis files.
Comment 5 Brian Beardall 2005-10-29 19:31:02 UTC
I have reproduced this crash on two computers.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-14 02:39:31 UTC
Please try with -r7. 
 
Comment 7 Brian Beardall 2005-11-16 18:20:11 UTC
I am happy to say that the bug is fixed with xine-lib-1.1.0-r7.  :)