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

Issue 501011: Speculative fix for a chrome browser crash which occurs with ChromeFrame. Bas... (Closed)

Created:
11 years ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
jcampan
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Speculative fix for a chrome browser crash which occurs with ChromeFrame. Based on the crash dump, the crash occurs when the external tab container is being destroyed which in turn takes down the automation provider and the channel, etc. All this occurs in the context of OleUninitialize, which executes after BrowserMain returns, i.e. the message loop is now invalid, thus causing a crash while attempting to post a task to it. Based on this call stack it looks like it happens due to the enable-renderer-accessisibility flag. Fix is to move the OleInitialize/OleUnitialize calls to Platform::WillInitializeMainMessageLoop and Platform::DidEndMainMessageLoop. The Platform::DidEndMainMessageLoop function now executes as a task which is posted to the message loop prior to quitting it. This would ensure that the cleanup happens correctly. Fixes http://code.google.com/p/chromium/issues/detail?id=30383 Bug=30383 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34611

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -18 lines) Patch
M chrome/app/chrome_dll_main.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/browser_main_win.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 1 chunk +2 lines, -14 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
11 years ago (2009-12-15 00:18:28 UTC) #1
jcampan
11 years ago (2009-12-15 18:49:22 UTC) #2
LGTM if all tests still pass.

Powered by Google App Engine
This is Rietveld 408576698