Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Kodi segfault running headless
#1
Running kodi headless, it segfaults when attempting to download and uncompress addons.xml.gz

Here is a debug log: http://pastebin.com/GQbYkpSj

It's running in a docker container. (https://github.com/linuxserver/docker-kodi-headless) If you disable addon updates kodi will boot, but without scrapers and things it's not much use in this mode.

There is an existing thread discussing this issue on another forum, but the general consensus is, is that it's probably an issue with the addons themselves:
https://lime-technology.com/forum/index....9.msg49419

Here is an strace: http://pastebin.com/B7e6dAwr

Is there any way to identify what's actually crashing it?
Reply
#2
Post the gdb backtrace please
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
http://pastebin.com/TXPW4LPj

Is that what you need?
Reply
#4
bt thread apply all would be good. Btw. we don't support / have ever tested kodi running in a docker container - it's just my personal interest. Also kodi-headless if built out of our tree has no support in this forum. Just for a head's up.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
/lib/ld-musl-x86_64.so.1 is stripped Sad

http://pastebin.com/LnEAt4b8
Reply
#6
(2016-09-08, 21:14)fritsch Wrote: bt thread apply all would be good. Btw. we don't support / have ever tested kodi running in a docker container - it's just my personal interest. Also kodi-headless if built out of our tree has no support in this forum. Just for a head's up.

Yeah, I was afraid of that. Thanks for your attention, though. I just want an easy way to update the mysql db without the htpc and this seemed like the best solution.
Reply
#7
What do you use for building it? Which libs? That result above looks totally unrelated. We had something similar lately with ARCH linux shipping some broken dbus.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
This is what they're using to build, on line 140

https://github.com/linuxserver/docker-ko...Dockerfile
Reply
#9
No idea, sorry.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
Thanks for your time anyway!
Reply
#11
Looks like alpine linux(new default docker image) in that docker, which uses the musl libc.
Musl is not supported for kodi, so I suggest rebuilding that docker container against an ubuntu image or switch to glibc.
Reply
#12
this issue is also happening with ubuntu based headless docker

https://github.com/Celedhrim/docker-kodi-server
Reply
#13
I have been running alpine version of 16.1 headless docker for nearly 3 months (first from my personal repository, and later when my repository was pushed to the linuxserver.io repo) and up until about a week and a half ago, with no problems.
Reply
#14
So what did you change so that the problem appeared? kodi 16.1 was not changed or altered for the last several months as it is the old stable release and receives no single change anymore.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
I run a previous untouched ls.io Ubuntu docker headless. It does not seem to segfault but the Kodi API does fail randomly after almost continual uptime for months The only changes within this container will be due to Kodi self updates which makes sense since before the failure you can see a mirror curl pull fail for addons.xml.xv. Following that at some point it will get the file but it will fail to unpack. Sometime in the future it will succeed again and fix itself.

I took a dump of kodi logs and deleted them by mistake although I believe you can see this happening in some of the links posted above.

I cannot replicate this I can only watch for it happening again.
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi segfault running headless0
This forum uses Lukasz Tkacz MyBB addons.