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

Issue 7464013: Register signal handlers after shutdown pipe is setup. (Closed)

Created:
9 years, 5 months ago by oshima
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Register signal handlers after shutdown pipe is setup. Chrome fails at RAW_CHECK(g_shutdown_pipe_write_fd != -1) if it receives signal in a window where signal handlers are registered, but shutdown pipe isn't setup yet. BUG=chromium-os:17606 TEST=autotest with session manager sending SIGTERM no longer crash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100739

Patch Set 1 #

Total comments: 7

Patch Set 2 : " #

Patch Set 3 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -21 lines) Patch
M chrome/browser/browser_main_posix.cc View 1 2 3 chunks +24 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/login/base_login_display_host.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
oshima
9 years, 5 months ago (2011-07-20 20:15:27 UTC) #1
Chris Masone
On 2011/07/20 20:15:27, oshima wrote: This seems to Chrome OS in a state where a ...
9 years, 5 months ago (2011-07-21 01:40:19 UTC) #2
viettrungluu
I think this is okay. Things obviously currently don't/can't work properly in the window before ...
9 years, 5 months ago (2011-07-21 18:00:20 UTC) #3
Chris Masone
On 2011/07/21 18:00:20, viettrungluu wrote: > I think this is okay. Things obviously currently don't/can't ...
9 years, 5 months ago (2011-07-21 18:03:07 UTC) #4
oshima
We can catch signal early, but there is little we can do there other than ...
9 years, 5 months ago (2011-07-22 01:36:30 UTC) #5
Chris Masone
I got this CHECK() failure when I patched this into a build from yesterday: [21181:21200:167439799220:FATAL:login_utils.cc(100)] ...
9 years, 5 months ago (2011-07-22 16:53:12 UTC) #6
oshima
On Fri, Jul 22, 2011 at 9:53 AM, <cmasone@chromium.org> wrote: > I got this CHECK() ...
9 years, 5 months ago (2011-07-22 16:58:35 UTC) #7
Chris Masone
I already did...[21181:21200:167439799220:FATAL:login_utils.cc(100)] Check failed: getter. On Fri, Jul 22, 2011 at 9:58 AM, oshima ...
9 years, 5 months ago (2011-07-22 17:10:40 UTC) #8
oshima
Oh, sorry about that. I guess i'm stressed out now :( - oshima On Fri, ...
9 years, 5 months ago (2011-07-22 17:12:33 UTC) #9
Chris Masone
Sorry, man :-( On a ToT build I get this CHECK(): [22574:22574:172453820921:FATAL:content_settings_utils.cc(74)] Check failed: pattern_pair.second.IsValid(). ...
9 years, 5 months ago (2011-07-22 17:14:18 UTC) #10
oshima
Actually, http://codereview.chromium.org/7466030 might have fixed that CHECK. But again, it may have another CHECK error. ...
9 years, 5 months ago (2011-07-22 17:20:54 UTC) #11
oshima
Run suite_Smoke and passed. Here is what i did. * install latest test image * ...
9 years, 5 months ago (2011-07-22 23:04:11 UTC) #12
oshima
Friendly ping. On 2011/07/22 23:04:11, oshima wrote: > Run suite_Smoke and passed. > > Here ...
9 years, 5 months ago (2011-07-25 00:39:46 UTC) #13
Chris Masone
Ping to me? It's the weekend, I've been away :-) I just synced chrome os ...
9 years, 5 months ago (2011-07-25 03:20:19 UTC) #14
oshima
On Mon, Jul 25, 2011 at 12:19 PM, Chris Masone <cmasone@chromium.org> wrote: > Ping to ...
9 years, 5 months ago (2011-07-25 05:57:48 UTC) #15
Chris Masone
On Sunday, July 24, 2011, oshima wrote: > > On Mon, Jul 25, 2011 at ...
9 years, 5 months ago (2011-07-25 14:43:02 UTC) #16
oshima
I did test on vm and it indeed had crash, although it was sig11. I've ...
9 years, 5 months ago (2011-07-27 01:13:00 UTC) #17
oshima
I changed the code to use static instead of singleton and test no longer crashes. ...
9 years, 5 months ago (2011-07-27 07:28:11 UTC) #18
oshima
crosbug.com/18269 has been resolved and this is ready. viettrungluu, could you please review this again?
9 years, 3 months ago (2011-09-07 16:25:57 UTC) #19
viettrungluu
LGTM on the change to browser_main_posix.cc; I have no idea about the change to the ...
9 years, 3 months ago (2011-09-08 16:03:53 UTC) #20
oshima
+nikita as cmasone is on vacation. Nikita, this fixes a crash that happens when chrome ...
9 years, 3 months ago (2011-09-08 17:03:51 UTC) #21
Nikita (slow)
9 years, 3 months ago (2011-09-12 12:29:44 UTC) #22
LGTM chromeos/login

Powered by Google App Engine
This is Rietveld 408576698