Problem with playing videos in ALL capable apps

REPRODUCIBILITY (% or how often): Everytime the apps are in use
BUILD ID = OS VERSION (Settings > About product): (Verla)
HARDWARE (XA2, X10, X10 II, …): Xperia XA2 Ultra
UI LANGUAGE: English, German
REGRESSION: (compared to previous public release: Yes, No, ?): YES: Problem since SFOS 4, in SFOS 3 it was never a problem


Everytime I use an app which can display/play videos (either self-made by camera or downloaded) the apps are crashing at some point during playback. This can happen at any point during the usage:
Either it can be the first video that gets played or some videos afterwards or in seldom cases more than a half an hour later with constant usage of the app.
Affected apps are ALL video play capable apps:
e.g. LLs vPlayer, Sailimgur, picoplayer, Gallery, Gagbook, all available “Filemanagers”, etc.

Some apps that are made for playing Youtube videos only play sound , video not at all any more (may be related)


I guess that I have a misconfiguration or broken installation but I can’t find the culprit, since no one else is reporting a similar problem I don’t expect it to be a SFOS bug maybe something went wrong while upgrading from SFOS 3 to SFOS 4?


  1. open app(s)
  2. choose video
  3. repeat playing videos until apps hangs or crashes (usually 3-4 videos)


app(s) play videos without problem, until app get closed by user


app(s) keep crashing sometimes so much that a zombie process is left and the app has to be closed by taskmanager (e.g. Lighthouse)


(Please ALWAYS attach relevant data such as logs, screenshots, etc…)


Am I really the only one here with this problem?
Does anyone have some basic advices what to check?
Maybe reinstalling codecs or something similar?

Well you are not the onlyone, I have exact same problem with XA2. Not only video apps crash but also for example ImgOrganizer. I have reinstalled apps over and over again but I think too that something changed/went wrong with update to SF4…

Not sure, if related, but I’m having some issues myself with video playback in the latest versions:

  • Overlay missing in Gallery (making it impossible to skip through the video)
  • jolla-gallery not closing properly after playback and won’t open when trying to play another video

I reached out to the jolla support and they filed internal bug reports, but haven’t heard any more until now. I was wondering, if maybe my gallery config got corrupted causing the issue and if there is a way to reset it, but got no reply on that.

Could be that our issues are related, could be that they are not.

reinstalling apps also didn’t help me at all… It’s either a misconfiguration with the installed codecs. In the past I had problems with Openrepos ugly codecs but they are outdated since SF2.x
So I only use what comes with the installation.
But the fact that restarting the app(s) can make the same video play immediately without any problem or can crash 10x in a row with forced restarts every time makes it so random, unpredictable but an indicator for a bug in my opinion.

I am the maintainer of the GagBook app and I am trying to debug such issues since a long time now. There are some app related bugs that cause some app crashes, but in my opinion the main issues are caused by the underlying libraries provided by SFOS.

I was able to log the following a few SFOS releases ago (on 12th June 2021):

GStreamer-CRITICAL **: 13:24:58.970: gst_query_set_nth_allocation_pool: assertion 'index < array->len' failed

GLib-GObject-WARNING **: 13:24:58:995: invalid cast from 'GstVideoBufferPool' to GstDroidBufferPool'

Hi Alex,
great that you are still active with the app. Can I support you? I constantly use the app and could probably provide you with tons of logs…if that’s helpful. But I really think the problem is on OS level, also the gallery app shows the same problems, even with self made videos.

Updated to 4.4 and still keeps crashing.