Closed
Bug 1050185
Opened 10 years ago
Closed 10 years ago
Make ThreadStackHelper::FillThreadContext Valgrind-friendly
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: jseward, Assigned: jseward)
Details
Attachments
(1 file)
1.78 KB,
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
ThreadStackHelper::FillThreadContext takes a snapshot of a thread's stack, which may later get presented to Breakpad in the same process for unwinding, at least as part of the hang detection/reporting machinery. Because the stack may contain uninitialised holes, this causes Valgrind to complain later when Breakpad processes the stack. A simple solution is to mark the copied data as initialised. This has no performance or functionality effects for production builds.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8469169 -
Flags: review?(nchen)
Comment 2•10 years ago
|
||
Comment on attachment 8469169 [details] [diff] [review] Fix Review of attachment 8469169 [details] [diff] [review]: ----------------------------------------------------------------- Thank you!
Attachment #8469169 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f3d60e703ba
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5f3d60e703ba
Assignee: nobody → jseward
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•