Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102955 - media-sound/vorbis-tools-1.0.1 - ogg123 segfaults
Summary: media-sound/vorbis-tools-1.0.1 - ogg123 segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 106203 108959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-18 03:10 UTC by Clock
Modified: 2006-10-01 21:55 UTC (History)
2 users (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 Clock 2005-08-18 03:10:55 UTC
I was playing ogg file (about 86MB) with 192kbps bitrate and about 3 times did
ctrl-z and fg to pause and continue. At end it wrote this:
ogg123 demodulated.ogg
                                                                                
Done.
pure virtual method called
Aborted (core dumped)
(gdb) bt full
#0  0xb7c22181 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0xb7d8a131 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7d8a4ab in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7c21f14 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0xb7c233ad in abort () from /lib/libc.so.6
No symbol table info available.
#5  0xb662fee7 in __cxa_call_unexpected ()
   from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
No symbol table info available.
#6  0xb662ff24 in std::terminate() ()
   from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
No symbol table info available.
#7  0xb6630448 in __cxa_pure_virtual ()
   from //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
No symbol table info available.
#8  0xb66c04a3 in Arts::Dispatcher::waitForResult(long, Arts::Connection*) ()
   from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#9  0xb66ce467 in Arts::Object_stub::_lookupMethod(Arts::MethodDef const&) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#10 0xb66ce5e2 in Arts::Object_stub::_lookupMethodFast(char const*) ()
   from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#11 0xbfffef10 in ?? ()
No symbol table info available.
#12 0xbfffef80 in ?? ()
No symbol table info available.

The ogg123 was reporting running through artsd.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl d
ga divx4linux dri dv dvd dvdread eds emboss encode esd exif fam ffmpeg fftw flac
 flash foomatic foomaticdb fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk 
gtk2 guile icq imagemagick imap imlib ipv6 jabber jack java javascript jpeg kde 
ldap libcaca libg++ libwww live matroska mikmod ming mmap mmx mng motif mozilla 
mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl php png 
python qt quicktime readline real ruby samba sdl sharedmem shorten slang socks5 
speex spell sse ssl svg svga tcltk tcpd tetex theora threads tiff tls truetype t
ruetype-fonts type1-fonts unicode vorbis wifi win32codecs wmf xine xinerama xml 
xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2005-10-07 06:45:33 UTC
*** Bug 106203 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-12 02:36:44 UTC
*** Bug 108959 has been marked as a duplicate of this bug. ***
Comment 3 k7avenger 2005-10-12 07:50:39 UTC
(In reply to comment #2)
> *** Bug 108959 has been marked as a duplicate of this bug. ***

I don't know, if my 108959 is really a duplicate of this bug (I wasn't able to
listen to the stream, immediately segfaulting), but I think, I forgot some
information:
I'm using alsa (compiled into the kernel 2.6.13.2, not as a module) and my xmms
still works fine, also with .ogg files.

Comment 4 k7avenger 2005-11-16 11:46:39 UTC
Ok, I tried now to compile again without the "speex" flag, and that worked for
me. My ogg123 now does the job, again. This has surely to do with the broken
speex package.
Comment 5 Thomas Cort (RETIRED) gentoo-dev 2006-01-30 13:24:34 UTC
Which version of speex are you using? Can you attach a small .ogg file to this bug that illustrates the problem? I wasn't able to reproduce the segfault using the latest stable or the latest testing versions of speex and vorbis-tools.

-----

[ebuild   R   ] media-libs/speex-1.1.7  +ogg (-sse) 0 kB
[ebuild   R   ] media-sound/vorbis-tools-1.0.1  +flac +nls +speex 0 kB

Portage 2.0.53 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15 alpha)
=================================================================
System uname: 2.6.15 alpha EV56
Gentoo Base System version 1.6.13
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 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.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="alpha X aac aalib aim alsa arts audiofile berkdb bitmap-fonts bzip2 crypt cups curl eds encode esd exif expat fam ffmpeg flac font-server foomaticdb gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml icq imlib ipv6 jabber jpeg kde lcms libg++ libwww lua mad mhash mikmod mng motif mozilla mp3 mpeg msn nas ncurses nls nocd nptl nptlonly offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl png python qt quicktime readline sdl shorten sndfile speex spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis wxgtk1 xml2 xmms xv xvid yahoo zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL

-----

[ebuild   R   ] media-libs/speex-1.1.11.1  USE="ogg" 0 kB
[ebuild   R   ] media-sound/vorbis-tools-1.1.1-r1  USE="flac nls speex" 0 kB

Portage 2.1_pre3-r1 (!/usr/portage/profiles/default-linux/ppc/2005.1/ppc, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 740/750
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=750 -Os -pipe -fno-strict-aliasing -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=750 -Os -pipe -fno-strict-aliasing -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.arcticnetwork.ca/pub/gentoo/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/exports/nfs/portage/"
PORTDIR_OVERLAY="/exports/nfs/overlay"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="ppc X aac aim alsa audiofile berkdb bitmap-fonts browserplugin bzip2 crypt cups curl eds emboss encode esd exif expat fam flac gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq idn ipv6 jabber java jpeg kde lcms libwww lua mikmod mng motif mozilla moznocompose moznoirc moznomail mp3 mpeg msn ncurses nls nocd nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar pam pcre pdflib perl png python qt readline shorten sndfile speex spell ssl symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wxgtk1 xml xml2 xmms xv xvid yahoo zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 6 k7avenger 2006-01-31 07:03:31 UTC
(In reply to comment #5)
> Which version of speex are you using? Can you attach a small .ogg file to this
> bug that illustrates the problem? I wasn't able to reproduce the segfault using
> the latest stable or the latest testing versions of speex and vorbis-tools.

I'm using
[~]># emerge -pv speex

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-libs/speex-1.1.11.1 [1.1.7] USE="ogg% sse" 0 kB
[ebuild   R   ] media-sound/vorbis-tools-1.1.1-r1  USE="flac speex -nls" 0 kB 

Total size of downloads: 0 kB

I can't update my speex, because I am suffering from the bug http://bugs.gentoo.org/show_bug.cgi?id=108490
(my hardware is stable, gcc works fine in every case except that speex-configure one and so on...but this problem is probably never going to be solved)
Comment 7 Matej Stepanek 2006-01-31 08:33:32 UTC
I tried to reproduce the problem on a small .ogg file and it doesn't happen. Then
version of speex is 1.1.7.
Comment 8 k7avenger 2006-01-31 16:41:53 UTC
Ok, I tried a bit around.
Something new:
I tried to compile speex-1.1.5. That worked. After that, I compiled vorbis-tools-1.1.1-r1 and I had no more segfaults. Playing ogg-files did fine.
Then, I compiled speex-1.1.7. That worked too, but I hat the segfaults again, when recompiling vorbis-tools.
Compiling speex-1.1.11.1 still stops at
checking size of short... configure: error: cannot compute sizeof (short), 77

PS:
I just rebuild speex-1.1.5 (still fine), then vorbis-tools, and I discovered the following lines, while configure:
checking for speex_decoder_init in -lspeex... yes
checking for speex/speex.h... no
configure: WARNING: libspeex headers missing
...
configure: WARNING: Speex libraries and/or headers missing, ogg123
will NOT be built with Speex read support.

But:
[~]># ls -l /usr/lib/libspeex.*
-rw-r--r-- 1 root root 164760 Feb  1 01:21 /usr/lib/libspeex.a
-rw-r--r-- 1 root root    800 Feb  1 01:21 /usr/lib/libspeex.la
lrwxrwxrwx 1 root root     17 Feb  1 01:20 /usr/lib/libspeex.so -> libspeex.so.1.1.0
lrwxrwxrwx 1 root root     17 Feb  1 01:20 /usr/lib/libspeex.so.1 -> libspeex.so.1.1.0
-rwxr-xr-x 1 root root 129792 Feb  1 01:21 /usr/lib/libspeex.so.1.1.0
Comment 9 k7avenger 2006-03-15 08:55:41 UTC
Ok. I switched to glibc-2.4 a few minutes ago.
Now everything works fine.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 21:55:27 UTC
This should be fixed at this point in time, reopen if it's not the case.