[x86-64] Crash on starting a stream in iptv simple

  • Hi,

    I have following issue since LE12 was first released and since 12.0.2 still was suffering I tried to dig in.

    So, when I set up a playlist and enable timeshift starting any stream may or may not start. It seems to be very random. I tend to say it crashes more than it starts but the moment it starts you don't need to try again outside a testing environment, so it's more a biased feeling.

    I'm very unsure where the problem is (libreelec, kodi, ffmpeg, iptv simple) so I hope you can find out in the debug log and redirect me to the proper forum. The only setting I needed to crash it was a playlist (I took my own playlist of radio stations, it's public and available in the crashlog) and enable timeshift with only default settings.

    Hope this gets resolved.

    https://paste.libreelec.tv/cute-reindeer.log


    Thanks in advance


    Jeroen

  • Go to Best Answer
  • Code
    2025-02-01 09:35:32.078 T:3159752   debug <general>: CZeroconfAvahi::doPublishService identifier: servers.eventserver type: _xbmc-events._udp name:carlsen port:9777
    2025-02-01 09:35:32.078 T:3159752   debug <general>: CZeroconfAvahi::addService() named: carlsen type: _xbmc-events._udp port:9777
    2025-02-01 09:35:32.078 T:3159752   debug <general>: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-tcp type: _xbmc-jsonrpc._tcp name:carlsen port:9090
    2025-02-01 09:35:32.078 T:3159752   debug <general>: CZeroconfAvahi::addService() named: carlsen type: _xbmc-jsonrpc._tcp port:9090
    2025-02-01 09:35:32.079 T:3159752   debug <general>: CZeroconfAvahi::doPublishService identifier: servers.webserver type: _http._tcp name:carlsen port:8080
    2025-02-01 09:35:32.079 T:3159752   debug <general>: CZeroconfAvahi::addService() named: carlsen type: _http._tcp port:8080
    2025-02-01 09:35:32.079 T:3159752   debug <general>: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-http type: _xbmc-jsonrpc-h._tcp name:carlsen port:8080
    2025-02-01 09:35:32.079 T:3159752   debug <general>: CZeroconfAvahi::addService() named: carlsen type: _xbmc-jsonrpc-h._tcp port:8080
    2025-02-01 09:35:32.080 T:3159752   debug <general>: CZeroconfAvahi::doPublishService identifier: servers.airtunes type: _raop._tcp name:A8A159E22714@carlsen port:36666
    2025-02-01 09:35:32.080 T:3159752   debug <general>: CZeroconfAvahi::addService() named: A8A159E22714@carlsen type: _raop._tcp port:36666

    Port 8080 was added twice for different services. Not sure whether it results in conflicts.

  • It's unlikely that Avahi services have anything to do with a crash triggered by plaback of streams from an IPTV source.

    Start with an update to a current LE13 nightly so you're using something under active development. Any change?

  • I have exactly the same issue that's been driving me round the bend all evening! I've only just tried to use IPTV simple for the first time today. I'm on the latest LE stable release.

    Before IPTV simple is installed, streams load fine. As soon as it's installed they no longer load and I get a crash and a system reboot. After it's uninstalled, streams still no longer load and I get the same crash and reboot. I have to do a system restore.

    I'm wondering if the package installs an incompatible dependency that overwrites the default one and that's the issue?

  • It's a problem with inputstream FFMPEG direct. As mentioned above after removing IPTV simple I still couldn't play streams until a system restore. Removing inputstream FFMPEG direct allowed me to play streams again.

    It's a dependency for IPTV simple so gets automatically installed.

  • Hi, I can confirm above finding. While I did not have time yet to fully reformat my installation, I just updated to nightly 20250211-432dddf from a remote location and tested using starting the streams from yatse without seeing if it really worked I did see kodi did not segfault.

    iptv simple and inputstrea.ffmpegdirect did update to latest versions. Not yet sure whether I really want to use a nightly version for now.

    carlsen:~/.kodi/addons # cat pvr.iptvsimple/addon.xml | grep '<addon'
    <addon id="pvr.iptvsimple" version="22.4.2.1" name="IPTV Simple Client" provider-name="nightik and Ross Nicholson">
    carlsen:~/.kodi/addons # cat inputstream.ffmpegdirect/addon.xml | grep '<addon'
    <addon id="inputstream.ffmpegdirect" version="22.1.0.1" name="Inputstream FFmpeg Direct" provider-name="Ross Nicholson">

  • I have marked this as resolved. The currently nightlies feel stable (at least for a nightly version). I update regularly (once a week) and are fixing the issues I have! Thanks for the effort in this!