The default bug view has changed. See this FAQ.

Built in Profiler hangs the browser on Windows

RESOLVED FIXED in mozilla12

Status

()

Core
General
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: BenWa, Assigned: Ehsan)

Tracking

Trunk
mozilla12
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
STR:
1) Run nightly
2) Install the addon: https://builder.addons.mozilla.org/addon/1023834/latest/
3) User the browser and dump some profiles.

The browser should hang shortly after.
(Reporter)

Updated

5 years ago
OS: Mac OS X → Windows 7
(Reporter)

Updated

5 years ago
Blocks: 713227
(Assignee)

Comment 1

5 years ago
Created attachment 584095 [details] [diff] [review]
Patch (v1)

So the reason that this happens is that TimeStamp::Now() tries to hold a critical section, and if the mainthread has already acquired that lock and is currently paused, a deadlock occurs.

A simple fix is to grab the timestamp before pausing the main thread.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #584095 - Flags: review?(bgirard)
(Reporter)

Updated

5 years ago
Attachment #584095 - Flags: review?(bgirard) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/45206fca898d
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/45206fca898d
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.