-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes, potentially related to GSettings schemas #58
Comments
Where are you looking for them?
So the problem may be that your app is unable to find something that clearly exist. For ptrace you may add BTW: why do you call |
There is regression in freedesktop-sdk 22.08 which makes gschemas.compiled lost. 23.08 is unaffected. |
I used
Oh, great, this is probably the reason! We are still on 22.08, good occasion to update. Thanks for digging out the link. |
should be fixed now |
Confirmed, thanks! |
The Threema Desktop 2.0 application Flatpak currently crashes on Linux when trying to save a file to the filesystem:
I'm not 100% sure, but to me it looks like the "ptrace: Operation not permitted" line is a red herring, and the actual error is "No GSettings schemas are installed on the system".
This reminded me that – when starting the application – the following warning is logged as well:
This log has existed for a long time, but has never impacted the application in a negative way, so we ignored it so far.
The problem has only started to appear in the last few days or weeks (without us changing the application), so I assume it has to do with updated Flatpak base layers.
I'm not really familiar how these GSettings schemas work. However, from some online search, it seems that there are schema files at
/usr/share/glib-2.0/schemas/*.gschema.xml
, and that these need to be compiled withglib-compile-schemas
. When When these schemas are compiled, this results in agschemas.compiled
file. I cannot find that file in our Flatpak OS filesystem.According to https://stackoverflow.com/a/56317158/284318:
Based on that information, I would consider the Flatpak base images to be the "package manager". I as app developer cannot regenerate the schemas, because:
I am not sure whether this is something that should be done by the base image, or by the runtime. However, I think someone, somewhere in the Flatpak ecosystem needs to generate these compiled schemas.
The text was updated successfully, but these errors were encountered: