Closed Bug 904335 Opened 11 years ago Closed 11 years ago

sem_post on all exits from the profiler signal handler

Categories

(Core :: Gecko Profiler, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jld, Assigned: jld)

Details

(Keywords: perf, Whiteboard: [c=profiling p=1 s=2013.08.23 u=])

Attachments

(1 file)

When I fixed the signal handler to use a POSIX semaphore instead of a busy loop to signal completion, I neglected to post to the semaphore on the error exit at the top.  This should be fixed, though I don't know if we can hit that path in practice, because I tried starting with the profiler enabled with a MOZ_CRASH in it and it did not in fact crash.
Attachment #789322 - Flags: review?(bgirard)
Attachment #789322 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/0543d67043d8
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Keywords: perf
Whiteboard: [c=profiling p=1] → [c=profiling p=1 s=2013.08.23 u=]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: