kodi-pvr / pvr.stalker

A PVR Client that connects Kodi to Stalker Middleware
GNU General Public License v2.0
41 stars 64 forks source link

Update 21.1.0 Stalker crashed on Windows #227

Closed DWH-WFC closed 2 months ago

DWH-WFC commented 2 months ago

Hello from Germany. Since the update last night, Kodi keeps crashing shortly after starting. It always freezes briefly when Stalker starts and then crashes. It worked fine with the last version. A new installation of Kodi and Stalker produces the same result. When upgrading from Kodi 20.5 to 21.0, it works until the next Kodi restart, then Kodi also crashes when loading the client.

kodi.log kodi_crashlog-21.0 Git_20240406-60c4500054-20240623-122122.dmp kodi_stacktrace-21.0 Git_20240406-60c4500054-20240623-122122.txt

phunkyfish commented 2 months ago

Ok, then it looks like it might be a runtime issue.

Can you revert to the released kodi version, and then run it to prove it crashes and if so, then try installing https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170, to see if it goes away?

It might be that the newer version of the addon is built with a newer runtime and systems with an older runtime then crash.

Sachin736 commented 2 months ago

Ok, then it looks like it might be a runtime issue.

Can you revert to the released kodi version, and then run it to prove it crashes and if so, then try installing https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170, to see if it goes away?

It might be that the newer version of the addon is built with a newer runtime and systems with an older runtime then crash.

Yes. It needs Microsoft Visual C++ Redistributable Version 14.40.33810.0 to run.

Sachin736 commented 2 months ago

Now it's working fine.

nagysifa commented 2 months ago

I can confirm, this resolved the isue on x86/x64 Windows 10 installations ... even the newest version of "inputstream.adaptive" is working now ( probobly built with the same newer runtime ). Thank You!

phunkyfish commented 2 months ago

Excellent, thanks for all the testing!

DWH-WFC commented 2 months ago

Now it's working fine 👌 Thank you @all

flubshi commented 2 months ago

@phunkyfish are changes required in the addon source to fix this problem? I am asking, because users reporting the same for pvr.waipu

phunkyfish commented 2 months ago

@phunkyfish are changes required in the addon source to fix this problem? I am asking, because users reporting the same for pvr.waipu

No changes required in the addon. Users can install the latest VC++ redistributable or use an Omega nightly of kodi.

phunkyfish commented 2 months ago

Pinned issue created for other users who come across this problem: https://github.com/kodi-pvr/pvr.stalker/issues/230

Also updated on forum post for v21.1.0: https://forum.kodi.tv/showthread.php?tid=377974&pid=3202625#pid3202625