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

Issue 155498: Noticed a crash in BrowserRenderProcessHost::SendUserScriptsUpdate due to usi... (Closed)

Created:
11 years, 5 months ago by robertshield
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, Ben Goodger (Google)
Visibility:
Public.

Description

Noticed a crash in BrowserRenderProcessHost::SendUserScriptsUpdate due to using channel_->send() directly (instead of BrowserRenderProcessHost::Send() which checks whether channel_ is created). It looks like this can happen during BrowserRenderProcessHost creation since the brph signs up for notifications at construction but only creates channel_ in its Init() method. BUG=http://b/15384 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20627

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/renderer_host/browser_render_process_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
robertshield
Potential fix for http://code.google.com/p/chromium/issues/detail?id=15384. Could also be achieved by only signing up for USER_SCRIPTS_UPDATED notifications ...
11 years, 5 months ago (2009-07-14 15:45:55 UTC) #1
Evan Martin
In the circumstance where this races, is the message send just dropped? Does that cause ...
11 years, 5 months ago (2009-07-14 15:48:36 UTC) #2
robert
On Tue, Jul 14, 2009 at 11:48 AM, <evan@chromium.org> wrote: > In the circumstance where ...
11 years, 5 months ago (2009-07-14 16:03:41 UTC) #3
Aaron Boodman
11 years, 5 months ago (2009-07-14 16:15:13 UTC) #4
lgtm

Awesome, I'm happy somebody saw this in action. I am OK with this fix. Yes, we
will drop some updates on the floor, but we pick them up again on renderer
creation (that is the same case as creating a new renderer after user scripts
are loaded).

Powered by Google App Engine
This is Rietveld 408576698