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

Issue 424613003: Add debug code to help understand SEGV in ~ErrorScreen. (Closed)

Created:
6 years, 4 months ago by Thiemo Nagel
Modified:
6 years, 4 months ago
Reviewers:
ygorshenin1
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add debug code to help understand SEGV in ~ErrorScreen. BUG=396557 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289279

Patch Set 1 #

Patch Set 2 : Use pointer instead of uint. #

Total comments: 2

Patch Set 3 : Fix volatile qualifier. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M chrome/browser/chromeos/login/screens/error_screen.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/error_screen.cc View 1 1 chunk +12 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Thiemo Nagel
Hi Yuri, what would you think about this approach? (I'm certainly not an expert in ...
6 years, 4 months ago (2014-08-01 15:01:19 UTC) #1
Thiemo Nagel
Friendly ping.
6 years, 4 months ago (2014-08-07 14:28:19 UTC) #2
ygorshenin1
Sorry for the delay in response - I was OOO. Good idea, thanks! LGTM
6 years, 4 months ago (2014-08-12 15:13:38 UTC) #3
ygorshenin1
nit: probably it worth to make both canaries volatile - just to prevent smart optimizations ...
6 years, 4 months ago (2014-08-12 15:15:35 UTC) #4
Thiemo Nagel
volatile sounds like a good idea. I've also changed the uint to a void* so ...
6 years, 4 months ago (2014-08-12 16:01:15 UTC) #5
ygorshenin1
https://codereview.chromium.org/424613003/diff/20001/chrome/browser/chromeos/login/screens/error_screen.h File chrome/browser/chromeos/login/screens/error_screen.h (right): https://codereview.chromium.org/424613003/diff/20001/chrome/browser/chromeos/login/screens/error_screen.h#newcode106 chrome/browser/chromeos/login/screens/error_screen.h:106: volatile void* canary_1_; // For debugging of https://crbug.com/396557. As ...
6 years, 4 months ago (2014-08-13 08:36:51 UTC) #6
Thiemo Nagel
https://codereview.chromium.org/424613003/diff/20001/chrome/browser/chromeos/login/screens/error_screen.h File chrome/browser/chromeos/login/screens/error_screen.h (right): https://codereview.chromium.org/424613003/diff/20001/chrome/browser/chromeos/login/screens/error_screen.h#newcode106 chrome/browser/chromeos/login/screens/error_screen.h:106: volatile void* canary_1_; // For debugging of https://crbug.com/396557. The ...
6 years, 4 months ago (2014-08-13 09:38:48 UTC) #7
ygorshenin1
It looks like you need to replace "volatile void*" by "void* volatile" since only in ...
6 years, 4 months ago (2014-08-13 10:22:09 UTC) #8
Thiemo Nagel
Thanks. C is hard. Are you happy with the latest version?
6 years, 4 months ago (2014-08-13 11:26:40 UTC) #9
ygorshenin1
Thanks Thiemo, LGTM!
6 years, 4 months ago (2014-08-13 11:58:27 UTC) #10
Thiemo Nagel
Thank you, too!
6 years, 4 months ago (2014-08-13 12:06:00 UTC) #11
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 4 months ago (2014-08-13 12:06:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/424613003/40001
6 years, 4 months ago (2014-08-13 12:06:42 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 13:20:00 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289279

Powered by Google App Engine
This is Rietveld 408576698