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

Issue 2808079: Mac: Fix broken valgrind suppressions. (Closed)

Created:
10 years, 4 months ago by Nico
Modified:
9 years, 7 months ago
Reviewers:
Robert Sesek, Lei Zhang
CC:
chromium-reviews, Timur Iskhodzhanov, stuartmorgan, pam+watch_chromium.org, Alexander Potapenko, Paweł Hajdan Jr., jeremy
Visibility:
Public.

Description

Mac: Fix broken valgrind suppressions. They don't work locally for me, and on the bots only Mac_Sandbox_Intentional_Leak3 is getting used, which is overly wide. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54141

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -46 lines) Patch
M chrome/common/sandbox_mac_unittest_helper.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/valgrind/unit_tests.gtest_mac.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/valgrind/memcheck/suppressions_mac.txt View 1 2 1 chunk +1 line, -39 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
10 years, 4 months ago (2010-07-29 16:37:02 UTC) #1
Nico
(Ignore the inline diff, there's a new one at codereview) On Thu, Jul 29, 2010 ...
10 years, 4 months ago (2010-07-29 16:39:59 UTC) #2
Robert Sesek
http://codereview.chromium.org/2808079/diff/3001/4002 File tools/valgrind/memcheck/suppressions_mac.txt (left): http://codereview.chromium.org/2808079/diff/3001/4002#oldcode251 tools/valgrind/memcheck/suppressions_mac.txt:251: fun:_Z41__static_initialization_and_destruction_0ii Is this suppression still needed? Your modification to ...
10 years, 4 months ago (2010-07-29 16:42:35 UTC) #3
Nico
http://codereview.chromium.org/2808079/diff/3001/4002 File tools/valgrind/memcheck/suppressions_mac.txt (left): http://codereview.chromium.org/2808079/diff/3001/4002#oldcode251 tools/valgrind/memcheck/suppressions_mac.txt:251: fun:_Z41__static_initialization_and_destruction_0ii On 2010/07/29 16:42:35, rsesek wrote: > Is this ...
10 years, 4 months ago (2010-07-29 16:48:56 UTC) #4
Robert Sesek
LGTM http://codereview.chromium.org/2808079/diff/3001/4002 File tools/valgrind/memcheck/suppressions_mac.txt (left): http://codereview.chromium.org/2808079/diff/3001/4002#oldcode251 tools/valgrind/memcheck/suppressions_mac.txt:251: fun:_Z41__static_initialization_and_destruction_0ii On 2010/07/29 16:48:56, Nico wrote: > On ...
10 years, 4 months ago (2010-07-29 16:54:26 UTC) #5
Lei Zhang
Hrm. Already committed. The story goes like this: a. Chromium Mac was running fine. b. ...
10 years, 4 months ago (2010-07-29 18:47:12 UTC) #6
Nico
On Thu, Jul 29, 2010 at 11:47 AM, <thestig@chromium.org> wrote: > Hrm. Already committed. > ...
10 years, 4 months ago (2010-07-29 19:32:40 UTC) #7
Lei Zhang
On 2010/07/29 19:32:40, Nico wrote: > On Thu, Jul 29, 2010 at 11:47 AM, <mailto:thestig@chromium.org> ...
10 years, 4 months ago (2010-07-29 19:38:40 UTC) #8
Nico
On Thu, Jul 29, 2010 at 12:38 PM, <thestig@chromium.org> wrote: > On 2010/07/29 19:32:40, Nico ...
10 years, 4 months ago (2010-07-29 20:34:41 UTC) #9
Nico
10 years, 4 months ago (2010-07-29 20:47:22 UTC) #10
On Thu, Jul 29, 2010 at 1:34 PM, Nico Weber <thakis@chromium.org> wrote:
> On Thu, Jul 29, 2010 at 12:38 PM,  <thestig@chromium.org> wrote:
>> On 2010/07/29 19:32:40, Nico wrote:
>>>
>>> On Thu, Jul 29, 2010 at 11:47 AM,  <mailto:thestig@chromium.org> wrote:
>>> > Hrm. Already committed.
>>> >
>>> > The story goes like this:
>>> > a. Chromium Mac was running fine.
>>> > b. We had some intentional leaks -> suppressions 1 and 2
>>> > c. Chromium Mac no longer links.
>>> > d. We had some hacks to make it all work
>>> > e. The stack trace for the intentional leaks changed -> suppression 3
>>
>>> But suppression 3 suppresses _everything_ allocated by static
>>> initalizers. Isn't that a bit much?
>>
>> That's how it shows up on the Mac Valgrind bot. If you look at:
>>
http://build.chromium.org/buildbot/memory/builders/Chromium%20Mac%20(valgrind...
>>
>> you'll see suppression 3 no longer gets hit and we go red instead.
>
> :-(
>
> I'll revert that part of this CL then.

http://codereview.chromium.org/3056032

>
>>
>> http://codereview.chromium.org/2808079/show
>>
>

Powered by Google App Engine
This is Rietveld 408576698