Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Issue 2221063004: Make the SandboxSymbolizeHelper Singleton Leaky and Enable Impacted Test (Closed)

Created:
4 years, 4 months ago by robliao
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang, gab
CC:
chromium-reviews, fdoray
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the SandboxSymbolizeHelper Singleton Leaky and Enable Impacted Test If the SandboxSymbolizeHelper Singleton is obtained on a non-joinable thread, that singleton itself will assert and attempt to symbolize the current stack, resulting in another request to get the SandboxSymbolizeHelper Singleton, ultimately resulting in a stack overflow. Since the symbolizer is expected to last the entire process, it can be leaky. TaskSchedulerTaskTrackerTest SingletonAllowed Tests on POSIX can be run after this fix, so it's enabled here as well. BUG=634552 Committed: https://crrev.com/63f454db7093f1f578fc04632c5f5423eba14cd3 Cr-Commit-Position: refs/heads/master@{#410792}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move SandboxSymbolizeHelper Into Anonymous Namespace #

Patch Set 3 : Add In Task Tracker Unit Test Enable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M base/debug/stack_trace_posix.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M base/task_scheduler/task_tracker_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (24 generated)
robliao
thestig: Please review this change. Thanks!
4 years, 4 months ago (2016-08-09 00:29:35 UTC) #9
Lei Zhang
lgtm https://codereview.chromium.org/2221063004/diff/1/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/2221063004/diff/1/base/debug/stack_trace_posix.cc#newcode447 base/debug/stack_trace_posix.cc:447: } // namespace BTW, this can be moved ...
4 years, 4 months ago (2016-08-09 00:39:28 UTC) #12
gab
lgtm, thanks Also remove #if !defined(OS_LINUX) in TaskSchedulerTaskTrackerTest associated with this bug.
4 years, 4 months ago (2016-08-09 16:31:06 UTC) #14
robliao
>Also remove #if !defined(OS_LINUX) in TaskSchedulerTaskTrackerTest associated with this bug. Done. https://codereview.chromium.org/2229873002/ https://codereview.chromium.org/2221063004/diff/1/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc ...
4 years, 4 months ago (2016-08-09 18:06:52 UTC) #17
gab
On 2016/08/09 18:06:52, robliao wrote: > >Also remove #if !defined(OS_LINUX) in TaskSchedulerTaskTrackerTest associated > with ...
4 years, 4 months ago (2016-08-09 18:07:47 UTC) #18
robliao
On 2016/08/09 18:07:47, gab wrote: > On 2016/08/09 18:06:52, robliao wrote: > > >Also remove ...
4 years, 4 months ago (2016-08-09 18:21:43 UTC) #19
gab
On 2016/08/09 18:21:43, robliao wrote: > On 2016/08/09 18:07:47, gab wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 19:19:58 UTC) #22
robliao
On 2016/08/09 19:19:58, gab wrote: > On 2016/08/09 18:21:43, robliao wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 19:24:34 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2221063004/40001
4 years, 4 months ago (2016-08-09 20:12:57 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-09 20:18:11 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 20:21:45 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/63f454db7093f1f578fc04632c5f5423eba14cd3
Cr-Commit-Position: refs/heads/master@{#410792}

Powered by Google App Engine
This is Rietveld 408576698