Shutdown hang waiting on the media decoder

NEW
Unassigned

Status

()

Core
Audio/Video: Playback
4 years ago
2 years ago

People

(Reporter: Away for a while, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8366469 [details]
Process sample

I got this hang when shutting down a long running browser session.

Comment 1

4 years ago
Bug 964354 could be the same issue. Could you give the test case there a try?

Also, I've been recently getting occasional hangs in Aurora after long browser sessions as well. Is there somewhere you could point me so I could figure out how to get a usable shutdown hang stack for Linux? (I'm using a normal Aurora release downloaded from FTP)

Updated

4 years ago
Flags: needinfo?(ehsan)
(Reporter)

Comment 2

4 years ago
(In reply to Dave Garrett from comment #1)
> Bug 964354 could be the same issue. Could you give the test case there a try?

No, this was a browser instance that I used for several days.  I'm not sure what triggers the bug but the process sample I attached should be enough to figure out how the deadlock happens at least.

> Also, I've been recently getting occasional hangs in Aurora after long
> browser sessions as well. Is there somewhere you could point me so I could
> figure out how to get a usable shutdown hang stack for Linux? (I'm using a
> normal Aurora release downloaded from FTP)

You can attach gdb to the process and run: thread apply all bt, and file a bug report with the gdb output attached.
Flags: needinfo?(ehsan)
Not much to go on in that sample. Decode threads that are waiting for something aren't shutdown, blocking the media state machine shutdown. Reliable STR would be great, and I'm sure hard to get.
(Reporter)

Comment 4

4 years ago
Actually this seems a bit similar to what Andrew saw last week, except that it was on Linux.  Andrew, do you have the bug# handy?
Flags: needinfo?(overholt)
Bug 961197 is the one I filed.
Flags: needinfo?(overholt)
Component: Audio/Video → Audio/Video: Playback
You need to log in before you can comment on or make changes to this bug.