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

Issue 11260033: Fix --enable-stats-table crash on Release builds. (Closed)

Created:
8 years, 1 month ago by hartmanng
Modified:
8 years, 1 month ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews, tonyg, Ian Vollick
Visibility:
Public.

Description

Fix --enable-stats-table crash on Release builds. Currently, using the --enable-stats-table flag when running a Release build of chromium causes a segfault on startup. I traced the issue back to a dangling reference to a local variable that had gone out of scope, so dynamically allocating the variable and storing it as a class member fixes the issue. BUG=137243 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164848

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/app/chrome_main_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hartmanng
This appears to fix the issue for Release builds on linux and windows (VS2010). Please ...
8 years, 1 month ago (2012-10-26 15:49:18 UTC) #1
cpu_(ooo_6.6-7.5)
not sure what this does, can you improve your CL description and maybe reference a ...
8 years, 1 month ago (2012-10-26 22:34:04 UTC) #2
Ian Vollick
On 2012/10/26 22:34:04, cpu wrote: > not sure what this does, can you improve your ...
8 years, 1 month ago (2012-10-26 23:35:01 UTC) #3
hartmanng
On 2012/10/26 23:35:01, vollick wrote: > On 2012/10/26 22:34:04, cpu wrote: > > not sure ...
8 years, 1 month ago (2012-10-26 23:58:36 UTC) #4
cpu_(ooo_6.6-7.5)
lgtm
8 years, 1 month ago (2012-10-29 23:31:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11260033/1
8 years, 1 month ago (2012-10-30 01:22:39 UTC) #6
commit-bot: I haz the power
8 years, 1 month ago (2012-10-30 04:57:05 UTC) #7
Change committed as 164848

Powered by Google App Engine
This is Rietveld 408576698