Closed Bug 964629 Opened 10 years ago Closed 6 years ago

Shutdown hang waiting on the media decoder

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: ehsan.akhgari, Unassigned)

Details

Attachments

(1 file)

Attached file Process sample
I got this hang when shutting down a long running browser session.
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)
Flags: needinfo?(ehsan)
(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.
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
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: