-
Notifications
You must be signed in to change notification settings - Fork 158
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
Crash on start, kodi 21.1 flatpak, ubuntu 24.04 #1058
Comments
@kalaninja If there was crash - there should be crash log in There is issue that sometimes flatpak kills elementum binary, but this is not elementum issue as i can see. Looks like jail/container restriction. see but i am not flatpak expert and i do not see anything suspicious in their code for kodi container - https://github.com/flathub/tv.kodi.Kodi/tree/master |
i've got similar issues (kodi 21.1 - linux amd64 debian testing )
that happened even with a "plain" kodi 21.1 install ( debian package from https://deb-multimedia.org/ / for testing/trixie) in kodi logfile it looked like a network problem with JSON-RPC - elementum not being able to reach port 9090 Same issue happened when I'm running kodi in flatpak Btw I'm using Kodi Flatpak right now - with a custom build - for enabling HDR as described here flathub/tv.kodi.Kodi#248 , it works really great (kodi GBM with GLES) This afternoon I've tweaked a bit elementum and it finally fixed it now elementum works perfectly, with kodi 21.1 within Flatpak (didn't tested w/ debian package again) |
This feature was created specifically for new androids where new Kodi (complied with new android sdk) was not permitted to run binaries. |
Thanks for the reply. Really appreciate. Yes, my issue looks very much like the one mentioned in the link. I'll try to use the "Elementum > Settings > Advanced > "Force start as library" workaround. |
@simpledork47 @antonsoroko Kodi log: https://pastebin.com/FAh4UjLT the crash log is not created. |
On log file there's a folder for Download set: Regular flatpak application can't see much outside of Could you verify this on your side ?
... => That's the line to look for You can check if there's some additional paths granted: Granting access to your homedir |
by default it has so it it not the issue. |
I was able to reproduce the bug (it happens on my system every time), and once i was able to catch golang stack trace for SIGSEGV. elementum 1058 flatpak crash library mode.txt but i do not see the root cause. |
sorry for the previous noise, I didn't tested long enough. Sometimes it's ok, and most of the time it either crash when a video is about to play or even play ok but once stopped it's a crash. I've looked carefully, getting back to regular "elementum" process (no library anymore) First strange thing is lockfile : it gets resolved to addons/plugin.video.elementum/.lockfile insted of userdata/addon_data/plugin.video.elementum/.lockfile (this one exists on disk). If I remove manually the file prior to run flatpak : all is working I've made a pull-request with 2 changes ( fixing lockfile path ) and removing this file only if the system is detected as flatpak |
JFYI:
elementum tries to connect to localhost with ipv4 and ipv6, that's why you saw "error" in log. i guess you saw
but if later in log you see
then everything is ok. it just means that kodi does not listen on ipv6 local address. |
please try with plugin.video.elementum-v0.1.103-5-g5f482fc.linux_x64.zip alternatively you can build it yourself: see docs if needed: |
thanks @antonsoroko I've installed your build and all is fine |
It works on my side too. Thanks a lot @antonsoroko and @simpledork47 |
Kodi crashes while starting if Elementum is enabled. When I disable it, everything works as expected.
Ubuntu 24.04 x86_64
Kodi 21.0 and 21.1 (both have this behaviour) installed with flatpak
Elementum 0.1.103
Kodi log: https://pastebin.com/JHd9gcLh
The text was updated successfully, but these errors were encountered: