Video player used in apps sometimes makes them hang

REPRODUCIBILITY: 10%
OS VERSION: 4.4
HARDWARE: All HW
UI LANGUAGE: Probably in Adaptation
REGRESSION: No

DESCRIPTION:

On apps like quickdit, fernscheriber, piepmatz (and probably others) the video player that is used (common in sfos) sometimes doesn’t load the video and makes the app hang. It displays the wait or close menu but even if you wait it doesn’t recover

PRECONDITIONS:

Use the apps and play a video

STEPS TO REPRODUCE:

  1. Play videos and it will most likely happen

EXPECTED RESULT:

Videos play and the app doesn’t hang

ACTUAL RESULT:

Videos don’t load and the app hangs

MODIFICATIONS:

As vanilla as it gets

ADDITIONAL INFORMATION:

None

7 Likes

I also have to add that seeking is impossible (doesn’t work) and also on dark videos you cant see the buttons which is a UI/UX problem.

1 Like

Could you add more information under the section Steps to reproduce?

Thank you in advance.

TBH i don’t know what to add to it. Use any of the apps described to play videos and you will get it once in every few tries.

1 Like

So I can add more information. I encountered most issues with quickddit.

  1. Playing a video and especially GIF is super slow, it seems to consume so much memory all the apps in the background get closed and then the app the video is playing in gets closed too. For example this post makes quickddit and all the apps run out of memory: https://www.reddit.com/r/formuladank/comments/uz8fag/i_have_my_reasons/, when playing this GIF: https://i.redd.it/ueru6e0q63291.gif
  2. As for app hanging and not running out of memory, I know a way to make an app hand almost 100% of the time. When you play a video it first loads, which takes different amount of time depending on video type. When the video goes to the end, it starts to load again. When you exit the video view just as it starts loading again, you are almost guaranteed to make quickddit hang. If you do it a few times I am sure you can make it hang.

Both of those issues I encountered the most in quickddit, as Reddit containst the biggest variety of video formats. But they happen in all types of apps, just the easiest to replicate it in quickddit

2 Likes

Bumping this cause i am curious.

Is this one of those bugs that Jolla can fix or its beyond its reach -meaning deep in firmware code that cant do anything about.

dmesg after crash:

[533135.981036] binder: 12720 RLIMIT_NICE not set
… a lot of RLIMIT_NICE
[533135.982045] binder: 12720 RLIMIT_NICE not set
[533136.000284] binder: 12720 RLIMIT_NICE not set
[533136.006950] msm_vidc: info: Closed video instance: 0000000000000000
[533136.693823] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533136.937230] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533137.694749] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533137.938633] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533138.695888] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533138.939916] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533139.696760] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533139.941177] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533140.355446] i2c_geni 4a88000.i2c: i2c error :-107
[533140.677417] sec_ts_read_event: 38 callbacks suppressed
[533140.677429] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.698446] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533140.719076] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.735819] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.760211] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.777082] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.803543] sec_ts 1-0048: sec_ts_read_event: event buffer is empty
[533140.927232] BUG: Bad rss-counter state mm:ffffffc0ad95a680 idx:4 val:35671
[533140.941728] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533141.001539] msm_vidc: info: Closed video instance: 0000000000000000
[533141.700079] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533141.943967] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092
[533142.701094] binder: 5038:5038 transaction failed 29189/-22, size 0-0 line 3092
[533142.944787] binder: 2794:2794 transaction failed 29189/-22, size 32-0 line 3092

1 Like

Seeing buffer errors here reminds me that we have gst buffer errors in the volla port (frame buffers for video recording not being allocated or some such.). I wonder.

1 Like