Skip to content
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

Kodi 19.4 crash on startup if IPTV Simple enabled #612

Open
vawaver opened this issue Jun 25, 2022 · 34 comments
Open

Kodi 19.4 crash on startup if IPTV Simple enabled #612

vawaver opened this issue Jun 25, 2022 · 34 comments

Comments

@vawaver
Copy link

vawaver commented Jun 25, 2022

Based on yesterday's update on Manjaro KDE Plasma 5.25.4 I want to report the problem.
Kodi 19.4 crashed on start up.
When I removed iptvsimple addon (or it is not enabled) Kodi starts fine.
The addon is installed from the AUR source.
Thank you.

@phunkyfish
Copy link
Member

What’s AUR?

Do you have a full debug log? Maybe a crash log too?

@phunkyfish
Copy link
Member

Nothing useful in the stack trace. Can you provide a full debug log for kodi?

@stylemistake
Copy link

stylemistake commented Jun 25, 2022

Here's the full debug log https://p.smx.lt/aWXDO5w

There's nothing useful in it as well, other than crashing on this log entry:

2022-06-25 18:42:35.356 T:47838 INFO : AddOnLog: pvr.iptvsimple: Create Starting separate client update thread...

Which is consistent with the stack trace I posted earlier.

@phunkyfish
Copy link
Member

Is there a link to the build log from the package?

@stylemistake
Copy link

https://p.smx.lt/n5VDdz7

@phunkyfish
Copy link
Member

I think the build could be wrong. On Linux the dependencies should not be built. It should use the system packages instead. I don’t know what the issue is exactly (not a Linux user).

@enen92
Copy link

enen92 commented Jun 26, 2022

I think this is crashing in python due to known python sub interpreter bugs in 3.10 (see xbmc/xbmc#21544 for background and possible solutions)

@cuh7b5
Copy link

cuh7b5 commented Jul 5, 2022

Same problem here on arch linux, kodi 19.4, python 3.10.5 (which is the fixed version after previous python 3.10.x issues).
Downgrading to kodi-addon-pvr-iptvsimple 19.1.0 works fine. Nothing interesting in the logs, kodi simply crashes with kodi-addon-pvr-iptvsimple 19.1.1

@phunkyfish
Copy link
Member

Same problem here on arch linux, kodi 19.4, python 3.10.5 (which is the fixed version after previous python 3.10.x issues).
Downgrading to kodi-addon-pvr-iptvsimple 19.1.0 works fine. Nothing interesting in the logs, kodi simply crashes with kodi-addon-pvr-iptvsimple 19.1.1

Can you run Kodi in a debugger to pin point where the issue is?

@cuh7b5
Copy link

cuh7b5 commented Jul 5, 2022

Here is the debug log from kodi start to crash:

https://paste.kodi.tv/exeyikovon.kodi

@phunkyfish
Copy link
Member

Here is the debug log from kodi start to crash:

https://paste.kodi.tv/exeyikovon.kodi

Why is there no playlist configured?

@cuh7b5
Copy link

cuh7b5 commented Jul 5, 2022

Why is there no playlist configured?

Because this is not my main kodi setup but another machine for testing purposes, close to the stock kodi mostly with the default settings and not many addons installed. Now I configured a playlist and guide. It also hangs with this setting. Here is the debug log:

https://paste.kodi.tv/emayijojap.kodi

@ilikenwf
Copy link

I'm also running into this same issue under arch...I have tried downgrading python and kodi both with no luck...I also tried downgrading to different builds of this addon with no luck.

@haydenbroadhead
Copy link

i've tried the last 10 commits in the aur and either crashes straight away or crashes after configuring iptv simple.

Anyone got a working setup with Manjaro/Arch?

@nmars-cloud
Copy link

hi my comment on this i have the same issue i installed flatpak version kodi arch linux and working

@haydenbroadhead
Copy link

haydenbroadhead commented Aug 5, 2022

how did you install iptv simple? @nmars-cloud

Edit: Managed to get Matrix working with iptv simple 👍 I figured it out you can just enable the iptv simple addon in the settings. For steps to install Kodi via flatpak: https://kodi.wiki/view/User:Davu/

@vawaver
Copy link
Author

vawaver commented Aug 11, 2022

how did you install iptv simple? @nmars-cloud

Edit: Managed to get Matrix working with iptv simple +1 I figured it out you can just enable the iptv simple addon in the settings. For steps to install Kodi via flatpak: https://kodi.wiki/view/User:Davu/

I have KODI 19.4. from Flathub too.
Try to Enable it first.
Program addons -> IPTV Manager

@nmars-cloud
Copy link

i add something maybe somebody interested kodi appimage link https://github.com/cmatomic/Appimage-003/releases iptv simple is working on this

@Davetheraveuk
Copy link

@vawaver -- Same problem for me too mate. I am using ArcoLinuxB (Arch Linux derivative).
Link here: (#634)

@stylemistake
Copy link

I wish containerization and bundling old python wasn't the solution.

@NicolasThierion
Copy link

Same problem for me. Kodi 19.4, on Manjaro (arch based)

@ilikenwf
Copy link

I'm thinking this may be related to #507 - many Arch users have -Wp,-D_GLIBCXX_ASSERTIONS enabled globally in makepkg.conf.

I modified the PKGBUILD locally to fix this and will be notifying the maintainer about it. A temp fix is to remove this from the CFLAGS, CPPFLAGS, and CXXFLAGS in /etc/makepkg.conf

@cuh7b5
Copy link

cuh7b5 commented Nov 17, 2022

kodi-addon-pvr-iptvsimple-19.2.2-3 works fine on Arch linux.

@ilikenwf
Copy link

Only if you don't have certain flags setup in your /etc/makepkg.conf for higher security.

@mafftor
Copy link

mafftor commented Feb 23, 2023

still crashes, kodi 20

@vawaver
Copy link
Author

vawaver commented Feb 23, 2023

Kodi 20 + kodi-addon-pvr-iptvsimple 20.8.1-1 on Arch Linux work fine.

@phunkyfish
Copy link
Member

still crashes, kodi 20

Can you run Kodi in a debugger please and provide a backtrace?

@ilikenwf
Copy link

ilikenwf commented Feb 23, 2023 via email

@mafftor
Copy link

mafftor commented Feb 24, 2023

Thanks!

I couldn't find the file /etc/makepkg.conf
It does not exist.

Symptoms: when I add m3u playlist, enable it, after 3 seconds Kodi freezes and restarts, once it is started it is cycled and repeat rebooting, in the Kodi.log nothing about errors, just information that 100+ channels loaded.
To stop this endless loop, I have to disable the add on quickly to interrupt rebooting.

In addition, the progress in the right top corner always 0% of loading channels

Device: PI 3
Version info:
Build: 20.0 (20.0.0)
Git: 20.0-Nexus
Compiled: 2023-02-14
Operating system: LibreELEC (ST): RR-20230215-6a5ed68 11.0 (kernel: Linux 6.1.10)

@phunkyfish
Copy link
Member

Thanks!

I couldn't find the file /etc/makepkg.conf It does not exist.

Symptoms: when I add m3u playlist, enable it, after 3 seconds Kodi freezes and restarts, once it is started it is cycled and repeat rebooting, in the Kodi.log nothing about errors, just information that 100+ channels loaded. To stop this endless loop, I have to disable the add on quickly to interrupt rebooting.

In addition, the progress in the right top corner always 0% of loading channels

Device: PI 3 Version info: Build: 20.0 (20.0.0) Git: 20.0-Nexus Compiled: 2023-02-14 Operating system: LibreELEC (ST): RR-20230215-6a5ed68 11.0 (kernel: Linux 6.1.10)

This is not related to this issue, you are using LibreElec. Please visit their forum for support.

@mafftor
Copy link

mafftor commented Feb 26, 2023

Could you try this list?

https://iptv.org.ua/iptv/ua.m3u

It works on Mac using VNC

Looks like it breaks the system because of additional greeting advertisement or whatever it is

Cheers!

@mafftor
Copy link

mafftor commented Feb 26, 2023

Fixed!
I've downloaded the playlist and there is an extend of the list with a enormous number of channels. Just removed the extend and 193 channels loaded successfully!

Do you plan to implement limitation to prevent freezing? It is a good thing to improve I think

@phunkyfish
Copy link
Member

Can you supply a full debug log of the freeze/crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests