firefox gets 100% cpu and sometimes segfaults when using deb built package libasound2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-lib (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
ubuntu-meta (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
See firefox bug: https:/
In the backtraces attached there you can see that libasound.so is causing the bug.
It seems that the way libasound gets built determines the way firefox behaves: You get the error only when you use the automated method "apt-get source -b" for building libasound; If you build it manually, there is no error. See detailed instructions below.
Steps to reproduce (1st way):
See firefox bug.
Steps to reproduce (2nd way):
mkdir libasound-deb
cd libasound-deb
apt-get source -b libasound2=
ar p libasound2_
LD_PRELOAD=
# Now click on "Video", "Audio" or "Video & Audio", it doesn't matter!
# see cpu at constant 100%
sleep 30
kill $!
However, the bug can't be reproduced with the following steps.
Steps to NOT reproduce:
mkdir libasound-manual
cd libasound-manual
apt-get source libasound2=
cd alsa-lib-1.0.27.2/
make clean; ./gitcompile ; autoconf; ./configure --prefix=`pwd`/../; make; make install
LD_PRELOAD=
Also not reproducible with automatically built package version 2_1.0.25-
mkdir libasound-old
cd libasound-old
wget http://
ar p libasound2_
LD_PRELOAD=
I've also checked out the sources from upstream, there the bug also doesn't show up. Something in the way the package gets built automatically is messed up.
I've verified the behaviour on two different hardwares.
affects: | ubuntu-desktop-versions → ubuntu-meta (Ubuntu) |
This bug prevents me from reinstalling ubuntu-desktop also.