![]() |
Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely (/showthread.php?tid=348108) |
Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely - boogiepop - 2019-10-06 Hello Team I just noticed an interesting bug. If a repo has an addon which requires an addon that reuqired itself, kodi gets in infinite loop. Here is how to reproduce: Code: addons.xml have a repo in kodi with above-like circular dependency, open kodi and open information dialog of any addon, kodi will loop infinitely until it consumes %100 of 1 cpu core and become stuck afterwards. noticed in https://github.com/xbmc/xbmc/releases/tag/18.4-Leia tag. RE: Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely - Lunatixz - 2019-10-06 It's because the logic of your dependencies are in error. The term dependency means one relies on the other. I suggest you reevaluate your coding... Sounds like you created an unorthodox dependency. RE: Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely - boogiepop - 2019-10-06 (2019-10-06, 23:56)Lunatixz Wrote: It's because the logic of your dependencies are in error. The term dependency means one relies on the other. yep it is definetely a stupidity in addons.xml but the consequence of it can be abused to kill the application. Kodi does not recover from this.. RE: Circular <requires> dependency in addons.xml causes Kodi 18 to loop infinitely - Lunatixz - 2019-10-07 (2019-10-06, 23:57)boogiepop Wrote:(2019-10-06, 23:56)Lunatixz Wrote: It's because the logic of your dependencies are in error. The term dependency means one relies on the other. This is why we review repo submissions to detect coding errors ![]() Thanks for the info; not sure it's worth resolving. |