Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Issue 9802047: cros: Fix crash when clicking on discarded tab (Closed)

Created:
8 years, 9 months ago by James Cook
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, nasko
Visibility:
Public.

Description

cros: Fix crash when clicking on discarded tab In out of memory conditions Chrome OS R19 will "discard" tabs that have not been recently used. The page is reloaded when the user selects the tab in the tab strip. We're seeing occasional crashes in the field in the tab reload code due to null site instance pointers in the navigation controller. This might have been caused by crrev.com/120007 which added the use of site instance. I have no in-house repro for this crash but I have a user who can trigger it reliably -- we'll see if this patch helps her. BUG=119068 TEST=crash reports should go down Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129940

Patch Set 1 #

Total comments: 1

Patch Set 2 : keep DCHECK #

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

Messages

Total messages: 13 (0 generated)
James Cook
Sky, PTAL. Looking at http://codereview.chromium.org/9169065 the code used to tolerate null site-instance pointers, but now ...
8 years, 9 months ago (2012-03-28 20:13:10 UTC) #1
sky
Generally when we're trying to identify a crash we'll add a CHECK to verify that ...
8 years, 9 months ago (2012-03-28 20:38:39 UTC) #2
James Cook
On 2012/03/28 20:38:39, sky wrote: > Generally when we're trying to identify a crash we'll ...
8 years, 9 months ago (2012-03-28 20:56:10 UTC) #3
sky
I'm not sure. I'm adding Charlie to the review list, who knows about SiteInstance.
8 years, 9 months ago (2012-03-28 21:50:26 UTC) #4
James Cook
On 2012/03/28 21:50:26, sky wrote: > I'm not sure. I'm adding Charlie to the review ...
8 years, 9 months ago (2012-03-28 22:22:21 UTC) #5
(Do not use) nasko
On Wed, Mar 28, 2012 at 3:22 PM, <[email protected]> wrote: > On 2012/03/28 21:50:26, sky ...
8 years, 8 months ago (2012-03-29 15:14:03 UTC) #6
James Cook
On 2012/03/29 15:14:03, nasko_google.com wrote: > On Wed, Mar 28, 2012 at 3:22 PM, <mailto:[email protected]> ...
8 years, 8 months ago (2012-03-29 15:34:42 UTC) #7
Charlie Reis
I think the real issue here is that both the DiscardTab case and some other ...
8 years, 8 months ago (2012-03-30 17:14:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9802047/8001
8 years, 8 months ago (2012-03-30 17:24:05 UTC) #9
commit-bot: I haz the power
Presubmit check for 9802047-8001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-03-30 17:24:08 UTC) #10
James Cook
Scott, I need OWNERs approval.
8 years, 8 months ago (2012-03-30 17:25:13 UTC) #11
sky
LGTM
8 years, 8 months ago (2012-03-30 18:09:15 UTC) #12
commit-bot: I haz the power
8 years, 8 months ago (2012-03-30 18:10:56 UTC) #13

Powered by Google App Engine
This is Rietveld 408576698