Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

FxR crashes when playing YouTube videos #2381

Closed
kaipinglee opened this issue Nov 27, 2019 · 6 comments
Closed

FxR crashes when playing YouTube videos #2381

kaipinglee opened this issue Nov 27, 2019 · 6 comments
Assignees
Labels
[QA]:Verified fixed Label for QA to mark verified fixed issues
Milestone

Comments

@kaipinglee
Copy link

Configuration

Firefox Reality version: v5
Firefox Reality build ID:

Hardware: Vive Focus plus

Steps to Reproduce

  1. HTC customer service department reported 10+ consumer issues regarding YouTube.
  2. Use FxR to play Youtube videos.
  3. Sometime FxR screen stop responding during YouTube video playing.
  4. FxR prompt "We had an issue and crashed" dialog and request user to send data.

2019-11-27 17_32_35-htceasap1 htc com tw_its_servlet_SqaLogDownloadServlet_fileName=UITS_324692_FA94

2019-11-27 17_33_21-htceasap1 htc com tw_its_servlet_SqaLogDownloadServlet_fileName=UITS_324693_FA94

Current Behavior

FxR crashes when playing YouTube videos.

Expected Behavior

  1. FxR can play YouTube videos normally.
  2. Change the "We had an issue and crashed." string if it is YouTube server-side error and auto recover from the exception.

Possible Solution

Context

Error Logs and Stack Traces

Refer to below logs.
https://drive.google.com/open?id=1aD_ZFE-PDToaktfCPouMYr9GG-le71i-
https://drive.google.com/open?id=1PKUIhLbapRvvu8aps5r4xS1870jJCgVD
https://drive.google.com/open?id=10vF4CzWO9hjwFFNr4ctIQzjyyK0YlAsw

@MortimerGoro
Copy link
Contributor

This seems to be the crash:

11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 152 ("FinalizerWatchdogDaemon")
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: java.util.concurrent.TimeoutException: android.view.ThreadedRenderer.finalize() timed out after 15 seconds
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: 	at android.view.ThreadedRenderer.nDeleteProxy(Native Method)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: 	at android.view.ThreadedRenderer.finalize(ThreadedRenderer.java:919)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: 	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:233)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: 	at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:220)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: 	at java.lang.Thread.run(Thread.java:761)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler: Main thread (1) stack:
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.view.ThreadedRenderer.nDestroyHardwareResources(Native Method)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.view.ThreadedRenderer.destroyHardwareResources(ThreadedRenderer.java:532)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.view.ViewRootImpl.destroyHardwareResources(ViewRootImpl.java:827)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.view.WindowManagerGlobal.trimMemory(WindowManagerGlobal.java:498)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.app.ActivityThread.handleTrimMemory(ActivityThread.java:5392)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1738)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.os.Handler.dispatchMessage(Handler.java:102)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.os.Looper.loop(Looper.java:173)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     android.app.ActivityThread.main(ActivityThread.java:6608)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     java.lang.reflect.Method.invoke(Native Method)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:972)
11-08 12:15:09.737  8213  8222 E GeckoCrashHandler:     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:852)

@MortimerGoro MortimerGoro self-assigned this Nov 27, 2019
@MortimerGoro MortimerGoro added the QA Attention QA label Nov 27, 2019
@MortimerGoro
Copy link
Contributor

MortimerGoro commented Nov 27, 2019

The crash reports are from FxR v5 and it seems related to a Android hard acceleration bug (similar to #1959)
@Softvision-RemusDranca or @Softvision-GeluHaiduc Can you check test this one on a Focus device? It may have been already fixed by #2184

@Softvision-GeluHaiduc
Copy link

I managed to partially reproduce the issue using Firefox Reality version 7 RC3 (7b66fb1) installed on HTC Vive Focus Plus.
After more than 1 hour of stressing the app navigating Youtube and quitting and resuming the app at 1 video the Black screen with the error message appeared, the logcat file can be found here and the screen recording here.
After some more stressing in which I created tabs and windows and again quitting and resuming the app crashed, the logcat file is here and the crash report here.

@Softvision-GeluHaiduc Softvision-GeluHaiduc removed the QA Attention QA label Nov 27, 2019
@MortimerGoro
Copy link
Contributor

Thanks for the info @Softvision-GeluHaiduc!

I created a separate issue for the crash #2383. It's different from the one that @kaipinglee reported, which seems fixed with the #2184

@jvonitter jvonitter added this to the #8 features milestone Nov 28, 2019
@MortimerGoro
Copy link
Contributor

Fixed in #2482

@Softvision-GeluHaiduc
Copy link

I have verified this issue with the latest Firefox Reality version 8-40101959 (3c2a71e) installed on the HTC Vive Focus and HTC Vive Focus Plus headsets.
From what we tested the issue is no longer reproducible at this time, but keep in mind that it is an intermittent issue. If it reappears in the future we will file a new issue for that.

@Softvision-GeluHaiduc Softvision-GeluHaiduc added the [QA]:Verified fixed Label for QA to mark verified fixed issues label Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[QA]:Verified fixed Label for QA to mark verified fixed issues
Projects
None yet
Development

No branches or pull requests

4 participants