Bench stuck at ∞%, never finishes, crashes when canceling
I was testing !45 (merged) and launched a bench while VLC was in PiP. At the very beginning of the bench, the progress was displayed as ∞%
. See:
(Sorry for the partial / bad screenshot).
Then the bench was looping on the "batman" sample indefinitely.
When I canceled it, the app crashed with:
2022-03-09 08:41:10.511 4993-7170/? E/AndroidRuntime: FATAL EXCEPTION: pool-2-thread-1
Process: org.videolan.vlcbenchmark.debug, PID: 4993
java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
at org.videolan.vlcbenchmark.results.ResultRepository.addToCurrentResultList(ResultRepository.kt:149)
at org.videolan.vlcbenchmark.results.ResultController.addResults(ResultController.kt:90)
at org.videolan.vlcbenchmark.VLCWorkerModel$onResume$1.run(VLCWorkerModel.kt:425)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)