New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 728643 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 724534
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

org.chromium.chrome.browser.searchwidget.SearchActivityTest#testEnterUrlBeforeNativeIsLoaded flakily fails with StrictMode violation

Project Member Reported by jbudorick@chromium.org, Jun 1 2017

Issue description

This has occurred multiple times on the M tablet bot over the past few days, e.g.

https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%20Tablet%20Tester/8604
https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%20Tablet%20Tester/8588
https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%20Tablet%20Tester/8559

Failure log:

android.os.StrictMode$StrictModeViolation: policy=1900575 violation=2
	at android.os.StrictMode.executeDeathPenalty(StrictMode.java:1505)
	at android.os.StrictMode.-wrap3(StrictMode.java)
	at android.os.StrictMode$AndroidBlockGuardPolicy.handleViolation(StrictMode.java:1498)
	at android.os.StrictMode$AndroidBlockGuardPolicy$1.run(StrictMode.java:1380)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5417)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

logcat: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.android%2FMarshmallow_Tablet_Tester%2F8604%2F%2B%2Flogcat_org.chromium.chrome.browser.searchwidget.SearchActivityTest.testEnterUrlBeforeNativeIsLoaded_20170601T123210-UTC_04998316

+cc searchwidget owners
 
Labels: -Restrict-View-Google
I suppose the *interesting* part of the failure log is this:

06-01 12:32:13.618 10668 10668 D StrictMode: StrictMode policy violation; ~duration=12 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=1900575 violation=2
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.app.SharedPreferencesImpl.awaitLoadedLocked(SharedPreferencesImpl.java:203)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.app.SharedPreferencesImpl.edit(SharedPreferencesImpl.java:284)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at org.chromium.chrome.browser.customtabs.RequestThrottler.purgeOldEntries(RequestThrottler.java:215)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at org.chromium.chrome.browser.customtabs.RequestThrottler.getForUid(RequestThrottler.java:131)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at org.chromium.chrome.browser.customtabs.CustomTabsConnection$2.run(CustomTabsConnection.java:304)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.os.Handler.handleCallback(Handler.java:739)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.os.Handler.dispatchMessage(Handler.java:95)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.os.Looper.loop(Looper.java:148)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at java.lang.reflect.Method.invoke(Native Method)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
06-01 12:32:13.618 10668 10668 D StrictMode: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Mergedinto: 724534
Status: Duplicate (was: Available)

Sign in to add a comment