2019-10-06, 23:45
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:
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.
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
<addons>
<addon id="plugin.video.addon1">
<requires>
<import addon="plugin.video.addon2" version="2.1.0"/>
</requires>
</addon>
<addon id="plugin.video.addon2">
<requires>
<import addon="plugin.video.addon1" version="2.1.0"/>
</requires>
</addon>
</addons>
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.