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

Issue 465163002: Revert 289067 "Use RE string pattern matching for blacklist stri..." (Closed)

Created:
6 years, 4 months ago by oshima
Modified:
6 years, 4 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 289067 "Use RE string pattern matching for blacklist stri..." Reason for revert: uninitialize memory access http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Mac%20%28valgrind%29%282%29/builds/29469/steps/memory%20test%3A%20content/logs/stdio > Use RE string pattern matching for blacklist strings. > > Including cpu_brand, gl_vendor, gl_renderer, gl_extension, driver_vendor, > and machine_model_name. > > BUG=396578 > TBR=piman@chromium.org > TEST=gpu_unittests > > Review URL: https://codereview.chromium.org/452293002 TBR=zmo@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289154

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+464 lines, -298 lines) Patch
M trunk/src/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M trunk/src/gpu/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list.h View 4 chunks +41 lines, -10 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list.cc View 14 chunks +103 lines, -44 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list_entry_unittest.cc View 9 chunks +34 lines, -166 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list_format.txt View 3 chunks +11 lines, -9 lines 0 comments Download
A + trunk/src/gpu/config/gpu_control_list_string_info_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M trunk/src/gpu/config/gpu_driver_bug_list_json.cc View 33 chunks +149 lines, -38 lines 0 comments Download
M trunk/src/gpu/config/software_rendering_list_json.cc View 20 chunks +113 lines, -29 lines 0 comments Download
M trunk/src/gpu/gpu.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
oshima
6 years, 4 months ago (2014-08-13 01:47:36 UTC) #1
oshima
Committed patchset #1 manually as r289154.
6 years, 4 months ago (2014-08-13 01:47:44 UTC) #2
Zhenyao Mo
On 2014/08/13 01:47:44, oshima wrote: > Committed patchset #1 manually as r289154. Are you sure ...
6 years, 4 months ago (2014-08-13 02:09:58 UTC) #3
oshima
On 2014/08/13 02:09:58, Zhenyao Mo wrote: > On 2014/08/13 01:47:44, oshima wrote: > > Committed ...
6 years, 4 months ago (2014-08-13 02:34:07 UTC) #4
Zhenyao Mo
On 2014/08/13 02:34:07, oshima wrote: > On 2014/08/13 02:09:58, Zhenyao Mo wrote: > > On ...
6 years, 4 months ago (2014-08-13 02:46:36 UTC) #5
oshima
On 2014/08/13 02:46:36, Zhenyao Mo wrote: > On 2014/08/13 02:34:07, oshima wrote: > > On ...
6 years, 4 months ago (2014-08-13 03:46:27 UTC) #6
oshima
On 2014/08/13 03:46:27, oshima wrote: > On 2014/08/13 02:46:36, Zhenyao Mo wrote: > > On ...
6 years, 4 months ago (2014-08-13 06:38:01 UTC) #7
oshima
6 years, 4 months ago (2014-08-13 15:53:22 UTC) #8
Message was sent while issue was closed.
On 2014/08/13 06:38:01, oshima wrote:
> On 2014/08/13 03:46:27, oshima wrote:
> > On 2014/08/13 02:46:36, Zhenyao Mo wrote:
> > > On 2014/08/13 02:34:07, oshima wrote:
> > > > On 2014/08/13 02:09:58, Zhenyao Mo wrote:
> > > > > On 2014/08/13 01:47:44, oshima wrote:
> > > > > > Committed patchset #1 manually as r289154.
> > > > > 
> > > > > Are you sure this is the right action?  I searched chromium codebase
and
> > > there
> > > > > are multiple use cases of re2::FullMatch().  Whatever issue you are
> > seeing,
> > > > it's
> > > > > likely false alarm.
> > > > 
> > > > Yes, this is the right action, given that:
> > > > 
> > > > a) It's uninitialized memory access, not just a leak.
> > > > b) The stack has gpu::GpuControlList::GpuControlListEntry
> > > > c) and your CL is the only CL in the blame list that touches it.
> > > > 
> > > > I'll reland if it didn't fix the issue.
> > > 
> > > Look at the code:
> > >
> >
>
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/re2/ut...
> > > 
> > > It is apparently not an access of uninitialized variabled.  It is to
> > initialize
> > > the variable.
> > > 
> > > I think this CL should be relanded and the failures should be supressed.
> > 
> > This is still right *action* to do. Please understand that sheriff's
> > responsibility is to
> > keep bots green, not to identify the root cause nor fixing the bug. If the
> > suppression is
> > the right thing to do, I'm fine with that.
> > 
> > That's being said, I don't fully understand why we don't have suppression
for
> > this already
> > even though there are other usages of RE2::FullMatch like you said (although
> > there seems to be not many).
> > 
> > Do you have good explanation for this?
> 
> Ok, I found the bug crbug.com/252641, so this seems to be known. I'll suppress
> and reland your CL.

I'm working on this right now.

Powered by Google App Engine
This is Rietveld 408576698