Hi!

Sorry for posting to two bugs, but I couldn't really decide which one
to post to, and it would be nice to have both the Firefox and the
esound maintainer in the loop. :)

I also encountered firefox crashes when /etc/firefox/firefoxrc had
FIREFOX_DSP="auto", i. e. used esddsp under Gnome. I debugged this for
a while, and Tollef finally found the reason: for some reason
dsp_init() is called multiple times which caused race conditions with
the global variables. Protecting the function body with a mutex helped
to fix the crash.

The patch is available at

  http://patches.ubuntu.com/patches/esound.esddsp-crash.patch

it might not fix all possible races, but at least helps to fix the
crash here.

Thanks for considering,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to