Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59147 - ogg123 crashed (vorbis-tools)
Summary: ogg123 crashed (vorbis-tools)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 07:25 UTC by Antonio
Modified: 2004-10-03 22:01 UTC (History)
0 users

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 Antonio 2004-08-02 07:25:18 UTC
if use ogg123 on kde-3.2.3 to play .ogg in this mode:

ogg123 file_name

the program crashed.


bash-2.05b$ ogg123 game.ogg

Audio Device:   aRts output

Playing: game.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Segmentation fault



In this mode work well:

bash-2.05b$ ogg123 -d arts game.ogg

Audio Device:   aRts output

Playing: game.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz

Done.
pure virtual method called

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-02 12:37:43 UTC
Can you please provide a backtrace of the crash, provide the .ogg that crashed, and tell me what output you sere using (alsa, oss, arts, esd, etc).
Comment 2 Antonio 2004-08-02 14:00:04 UTC
ogg123 crashed when use without flag -d (output)
if i use -d arts ogg123 play well

Sorry for my bad english.

where show a backtrace ?
Comment 3 Antonio 2004-08-02 14:28:41 UTC
if i create the file /etc/libao.conf ogg123 does not crashed

This is libao.conf

# Default is arts.
default_driver=arts

I propose to insert in package libao
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-02 14:58:03 UTC
what is your default output plugin?

Please provide the output of running 'emerge --info'

To get a backtrace, run:

$ gdb ogg123
(gdb) set args my.ogg
(gdb) run
<crash>
(gdb) bt
Comment 5 Antonio 2004-08-02 15:01:20 UTC
My emerge info

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat5 /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/lib/jboss /var/qmail/control /var/www/localhost/htdocs/mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile autofs avi berkdb blender-game bonobo cddb cdr clamav clisp cmucl crypt cups curl dillo divx4linux doc dv dvb dvd dvdr dvdread emacs encode escreen esd etwin evms2 evo exif f77 faac faad fam ffmpeg flac flash fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gimp gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg kde kerberos ldirectord libdsk libg++ libgda libwww live mad mbox mcal mdb mikmod mldonkeypango mmx mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav msn mysql nas ncurses net nls nptl nvidia oav odbc ofx oggvorbis openal opengl oscar oss pam pdflib perl pic png portaudio postgres ppds pthreads python qt quicktime readline ruby samba sasl scanner sdl slang sndfile speex spell ssl svg svga tcltk tcpd tetex theora tiff transcode truetype type1 usb v4l v4l2 virus-scan wxwindows x86 xface xfs xine xinerama xml xml2 xmms xosd xprint xrandr xv xvid yahoo zlib"
Comment 6 Antonio 2004-08-02 15:05:09 UTC
backtrace:

bash-2.05b$ gdb ogg123
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args Bella.ogg
(gdb) run
Starting program: /usr/bin/ogg123 Bella.ogg
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint

Audio Device:   aRts output

Playing: Bella.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Genre: Classical
Transcoded: mp3;154
Title: Piano Concerto
Artist: Baron Massimiliano
Date: 1992
Album: baromax@hotmail.com

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) bt
No stack.
(gdb)
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-06 11:57:12 UTC
no, show the backtrace using the default output driver, not arts... 
Comment 8 Antonio 2004-08-08 09:45:06 UTC
Where i see my default output driver ?

If i run ogg123 <file name> the default driver is arts
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 03:22:07 UTC
you set the default to arts when youu edited /etc/libao.conf ... pleasse delete that file and submit the backtrace of the program crashing.
Comment 10 Antonio 2004-08-29 14:09:02 UTC
I have delete libao.conf
If i start ogg123 when artds is active (kde in running) ogg123 crashed.
If artds does not active (fluxbox is running) ogg123 work well with alsa driver.
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 14:26:14 UTC
right... but please provide the backtrace...

also, what version of arts do you have installed?
Comment 12 Antonio 2004-08-29 14:50:07 UTC
bash-2.05b$ gdb ogg123
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args Bella.ogg
(gdb) run
Starting program: /usr/bin/ogg123 Bella.ogg
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint

Audio Device:   aRts output

Playing: Bella.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Genre: Classical
Transcoded: mp3;154
Title: Piano Concerto
Artist: Baron Massimiliano
Date: 1992
Album: baromax@hotmail.com

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) bt
No stack.
(gdb)

  kde-base/arts
      Latest version available: 1.2.3
      Latest version installed: 1.2.3
      Size of downloaded files: 941 kB
      Homepage:    http://multimedia.kde.org/
      Description: aRts, the KDE sound (and all-around multimedia) server/output manager
      License:     GPL-2 LGPL-2
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-15 11:02:07 UTC
Ok, I cannot reproduce this.  Can you please file a bug with the upstream developers and give me  alink to the bug report/thread so I can follow it?
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-03 22:01:58 UTC
closing