New issue
Advanced search Search tips

Issue 874026 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

ANR When playing a video in webview

Reported by 153...@gmail.com, Aug 14

Issue description

Device name: Alfawise A95X
Android version: 6.0.1
WebView version: 69.0.3440.91

Hi,

I'm trying to play a video in the newest version of the webview and after a couple of hours I get an anr.

In the anr trace I see this on the main thread:

"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 obj=0x7338b000 self=0xb849caa8
  | sysTid=2029 nice=-4 cgrp=default sched=0/0 handle=0xb6f77b34
  | state=S schedstat=( 10112210745229 4247315620474 17945727 ) utm=797621 stm=213600 core=1 HZ=100
  | stack=0xbe660000-0xbe662000 stackSize=8MB
  | held mutexes=
  native: #00 pc 000168c0  /system/lib/libc.so (syscall+28)
  native: #01 pc 000415b3  /system/lib/libc.so (_ZL33__pthread_cond_timedwait_relativeP23pthread_cond_internal_tP15pthread_mutex_tPK8timespec+56)
  native: #02 pc 0001c2ff  /system/lib/libhwui.so (???)
  native: #03 pc 008c1ec9  /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_view_ThreadedRenderer_nSyncAndDrawFrame__J_3JI+124)
  at android.view.ThreadedRenderer.nSyncAndDrawFrame(Native method)
  at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:341)
  at android.view.ViewRootImpl.draw(ViewRootImpl.java:2615)
  at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2434)
  at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2067)
  at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
  at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
  at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
  at android.view.Choreographer.doCallbacks(Choreographer.java:670)
  at android.view.Choreographer.doFrame(Choreographer.java:606)
  at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
  at android.os.Handler.handleCallback(Handler.java:743)
  at android.os.Handler.dispatchMessage(Handler.java:95)
  at android.os.Looper.loop(Looper.java:148)
  at android.app.ActivityThread.main(ActivityThread.java:5426)
  at java.lang.reflect.Method.invoke!(Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)

And this on the Render thread:

"RenderThread" prio=5 tid=33 Native
  | group="main" sCount=1 dsCount=0 obj=0x131010a0 self=0xb87b26b0
  | sysTid=2124 nice=-4 cgrp=default sched=0/0 handle=0x9ebe0930
  | state=D schedstat=( 14259082885277 5463728878278 20121049 ) utm=1116848 stm=309060 core=1 HZ=100
  | stack=0x9eae4000-0x9eae6000 stackSize=1014KB
  | held mutexes=
  native: (backtrace::Unwind failed for thread 2124)
  (no managed stack frames)

I was looking for answers everywhere but I could not find a solution :(

Thank you in advance.
 
Labels: Needs-Feedback
> (no managed stack frames)

That means there is no info on what's happening on the render thread.

If you are the developer of device, then I have a few next steps to get more info. If you are just a user of this device though, there probably isn't much anyone can do; it's unlikely some hitting some GPU driver or other graphics bug, which webview can't really do anything about.
Thank you for the rapid response :)

Can the problem appear because I'm using an .mp4 video? 
Can it be solved by using other video format? 
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 15

Cc: boliu@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
There is information to indication the video format matters.

Sign in to add a comment