Multiple qml apps are crashing in the aarch64 5.15-21.08 runtime
Since the update from 5.15
to 5.15-21.08
a lot of qml-based apps are crashing in the aarch64 flatpak runtime.
More information and backtraces can be found in this issue (including a very minimal example to reproduce the issue): https://invent.kde.org/plasma-mobile/kasts/-/issues/24
After further investigation, the issue seems to be linked to the -optimize-size
flag in org.kde.Sdk.json.in
. If that flag is removed, all apps that were previously crashing run fine again.
I've tested this by recompiling the runtime on an rpi4.
It's still not clear why this flag is causing the problems, other than that it seems to cause corruption of the cached compiled qml files.