User Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20130107124423 Steps to reproduce: Open a Facebook tab. Move to a different tab, leaving Facebook in the background. Have someone send you a message. Actual results: Firefox crashes. Expected results: Firefox should not have crashed... ;-)
Please provide a crash ID from about:crashes. The internal crash reporter is only available in Mozilla.org builds and AFAIK Ubuntu builds. Are you on 17ESR or on 17 (FF18 is the latest Release) ?
crash ID: bp-154b9245-384e-49ff-ae62-dd07b2130122 I'm running 17.0.2 on Gentoo (just upgraded from ca. 11 or whatever it was). 18.0 is in Portage but it's masked. I'll give it a whirl if that's all the info you want from me on 17.0.2.
17.0.2 is an ESR build. ESR= Enhanced support release while that is mostly limited to security fixes. You crash is sound related and probably a bug in the system lib "libasound.so.2.0.0"
Severity: normal → critical
Crash Signature: [@ libc-2.15.so@0x2fa8d ]
Component: Untriaged → Video/Audio
Product: Firefox → Core
Thanks for the report. Would you mind running the alsa-info.sh script and attaching the resulting output to this bug? The script is available here: http://git.alsa-project.org/?p=alsa-driver.git;a=history;f=utils/alsa-info.sh Also, can you please confirm whether the crash happens after taking the following steps: 1. Open about:config 2. Right click, New->Boolean 3. Create a new boolean pref named "media.use_cubeb" and set the value to false 4. Restart Firefox 5. Try to reproduce the crash After testing, please reset the pref to the default by right clicking it and selecting "Reset".
With media.use_cubeb set to false, everything is normal. :-)
Thanks Martin. That pref is only a temporary fix as the code (the old audio backend) it uses will be removed in the future. Can you please attach the alsa-info.sh output? With that information available I can work on reproducing and fixing the root cause.
No luck reproducing this so far.
See Also: → bug 791112
Summary: Firefox crashes upon receiving Facebook messages in the background. → Firefox crashes upon receiving Facebook messages in the background with media.use_cubeb=true
Crash Signature: [@ libc-2.15.so@0x2fa8d ] → [@ libc-2.15.so@0x2fa8d ] [@ libasound.so.2.0.0@0x6dd0b ]
Updated the bug subject as the workaround no longer exists (the old code was removed). Crash report from bug 947757: (In reply to Martin Swift from comment #3) > Here's one: bp-80796a99-b064-40b4-8fcc-644c82131209
Summary: Firefox crashes upon receiving Facebook messages in the background with media.use_cubeb=true → Firefox crashes upon receiving Facebook messages in the background
We're crashing inside libasound when calling: r = snd_pcm_set_params(stm->pcm, format, SND_PCM_ACCESS_RW_INTERLEAVED, stm->params.channels, stm->params.rate, 1, latency * 1000); The actual crash is a SIGABRT, which suggests we're hitting an assert or otherwise deliberate termination. There are no direct calls to abort() in libasound (at least in my copy), so it's most likely an assert. Martin, is it possible for you to install debug symbols for libasound and catch this in a debugger? Otherwise, without a way to reproduce it locally it's going to be quite hard to track down. I'm happy to help out on IRC if that's useful, grab me in #media on irc.mozilla.org, I'm "kinetik".
I know karlt runs Gentoo, not sure if it's with or without PulseAudio, but it might be worth asking him to try to reproduce this.
I'm probably not going to find time to look at this, sorry. Usually SIGABRT comes with a message to stderr to hint at the nature the unexpected situation. If all else fails, installing pulseaudio will probably workaround the issue.
Component: Audio/Video → Audio/Video: Playback
Are you still seeing this issue when using a current version of Firefox?
Summary: Firefox crashes upon receiving Facebook messages in the background → Firefox crashes in sound upon receiving Facebook messages in the background
Whiteboard: [closeme 2015-12-10]
No. I'm not sure whether I used a workaround, but I'm not experiencing this bug. Might well have disappeared with a code rewrite.
Resolved per whiteboard and Comment 15
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
Whiteboard: [closeme 2015-12-10]
You need to log in before you can comment on or make changes to this bug.