Closed Bug 658177 Opened 13 years ago Closed 13 years ago

gVolumeScaleLock deadlock

Categories

(Core :: Audio/Video, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: cpearce, Assigned: cpearce)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
No good deed goes unpunished. I landed Bug 652475 today, but that introduced a potential deadlock with `make xpcshell-tests`. It never showed up on TryServer for some reason, but aborts locally for me with a warning about potential deadlock.

http://pastebin.mozilla.org/1229597

The problem is I take the gVolumeScaleLock  and then read the media.volume_sale pref. I imagine that's taking a lock.
Attachment #533538 - Flags: review?(roc)
Comment on attachment 533538 [details] [diff] [review]
Patch

Review of attachment 533538 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #533538 - Flags: review?(roc) → review+
http://hg.mozilla.org/mozilla-central/rev/7ef763ba534b
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: