Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85595 - gnome-cd 2.10.0 crashes when inserting CD
Summary: gnome-cd 2.10.0 crashes when inserting CD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 84701
  Show dependency tree
 
Reported: 2005-03-17 00:01 UTC by lain
Modified: 2005-03-21 14:46 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 lain 2005-03-17 00:01:52 UTC
Hello. I realize this is kind of jumping the gun but I had (a lot of) spare time to fuss about and decided to help get GNOME ready. I unmasked 2.10 and installed. Everything is fine, except for this one problem.

Upon insertion of a CD, GNOME-CD should begin, however, it shows a 'application unexpectedly quit' error and dies. I recompiled with USE="debug" and my CFLAGS set to nothing, but it persisted. It spits out the following error in the console:

arcueid@arcueid ~ $ gnome-cd

** (gnome-cd:10549): WARNING **: No GConf default audio sink key and osssink doesn't work

** ERROR **: file gst-cdparanoia-cdrom.c: line 283 (build_pipeline): assertion failed: (priv->audio_sink != 0)
aborting...

It's probably an easy fix but I'm lost at this point. Should also be noted that Totem reads and plays the CD fine. I tried reinstalling the gstreamer plugin gst-cdparanoia and it didn't work.

Reproducible: Always
Steps to Reproduce:
1.Insert Audio CD.
2.Either allow gnome-cd to start automatically, open gnome-cd or insert while gnome-cd open.
3.Crash occurs.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 15 2005, 21:13:30)]
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.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fforce-mem -fforce-addr"
CHOST="i686-pc-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="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fforce-mem -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
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/overlays/lila"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X a52 aac aalib acpi aim alsa apache2 artworkextra atlas
audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo bzip2 bzlib cairo
cdda cddb cdio cdparanoia cdr cjk crypt cups curl curlwrappers dba dio
divx4linux dv dvd dvdr dvdread encode esd ethereal exif expat fam fastcgi ffmpeg
fftw flac font-server foomatic foomaticdb freetype ftp gb gd gd-external gdbm
gif gimpprint glitz glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal httpd icq ieee1394 imagemagick imlib inifile innodb ipv6
jabber java javascript jikes joystick jpeg lcms libcaca libclamav libwww live
lm_sensors lzo mad matroska memlimit migemo mikmod mime mmap mmx mmx2 mng mono
motif mozdevelop mozilla moznomail mozsvg mozxmlterm mp3 mpeg mpi mpm-prefork
msn mysql nas ncurses neXt network nls nptl nptlonly nvidia oav offensive ogg
oggvorbis openal opengl pam pcre pdflib perl php pic pie png ppds python qt
quicktime readline real ruby samba sdl sftplogging sharedmem sndfile snmp soap
sockets socks5 sox speex spell sqlite sse ssl stream svg symlink sysfs szip
tcltk tcpd theora threads tidy tiff tokenizer truetype truetype-fonts
type1-fonts usb v4l v4l2 vcd vhosts videos wmf wxwindows x86 xanim xine xinerama
xml xml2 xosd xpm xprint xv xvid xvmc yahoo zlib"
Comment 1 foser (RETIRED) gentoo-dev 2005-03-17 04:21:07 UTC
what do you have set for audio sink in preferences->multimedia system selector ?

Also do a 'gst-inspect-0.8 cdparanoia', see if it exists. This might just be misssing deps.
Comment 2 lain 2005-03-17 04:51:25 UTC
I had 'osssink' in there. I changed it to the EsounD 'esdsink' and now the CD player works.

However, it should not be dying with ALSA in the first place. Wasn't one of the major driving points of ALSA to replace Sound Daemons?
Comment 3 lain 2005-03-17 04:55:31 UTC
Actually, I changed 'osssink' over to 'alsasink' and it works without the need for EsounD.

If osssink is crashing gnome-cd, why not just make alsasink the default for new GNOME 2.10 installations?
Comment 4 Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-03-17 04:58:28 UTC
Do you even have an oss device?

ls -l /dev/dsp
Comment 5 lain 2005-03-17 05:02:39 UTC
I have ALSA-OSS emulation in the kernel, but I don't know if it even does anything anymore. I try to stay away from OSS as much as possible, so I hadn't even compiled any of the programs with OSS support.

I don't believe I have any OSS devices, no.
Comment 6 Artur Brodowski 2005-03-18 06:22:27 UTC
When CD tray is opened, running gnome-cd ends with crash,
no matter which multimedia system is set in the preferences.

$ gnome-cd

** (gnome-cd:10747): WARNING **: Error reading CD header

** ERROR **: file gst-cdparanoia-cdrom.c: line 268 (build_pipeline): assertion failed: (priv->cdparanoia != 0)
aborting...

$ gst-inspect-0.8 cdparanoia
No such element or plugin 'cdparanoia'

Looks like gnome-media (or whichever ebuild provides gnome-cd) 
should have gst-plugins-cdparanoia as a dependancy.
Comment 7 foser (RETIRED) gentoo-dev 2005-03-21 14:44:41 UTC
added gst-plugins-cdparanoia dep
Comment 8 foser (RETIRED) gentoo-dev 2005-03-21 14:46:33 UTC
btw the crashes when the plugin isnt around should be fixed in the next micro release.