User Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
I was watching a video on youtube. I had plugged in a head phone with my 32 bit laptop running windows 7 OS. My friend came, and he removed the headphone jack from laptop to listen the audio of the video I was watching on youtube.
This has happened now twice. First time automatically firefox crashed and report was submitted. I thought there might be some other problem. Today it happened again, and firefox 7 didn't crashed but hanged. On realizing, I plugged in jack again and then firefox responded back.
Firefox should not have hanged or crashed.
This could be a bug in flash because the flash plugin plays audio and not Firefox.
Can you please post the crash id from about:crashes ?
(In reply to Matthias Versen (Matti) from comment #1)
> This could be a bug in flash because the flash plugin plays audio and not
> Can you please post the crash id from about:crashes ?
It may be bug with flash or may be with my laptop as well because in my friend's laptop, firefox 7 is working well.
But here is the crash report that I submitted just now !
I hope this may help.
This problem is happening with any other flash audio playing site.
By killing plugincontainer.exe process manually, I can resume back the audio.
This was not happening before firefox 7. So I think there is something wrong on firefox's side :)
Happy firefoxing !
>By killing plugincontainer.exe process manually, I can resume back the audio.
Firefox hangs if the plugin inside the plugincontainer hangs. The plugincontainer itself kills the hanging plugin only after a long time.
>This was not happening before firefox 7.
The plugincontainer doesn't do anything with audio, only the plugins that are running inside are accessing the windows audio devices.
I bet that this is caused by an update of the flash plugin.
I can confirm that. It's definitely not flash's fault. I just upgraded to firefox 9 and the promotional video opened (http://www.mozilla.org/en-US/firefox/9.0.1/whatsnew/). I unplugged my headphones and firefox crashed.
Note: It was in windows 7. I don't have any other output device so windows set Digital Audio (S/PDIF) as default playback device after I unplugged the headphones.
Hanged, not crashed to be exact.
>It's definitely not flash's fault.
Why are you sure this not the fault of the flash plugin ?
(In reply to Matthias Versen (Matti) from comment #6)
> Why are you sure this not the fault of the flash plugin ?
Because the video on the site I mentioned is _not_ using flash. It's embedded by html5 <video> tag.
I can reproduce this on Windows 7. Visit http://www.mozilla.org/en-US/firefox/9.0.1/whatsnew/, click play, open the sound control panel, select the playback tab, right click the playing device, and select disable.
I get the following fatal assert in AudioSession::Start:
###!!! ABORT: State invariants violated: 'mState == UNINITIALIZED || mState == CLONED', file c:/work/mozilla-central/widget/windows/AudioSession.cpp, line 210
...where mState is currently STARTED and Start() has been called by AudioSession::OnSessionDisconnectedInternal().
Nice, I reproduced using the steps in Comment 8.
Created attachment 598099 [details] [diff] [review]
Code has been this way since it was introduced last year in July in bug 441197
The crash signature is not the same as the one indicated in the bug, but this fixes the crash mentioned in Comment 8. Please let me know if I should post a new bug for this instead.
(In reply to Brian R. Bondy [:bbondy] from comment #11)
> The crash signature is not the same as the one indicated in the bug, but
> this fixes the crash mentioned in Comment 8. Please let me know if I should
> post a new bug for this instead.
Can you provide your crash ID in order to be added in the crash signature field and tracked in Socorro?
Also updated the signature field above.
Fixed the crash signature that this fix was related to back to Comment 13.