Issue metadata
Sign in to add a comment
|
Shows Aw Snap immediately after returning from background |
||||||||||||||||||||||
Issue descriptionApp Version (from "Chrome Settings > About Chrome"): 56.0.2924.79 iOS Version: 9.3.5 Device: iPhone SE Steps to reproduce: 0. Launch Chrome 1. Create a new tab 2. Load this page: https://medium.com/@benthompson/breaking-down-the-father-on-bbc-being-interrupted-by-his-children-9840cdc8857b#.izmmpg979 (or https://goo.gl/ICvNR0 if you don't want to type all that). 3. Assuming that the page loads properly, put Chrome to the background. 4... Go do something else. Launch a bunch of other apps. Use the phone as normal. 5. Come back some time later and bring Chrome back to the foreground. Not exactly sure what's the minimum elapsed time or whether Chrome/WKWebView renderer needs to have been evicted by iOS or now. Observed behavior: The tab reloads and then renderer crashed with a "Aw Snap" Expected behavior: Same page is displayed. Frequency: Not sure, but often enough to be noticeable. Additional comments:
,
Mar 15 2017
This is happening with any articles on medium.com including medium.com homepage. I opened the home page, Background the app, Force quit Chrome and Relaunch Repeat the above step 2 or 3times and on 3rd launch Aw,Snap page is displayed. On FIrefox, Open medium.com home page and once the page is loaded completely, refresh the page two or three times, page goes blank. Reproduces on Safari too just after one force quit. Please let me know if you need any other information.
,
Mar 15 2017
M-58 as this seems to be a recent regression (we're noticing it a lot more lately).
,
Mar 22 2017
I saw this several times with other websites while I was flying (VirginAmerica was one). What are the next steps here? It's very jarring from a user perspective. Raising priority. I have not seen this on iPad, only on my phone.
,
Mar 22 2017
I am seeing this on Google SRP and on memegen. As I mentioned, this doesn't seem to be related to any particular website.
,
Mar 23 2017
Yes, I'm seeing it too. Sad to say, I haven't spent much time on this in the past few days.
,
Mar 23 2017
,
Mar 23 2017
This is probably a regression in Tab, where many refactorings has happened.
,
Mar 27 2017
Assigning to Justin since pkl and rohit are out, and eugene is really busy. Justin, please prioritize this for m58.
,
Mar 27 2017
Our aw, snap started increasing steadily in M54: https://uma.googleplex.com/p/chrome/timeline_v2?sid=0d8d3fddea2488d443b2353861e41f18 gchatz@ eugenebut@ pkl@ Any ideas what might cause this?
,
Mar 27 2017
Memory consumption increase by major web sites? Unfortunately we still don't know the page URL for renderer crashes.
,
Mar 27 2017
Just fyi there is also this sad tab issue we're already tracking since M54: https://bugs.chromium.org/p/chromium/issues/detail?id=670453#c26
,
Mar 27 2017
I can reproduce this pretty easily with all sorts of web pages, and showed it to justin today. All it took was backgrounding the app with a page (not NTP) in foreground, opening a bunch of apps (gmail, feedly, etc) and then opening Chrome. Boom, sad tab on foreground tab.
,
Mar 27 2017
Sounds like there are 2 separate problems: 1.) Sad Tab is shown if app is in the background (this bug) 2.) Renderer crashes are reported more often (crbug.com/670453)
,
Mar 27 2017
This bug is specifically about (1) because Chrome, at returning to foreground, is supposed to detect that the frontmost tab's renderer has been terminated and refresh the page w/o showing a sad tab.
,
Mar 28 2017
I'm curious what happens when an app is suspended (not backgrounded, but actually suspended/paused by the OS, and com.apple.WebKit.WebContent::WebProcessProxy crashes, or basically all of Webkit.WebContent... When restoring the app, I wonder if -webViewWebContentProcessDidTerminate gets called during or after foregrounding completes.
,
Mar 28 2017
The theory in #16 appears to be correct, and testing shows an error in how we handle sad tab in this state. This bug has always been there, so it's unclear why people are noticing it more. Fix in flight: https://codereview.chromium.org/2782713002
,
Apr 3 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e888fae6c93c60d14163109930ade47a0fec644a commit e888fae6c93c60d14163109930ade47a0fec644a Author: justincohen <justincohen@chromium.org> Date: Mon Apr 03 16:47:04 2017 Correct UIApplicationState check for sad tab test. Checking for the backgroundState isn't enough -- the app can be in the inactive state. Instead, just check for !active. BUG= 701583 Review-Url: https://codereview.chromium.org/2782713002 Cr-Commit-Position: refs/heads/master@{#461453} [modify] https://crrev.com/e888fae6c93c60d14163109930ade47a0fec644a/ios/chrome/browser/tabs/tab.mm
,
Apr 3 2017
,
Apr 26 2017
Verified in M60, M59.0.3071.21 dev. Verified by Backgrounding the app, killing WebKit.WebContent, launching the app. App Launched correctly, reloaded the foremost tab without any SadTab errors. Device: iPhone6plus, iOS: 10.1.1 |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by srikanthg@chromium.org
, Mar 15 2017