Closed
Bug 1339435
Opened 9 years ago
Closed 9 years ago
Threading assertion failure in profiler_time(const mozilla::TimeStamp& aTime)
Categories
(Core :: Gecko Profiler, defect)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox54 | --- | fixed |
People
(Reporter: jseward, Assigned: n.nethercote)
Details
Attachments
(3 files)
This ..
double
profiler_time(const mozilla::TimeStamp& aTime)
{
MOZ_RELEASE_ASSERT(NS_IsMainThread());
.. fails. It was seen running on "Thread 26 DOM Worker".
I had trouble capturing a stack with GDB -- it froze up my desktop --
but finally it crashed in valgrind. Details in the attachment.
| Reporter | ||
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
STR: I am not sure if all of the following are really necessary,
but anyway:
1. Build on Linux with assertions enabled.
2. Start the build and disable e10s [probably not required]
3. Restart. Click on the profiler's button, then "Settings"
and change the text in the Threads box to
"GeckoMain,Compositor,_,Stream"
[I don't know whether this is necessary.]
4. Click on "Apply (Restart Profiler)"
5. "Generally use" the profiler for a couple of minutes (start, stop,
view profile, browse). It crashes pretty quickly.
| Reporter | ||
Comment 3•9 years ago
|
||
| Reporter | ||
Comment 4•9 years ago
|
||
Hmm, that's a MOZ_RELEASE_ASSERT, so maybe --enable-debug isn't needed.
| Assignee | ||
Comment 5•9 years ago
|
||
Thank you for the report. When I added those assertions, I just stuck them everywhere and then removed the ones that triggered during local execution and a try push. So clearly that was insufficient coverage. It's trivial to remove them; patch coming up shortly.
| Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8837405 -
Flags: review?(jseward)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
| Reporter | ||
Updated•9 years ago
|
Attachment #8837405 -
Flags: review?(jseward) → review+
| Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0f27caeb444fc0871bc8e4bb9872391f872cc59
Bug 1339435 - Fix bogus assertion in both profiler_time() variants. r=jseward.
Comment 8•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•