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

Issue 12402: Don't reenter Webkit, while it waits for outgoing sync calls to complete. Thi... (Closed)

Created:
12 years, 1 month ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
jam, jcampan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Don't reenter Webkit, while it waits for outgoing sync calls to complete. This fixes bug http://code.google.com/p/chromium/issues/detail?id=4582, which is a crash in the renderer process, which occurs when the renderer receives a sync message requesting accessibility information from the browser, while it waits for the PluginDestroyed sync call to unwind. The ViewMsg_GetAccessibilityInfo has a timeout associated with it, which indicates that it is ok for the call to fail. We now turn off the unblock flag on the sync message which will ensure that it does not reenter Webkit in this scenario. R=jcampan Bug=4582 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=5927

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/browser_accessibility_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ananta
12 years, 1 month ago (2008-11-24 18:33:36 UTC) #1
jcampan
LGTM Jay
12 years, 1 month ago (2008-11-24 19:10:04 UTC) #2
jam
12 years ago (2008-11-25 20:58:59 UTC) #3
I think this change is risky.  Sure WebKit is not reentrant, but the problem
here isn't inside WebKit, it's inside the browser code, which we have control
over.

The WebKit code already gets reentered a lot when there are plugins, so I'm not
sure that the problem is there.  Do you have a reproducible scenario for this?

Powered by Google App Engine
This is Rietveld 408576698