New issue
Advanced search Search tips

Issue 917544 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

ThreadPolicyViolation on ToT

Project Member Reported by michaelbai@chromium.org, Dec 22

Issue description

Got below crash on ToT. Paul, looked like this is related to uma/finch?


12-21 16:12:24.377 28465 28465 E AndroidRuntime: FATAL EXCEPTION: main
12-21 16:12:24.377 28465 28465 E AndroidRuntime: Process: org.chromium.webview_shell, PID: 28465
12-21 16:12:24.377 28465 28465 E AndroidRuntime: java.lang.RuntimeException: StrictMode ThreadPolicy violation
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.StrictMode$AndroidBlockGuardPolicy.onThreadPolicyViolation(StrictMode.java:1705)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.StrictMode$AndroidBlockGuardPolicy.lambda$handleViolationWithTimingAttempt$0(StrictMode.java:1619)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.-$$Lambda$StrictMode$AndroidBlockGuardPolicy$9nBulCQKaMajrWr41SB7f7YRT1I.run(Unknown Source:6)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6669)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-21 16:12:24.377 28465 28465 E AndroidRuntime: Caused by: android.os.strictmode.DiskWriteViolation
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk(StrictMode.java:1460)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteConnection.applyBlockGuardPolicy(SQLiteConnection.java:1057)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:566)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:549)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:460)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at akfc.a(:com.google.android.gms@14799037@14.7.99 (100400-223214910):4)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at com.google.android.gms.phenotype.provider.ConfigurationChimeraProvider.a(:com.google.android.gms@14799037@14.7.99 (100400-223214910):2)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at com.google.android.gms.phenotype.provider.ConfigurationChimeraProvider.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):25)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at dsb.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):3)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at ota.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):1)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.content.ContentProvider.query(ContentProvider.java:1055)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at dsb.superQuery(Unknown Source:0)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at com.google.android.chimera.ContentProvider.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):1)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at dsb.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):6)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at ota.query(:com.google.android.gms@14799037@14.7.99 (100400-223214910):4)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.content.ContentProvider.query(ContentProvider.java:1147)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.content.ContentProvider$Transport.query(ContentProvider.java:240)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:102)
12-21 16:12:24.377 28465 28465 E AndroidRuntime:        at android.os.Binder.execTransact(Binder.java:731)
12-21 16:12:24.381   894  4211 W ActivityManager:   Force finishing activity org.chromium.webview_shell/.WebViewBrowserActivity
 
I don't see anything obviously related to metrics/variations in the stack. What makes you suspect that?

What are the repro steps?
I get no repro with ToT WebView and shell builds.
Labels: Needs-triage-Mobile WV-Triaged Needs-Feedback
As per above comments adding Needs=FB label.

@michaelbai: Could you please respond to c#1 and c#2.

Thanks!

Sign in to add a comment