Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30723 - "artsdsp esd" crashes on first connect in esound-0.2.31
Summary: "artsdsp esd" crashes on first connect in esound-0.2.31
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 20:46 UTC by Mark Purtill
Modified: 2005-02-09 05:57 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 Mark Purtill 2003-10-08 20:46:35 UTC
I've got arts-1.1.4.  With esound-0.2.29-r1, I can run "artsdsp esd" and have
esd run under arts.  With esound-0.2.32, the esd exits the first time a client
connects.

Reproducible: Always
Steps to Reproduce:
1. emerge esound-0.2.32
2. artsdsp esd &
3. start an esd client (in my case, the old Loki game SMAC)

Actual Results:  
esd exits

Expected Results:  
After step 2, esd should play a few notes.  After step 3, the client should be
able to make noise.

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1900+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g -O2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-g -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs fixpackages sandbox userpriv nostrip"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://mirrors.tds.net/gentoo
ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.oregonstate.edu http://www.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 oss apm avi crypt cups encode foomaticdb gif gnome libg++ mad mikmod
mmx ncurses nls pdflib quicktime spell xml2 xmms xv zlib gdbm berkdb slang svga
java guile sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk opengl mozilla
3dnow -alsa aalib arts canna cdr cjk debug doc dvd esd -firebird freetype
freewnn jpeg kde maildir matrox mbox -motif mozsvg mpeg mule perl png qt
readline ruby scanner sse tcltk tetex tiff truetype usb X Xaw3d"
Comment 1 Mark Purtill 2004-04-09 09:51:59 UTC
This still happens with esound-0.2.33 and arts-1.2.1.
Comment 2 Dan Armak (RETIRED) gentoo-dev 2005-02-05 02:28:31 UTC
I've tried doing this and it works for me (running several arts clients, one
of them through 'artsdsp esd', everything is mixed together and played). What
does happen is that esd exits after its client disconnects, but that's probably
esd configuration level issues.

What you describe might happen if you compile esd with USE=alsa. Then esd
doesn't have oss (/dev/dsp) support, and artsdsp has no effect on it. Make sure
you compile esd with USE=-alsa.
Comment 3 Mark Purtill 2005-02-05 09:44:11 UTC
I re-emerged esound-0.2.34 with

media-sound/esound -alsa

in my /etc/portage/package.use file, and had the same problem.

BUT, I found that if I modified /etc/esd/esd.conf to remove the -terminate from the spawn_options= line, the problem went away.

It might be that esd is (incorrectly?) using the spawn_options to start the first esd program in this case; it was also not beeping on startup until I removed the -nobeeps from the spawn_options line.  (My client may be connecting twice---it's one of the old Loki games---which would explain why I get the immediate termination.)



Comment 4 Dan Armak (RETIRED) gentoo-dev 2005-02-05 10:22:57 UTC
Then we can close this?
Comment 5 Mark Purtill 2005-02-06 12:47:06 UTC
I guess.  There's still something going wrong here, but it can be worked around.    And judging by the web site listed in the ebuild, <http://www.tux.org/~ricdude/EsounD.html>, esd is not exactly under active development.  (The last news item is from the year 2000.)
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-09 05:57:53 UTC
So it's probably not a kde bug... closing.