ESD segfaults

Bug #7240 reported by Mark Shuttleworth
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Matt Zimmerman

Bug Description

ESD segfaults on a clean install. The symptoms are that sounds from Gaim do not
work using the ESD option.

Revision history for this message
Matt Zimmerman (mdz) wrote :

It works fine for me. Can you get a gdb backtrace from it when it crashes?

Revision history for this message
Matt Zimmerman (mdz) wrote :

ok, I have reproduced it

Revision history for this message
Matt Zimmerman (mdz) wrote :

libesd-alsa0 doesn't work at all (segfaults), but libesd0 works fine

Revision history for this message
Matt Zimmerman (mdz) wrote :

I have fixed the segfault, but libesd-alsa0 still doesn't work.

Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
Audio device open for 48Khz, stereo,16bit failed
Trying 22.05Khz, 8bit stereo.
Audio device open for 22.05Khz, stereo, 8bit failed
Trying 44.1Khz, 16bit mono.
Audio device open for 44.1Khz, mono, 8bit failed
Trying 22.05Khz, 8bit mono.
Audio device open for 22.05Khz, mono, 8bit failed
Trying 11.025Khz, 8bit stereo.
Audio device open for 11.025Khz, stereo, 8bit failed
Trying 11.025Khz, 8bit mono.
Audio device open for 11.025Khz, mono, 8bit failed
Trying 8.192Khz, 8bit mono.
Audio device open for 8.192Khz, mono, 8bit failed
Trying 8Khz, 8bit mono.
Sound device inadequate for Esound. Fatal.

Perhaps we should forget about libesd-alsa0 and use libesd0.

Revision history for this message
Matt Zimmerman (mdz) wrote :

After fixing libesd-alsa0's bug, it seems that direct ALSA just doesn't work at
all on my system (aplay doesn't even work). However, OSS emulation works just fine.

aplay /usr/share/sounds/gaim/arrive.wav # does nothing
# apt-get install sox
play /usr/share/sounds/gaim/arrive.wav # plays fine

Revision history for this message
Matt Zimmerman (mdz) wrote :

The segfault is fixed at least in 0.2.29-1ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.