New issue
Advanced search Search tips

Issue 911860 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 5
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Proj-VR
Proj-XR
Proj-XR-VR



Sign in to add a comment

Flaky browser crash in VrBrowserNavigationTest#testNativeNavigationAndInteraction

Project Member Reported by bsheedy@chromium.org, Dec 4

Issue description

Fairly rarely, VrBrowserNavigationTest#testNativeNavigationAndInteraction [1] hits a browser crash due to hitting an DiscardableReferencePool#remove [2], although which of the two asserts it is is unclear since the stated failure line is #87, but the asserts are on 86 and 88.

I've only seen this happen on the swarmed Pixel XLs w/ O, not the Pixel XLs w/ N.

Assigning to wylieb@ since they're the author of the CL [3] that added the failing asserts. See https://chromium.googlesource.com/chromium/src/+/HEAD/chrome/android/javatests/src/org/chromium/chrome/browser/vr/README.md if you need to run the tests locally to try to repro.

[1] https://cs.chromium.org/chromium/src/chrome/android/javatests/src/org/chromium/chrome/browser/vr/VrBrowserNavigationTest.java?l=564
[2] https://cs.chromium.org/chromium/src/base/android/java/src/org/chromium/base/DiscardableReferencePool.java?q=discardablereferencepool&sq=package:chromium&dr=CSs&l=85
[3] https://chromium.googlesource.com/chromium/src/+/0f5fe027668e753f65146fc7e30ccea115b52363
 
Sample stack:
12-04 21:42:25.238  8643  8643 W System.err: java.lang.AssertionError
12-04 21:42:25.238  8643  8643 W System.err: 	at org.chromium.base.DiscardableReferencePool.remove(DiscardableReferencePool.java:87)
12-04 21:42:25.238  8643  8643 W System.err: 	at org.chromium.chrome.browser.BitmapCache.destroy(BitmapCache.java:101)
12-04 21:42:25.238  8643  8643 W System.err: 	at org.chromium.chrome.browser.cached_image_fetcher.InMemoryCachedImageFetcher.destroy(InMemoryCachedImageFetcher.java:60)
12-04 21:42:25.238  8643  8643 W System.err: 	at org.chromium.chrome.browser.feed.FeedImageLoader.destroy(FeedImageLoader.java:63)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.chrome.browser.feed.FeedNewTabPage.destroy(FeedNewTabPage.java:259)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.chrome.browser.tab.Tab.destroyNativePageInternal(Tab.java:2120)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.chrome.browser.tab.Tab.showRenderedPage(Tab.java:1174)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.chrome.browser.tab.Tab.handleDidFinishNavigation(Tab.java:1745)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.chrome.browser.tab.TabWebContentsObserver$Observer.didFinishNavigation(TabWebContentsObserver.java:255)
12-04 21:42:25.239  8643  8643 W System.err: 	at org.chromium.content.browser.webcontents.WebContentsObserverProxy.didFinishNavigation(WebContentsObserverProxy.java:95)
12-04 21:42:25.239  8643  8643 W System.err: 	at android.os.MessageQueue.nativePollOnce(Native Method)
12-04 21:42:25.239  8643  8643 W System.err: 	at android.os.MessageQueue.next(MessageQueue.java:325)
12-04 21:42:25.239  8643  8643 W System.err: 	at android.os.Looper.loop(Looper.java:142)
12-04 21:42:25.239  8643  8643 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6541)
12-04 21:42:25.239  8643  8643 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
12-04 21:42:25.239  8643  8643 W System.err: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
12-04 21:42:25.239  8643  8643 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Sample logcat output: https://luci-logdog.appspot.com/logs/chromium/android/swarming/logcats/4193b488455bab11/+/logcat_logcat_org.chromium.chrome.browser.vr.VrBrowserNavigationTest.testNativeNavigationAndInteraction_20181204T214205-UTC_HT74C0209361
Status: Fixed (was: Assigned)
Ah, yes, that looks like the same issue. I'll re-open if it ends up not being fixed.

Sign in to add a comment