Kodi 20 fails to start with a segmentation fault - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Kodi 20 fails to start with a segmentation fault (/showthread.php?tid=371581) Pages:
1
2
|
Kodi 20 fails to start with a segmentation fault - jim_p - 2023-01-24 So, I used kodi a couple of hours ago (I actually opened it to renew twitch's api key), when it was on v19. I got the upgrade to v20 a few minutes ago and now kodi does not launch at all! This is what pops out in the terminal Code: $ kodi Code: [ 866.924006] kodi.bin[3435]: segfault at 8 ip 00007f3739676b76 sp 00007ffd84f2e9c8 error 4 in libc.so.6[7f37395f3000+155000] likely on CPU 0 (core 0, socket 0) https://paste.debian.net/hidden/990fefcb/ I deleted the entire ~/.kodi folder too, so its installation is as clean as it will ever be. If it helps, almost all my qt5 apps have an issue with some gl library since the upgrade to kernel 6.1 and fail to launch, but I can not find out which one. RE: Kodi 20 fails to start with a segmentation fault - izprtxqkft - 2023-01-25 based on your log it is "normal behavior" for kodi to crash with this "GLX Error: vInfo is NULL!" https://duckduckgo.com/?q=GLX+Error%253A+vInfo+is+NULL! i found this https://github.com/xbmc/xbmc/issues/17147 which has no resolution but does have clues do not ask me why it says kodi 8.15 but was posted in 2020, that part makes no sense but the rest does multiple results with kodi crashing and that message, it always leads back to os configuration, missing files, incomplete, etc RE: Kodi 20 fails to start with a segmentation fault - jim_p - 2023-01-25 I saw that too. The problem is that kodi 19 was working properly with that "bad" os configuration, so it is hard to say that everything was in place for kodi 19 and a few hours later something broke for kodi 20, when the onliest upgrade on the system was kodi itself... And I am not talking about building something from source, like the user on github did, neither building it straight from git that may contain bugs, which is also what the user on github did. I am using a properly built package for my distro, which in turn is built from the latest and stable version of the app and, thanks to apt, I have all its dependecies properly installed. On a similar issue in the past, I have asked the question "has something changed about kodi's opengl requirements". The answer was no, because the issue was really related to the os not loading the proper gpu driver (first beta/rc versions of libreelec 10 on an old intel vga). So I am asking it again today. If needed, I can post a gdb log. I will try downgrading to kernel 6.0 later today... because I can not downgrade my gpu's driver and undo the patch for 6.1. p.s. I get kodi from deb-multimedia since ever. Why not from the main repo? Because it lags behind on some versions and because the maintainers there do not package kodi-vfs-rar. However, I gave that kodi a try yesterday and the result was exactly the same as the one from dmo. ---edit There is a small part, one line actually, that I ommited from the terminal output above because it has to do with another app on my system (anydesk). Kodi was unable to read something inside ~/.anydesk. I will get to it on a different thread. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - Klojum - 2023-01-25 @basilgello How far r u with kernel 6.1 and Debian running Kodi? RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-25 I downgraded to 6.0 a few minutes ago but the issue still happens, which (imho) means one thing: something broke with that patch which was added so that my gpu's driver can be built with kernel 6.1. If anyone has a different idea, please share. Even the slightest one, e.g. about how I can identify that patch, counts. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - basilgello - 2023-01-25 Kernel 6.1 works for me without issues on bookworm. But dmo is not what I have control over. kodi-vfs-rar is doable but it will live in contrib, not in main due to licensing issues. Speaking of "vInfo is NULL", I have the patch that at least does not crash Kodi if opengl renderer is NULL. But glxinfo and vainfo should also break with such setup. Did you try running them? RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - izprtxqkft - 2023-01-25 that was the nice way of me saying your system is broken and i have no clue what you have or havent done on the system itself, bookworm is the testing branch so maybe you found a bug during your *testing* you need to report to debian it does appear a lot in regards to video driver issues RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-25 First things first, because I have to write a lot. I know that only my system is broken and I am searching for that broken part, that is why I did not generalize it as a "kodi issue on debian". I do its updates daily (well, 4 times a day, right after the mirrors sync), I have these repos - default debian repo (testing, unstable and experimental), since ever - dmo (testing and unstable), since ever - brave's, since April 2020 - sublime's, since December 2022 As you can see the onliest place I can get updates from important stuff like drivers, kernel etc is the default debian repo, so there is not a single possibility I created a frankendebian. I also get mpv, mplayer, smplayer, kodi etc from dmo since ever. Last but not least, I do know how to file a bug report to debian, I have filled several dozens of them all these 15 years that I am on its rolling release branches, but I have stopped doing so since last April. I am keeping the reason to myself, but let's say it can be described with the phrase "no substantial support on major issue". And that is all about me and debian. If anyone wants to ask something else, feel free to pm me. Moving on to kodi and gl libs. I tried kodi from the main repo, but it has the same issue. Moreover, a few days ago I noticed that all my qt5 apps (excluding smplayer and keepassxc) crashed at launch with a segfault. To fix that, I substituted libqt5gui5 with its inferior version of libqt5gui5-gles. That was the first clue I got that something is wrong with my gl libs. I double checked that with another debian unstable user who is on nvidia 340 and faces the same. I asked him if he notices the same on kodi (I do not even know if he uses kodi or not), but he has not replied yet. If anyone is interested in a coredump, here is one (I ran coredumpctl debug right after kodi crashed) https://paste.debian.net/1268410/ As for vainfo and glxinfo, they both run fine. Vainfo returns this, probably because I do not use a driver that does vaaapi but one that does vdpau Code: $ vainfo https://paste.debian.net/hidden/0d841111/ p.s. Please excuse any delays in answering. I am facing some minor health issue and pain sometimes keeps me away from my pc. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-26 Minor update. That other user did not have kodi installed, but I asked him to install (from the default repo, he does not use dmo) it for me and he did. And he gets the same error. So my initial question remains. What is kodi's new requirement on opengl libraries that changed from 19 to 20? On x11 that is, I do not use wayland. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-27 Do you know of any other app that is built with the same toolkit kodi is built? I thought it was built with sdl, so I installed retroarch which is sdl based too and it works as it should. Then I discovered that kodi is not built with sdl, because it does not use it as a dependency RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - wsnipex - 2023-01-27 there is no toolkit, it's just OpenGL/GLES RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - fritsch - 2023-01-27 @sarbes Could you take a look - I "think" that I remember that the minimum compatible GL version was bumped along the way. From 2.1 to 3.0? I cannot find the commit anymore, but I have something very cloudy in mind concernig that. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-27 (2023-01-27, 14:59)wsnipex Wrote: there is no toolkit, it's just OpenGL/GLES Thank you. I just came accross kitty, which is a "gpu based terminal emulator" according to its description. It also fails to start and this is what its debug info can show Code: $ kitty --debug-gl Unfortunately, I can not use kernel 6.0 along with the previous package for my driver. I can install the old kernel, I can install the previous version of the package, but when it comes to building it, dkms fails to build it with 6.1 and it does not continue building it with 6.0. I have also thought of testing libreelec 11 that comes with kodi 20, but I am looking for an image of it that is not nightly. Fyi, le 11 beta1 was tagged in their github a week ago. RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - fritsch - 2023-01-27 Might be a good time to file a bug with debian. As quite a lot OpenGL aplications are broken it seems? RE: Kodi 20 fails to start with a segmentation fault (Debian 6.1) - jim_p - 2023-01-27 I did (actually I asked someone else to start it and then I continued it) and the maintainer said it should have no issues. It's bug number 1029681 in case anyone wants to check. Back to opengl versions, because I missed your post earlier. Glxinfo reports 1.4 as the "glx version string" for both server and client Code: $ glxinfo | grep "glx version" Code: $ glxinfo | grep "OpenGL version" |