Closed Bug 1308629 Opened 8 years ago Closed 2 years ago

Firefox goes Not Responding (or crashes) on Quit

Categories

(Core :: Audio/Video: Playback, defect, P2)

49 Branch
x86_64
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: steve.chessin, Unassigned)

References

Details

(Keywords: crash, stale-bug)

Crash Data

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160817112116

Steps to reproduce:

Command-Q to Firefox


Actual results:

All the Firefox windows closed, but Firefox itself did not exit. Activity Monitor showed it Not Responding. I had to Force Quit it. (On occasion, a second Quit through Activity Monitor, instead of a Force Quit, would cause it to crash, with Crash Reporter opening up.)


Expected results:

It should have eventually exited.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Crash Signature: [@ AsyncShutdownTimeout | profile-before-change | MediaShutdownManager: shutdown ] [@ shutdownhang | libsystem_kernel.dylib@0x15716 ] [@ shutdownhang | libsystem_kernel.dylib@0x15716 ]
See Also: → 1295663
See Also: → 1135562
Flags: needinfo?(ajones)
Keywords: crash
Jean-Yves - do you want this one?
Flags: needinfo?(ajones) → needinfo?(jyavenard)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0

I have tested this issue on Mac OS 10.9 x64 with the latest Firefox release (49.0.1) and the latest Nightly (52.0a1-20161011030212) and could not reproduce it.
After opening the browser, when closing it using the keyboard shortcut (Command-Q), the browser immediately closes, also when checking the Activity Monitor, the browser process doesn't show up after the window closes.

Based on the crash reports submitted  by the reporter I will move this to JavaScript Engine, maybe someone with extensive knowledge on this area could provide some feedback for this issue.
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
There are several threads in mozilla::H264Converter::Init -> mozilla::AppleVTDecoder::Init -> mozilla::AppleVTDecoder::InitializeSession.
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Audio/Video: Playback
Ever confirmed: true
Could you please retry in 50?

An issue with the AAC decoder was fixed there.
Flags: needinfo?(jyavenard) → needinfo?(steve.chessin)
(In reply to Jean-Yves Avenard [:jya] from comment #7)
> Could you please retry in 50?
> 
> An issue with the AAC decoder was fixed there.

It happens with 50. See
https://crash-stats.mozilla.com/report/index/bp-ec6878c7-2ba8-4412-bcfb-75fb32161128

It may or may not be related to bug 1309012.
Flags: needinfo?(steve.chessin)
Yeah, so we have a few Apple hardware h264 decoder stuck. 
Must be a bug in apple framework. The GPU on that very old mac could only handle a set number of decoders (4 Iirc). And we have exactly 4 stuck here.  

A mate of mine reported the same trouble on an old MacBook Air also with a nvidia gpu.
Maybe we should also be running the Mac decoders in a compositor process.
Priority: -- → P1
See Also: → 1328147
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
Depends on: 1405290
Depends on: 1437575

Just wanted to let you know that Firefox still frequently crashes on Quit. Crash Reporter says it sends the report to Mozilla, but it's not clear to me that anyone actually receives it. (This was with 73.0.1 and 74.0.0. I just upgraded to 74.0.1 so don't know if it still happens.)

It still happens. It happened today with FF 78.0.2.

(In reply to Steve Chessin from comment #14)

It still happens. It happened today with FF 78.0.2.

Is this still an issue using 78.7.0 (or 85)?

(In reply to Arthur K. [He/Him/His] from comment #15)

(In reply to Steve Chessin from comment #14)

It still happens. It happened today with FF 78.0.2.

Is this still an issue using 78.7.0 (or 85)?

I'm still on 78.0.2. "About Firefox" tells me I'm up-to-date. When I Quit Firefox (which I do on a weekly basis, just prior to shutting down my MacBook so I can clean the screen and recover from various memory leaks), eventually Crash Reporter comes up and says it will send in the report and asks if I want to Quit or Restart Firefox. I tell it to Quit. I don't know if it actually submits the crash reports or not. about:crashes shows two unsubmitted crash reports since July 27, 2020, which is when I upgraded to 78.0.2. I'll submit them and clear the rest.

I scrolled down towards the bottom of about:crashes and see that it also lists Submitted Crash Reports. I see that it submitted reports on 1/25/21, 1/19/21, 1/18/21, 1/11/21, etc., so I guess Crash Reporter does submit the reports (since I didn't manually submit those). You learn something new every day :-).

(In reply to Steve Chessin from comment #16)

(In reply to Arthur K. [He/Him/His] from comment #15)

(In reply to Steve Chessin from comment #14)

It still happens. It happened today with FF 78.0.2.

Is this still an issue using 78.7.0 (or 85)?

I'm still on 78.0.2. "About Firefox" tells me I'm up-to-date. When I Quit Firefox (which I do on a weekly basis, just prior to shutting down my MacBook so I can clean the screen and recover from various memory leaks), eventually Crash Reporter comes up and says it will send in the report and asks if I want to Quit or Restart Firefox. I tell it to Quit. I don't know if it actually submits the crash reports or not. about:crashes shows two unsubmitted crash reports since July 27, 2020, which is when I upgraded to 78.0.2. I'll submit them and clear the rest.

That can't be working right if it's telling you 78.0.2 is current. Try going to https://www.thunderbird.net/en-US/thunderbird/all/ and grabbing the Mac version and updating manually and see what's up. I'm guessing you had a failed update and now it's stuck.

Why would I go to https://www.thunderbird.net/en-US/thunderbird/all/ to grab a version of Firefox?

(In reply to Steve Chessin from comment #19)

Why would I go to https://www.thunderbird.net/en-US/thunderbird/all/ to grab a version of Firefox?

Sorry, I was in the middle of looking at a Thunderbird bug when I wrote this. Here's a direct download for 78.7.0: https://ftp.mozilla.org/pub/firefox/releases/78.7.0esr/mac/en-US/Firefox%2078.7.0esr.dmg

Please try updating manually and see if it helps. Do report back.

(In reply to Steve Chessin from comment #13)

Just wanted to let you know that Firefox still frequently crashes on Quit.

Still happens?

Flags: needinfo?(steve.chessin)
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(steve.chessin)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.