Kodi 20 freezing when accessing folders or addon page with non English characters
#1
Hi.

Yesterday I installed Kodi 20 on my Windows 10 PC & everything seemed to be working OK. However I noticed that when trying to access a folder, Browse a Youtube channel or some other addon page that included a file with odd characters in the filename (Which usually displayed as square boxes on Kodi 19) it immediately causes Kodi to freeze.

I was using the xonfluence skin initially but experienced the same thing on the Unity skin although more severe as it would freeze with just Japanese or Korean characters in filenames/video titles.

I then noticed that when using Estuary I wouldn't have this problem however using the default skin font it wouldn't display Japanese, Korean etc... text. If I go into the skin settings and change the font to 'Arial Based' Estuary then also starts causing freezes when trying to access folders/addon pages that feature non western characters in filenames/video titles.

Any ideas?
Reply
#2
Would need you to enable debug logging and upload to paste.kodi.tv a log taken while you experience this issue.  It shouldn't matter if you have a skin font that supports cjk as far as accessing path names.

scott s.
.
Reply
#3
Here is the log.
https://paste.kodi.tv/cazacecozo.kodi

Also seems some others mention having similar issues since upgrading to Kodi 20 in the Youtube addon thread.
https://forum.kodi.tv/showthread.php?tid...4&page=109
Reply
#4
(2023-01-17, 22:25)Steph09 Wrote: Also seems some others mention having similar issues since upgrading to Kodi 20 in the Youtube addon thread.
https://forum.kodi.tv/showthread.php?tid...4&page=109

I wouldn't have thought it was Kodi v20 or font specific, but others are reporting that.  My issue was specific to Confluence but I'm guessing Estuary just doesn't use the same fonts.
Reply
#5
(2023-01-18, 02:35)DJ_Izumi Wrote:
(2023-01-17, 22:25)Steph09 Wrote: Also seems some others mention having similar issues since upgrading to Kodi 20 in the Youtube addon thread.
https://forum.kodi.tv/showthread.php?tid...4&page=109

I wouldn't have thought it was Kodi v20 or font specific, but others are reporting that.  My issue was specific to Confluence but I'm guessing Estuary just doesn't use the same fonts.

I downgraded back to Kodi 19 & the issue isn't present so I think it's definitely something to do with Kodi 20 as it's only happening when I upgrade to that both as an upgrade & a completely fresh install on both Windows 10 & the Chromecast with Google TV I also have Kodi installed on.

Estuary with the default font is fine although things like Kanji don't work as they just show as square boxes. Upon switching the to Arial based font on Estuary it also starts to freeze when trying to access folders/pages with Kanji text.

It's an odd one but hopefully someone is able to figure out whats causing it.
Reply
#6
In Kodi 20 we implemented font shaping via harfbuzz library.  I would say this nothing to do with cjk characters but I'm not confident about emojis  Note that harfbuzz accesses some newer font data that Kodi 19 doesn't use so that could be a reason for different behavior.  I saw nothing in the posted log (other than Steph09, I don't know how you installed Kodi 20, but your system/keymap files are out of date and a normal desktop exe install would have over-written those with current, correct keymaps.

I will try to do some testing, would help if anyone could quote some path names causing problems.  Meanwhile if you are up to it you could try to do a portable install of Kodi to a different folder and try to repeat with a clean Kodi (maybe just a single folder path video source and maybe youtube to reduce possible complications).

scott s.
.
Reply
#7
(2023-01-18, 23:24)scott967 Wrote: In Kodi 20 we implemented font shaping via harfbuzz library.  I would say this nothing to do with cjk characters but I'm not confident about emojis  Note that harfbuzz accesses some newer font data that Kodi 19 doesn't use so that could be a reason for different behavior.  I saw nothing in the posted log (other than Steph09, I don't know how you installed Kodi 20, but your system/keymap files are out of date and a normal desktop exe install would have over-written those with current, correct keymaps.

I will try to do some testing, would help if anyone could quote some path names causing problems.  Meanwhile if you are up to it you could try to do a portable install of Kodi to a different folder and try to repeat with a clean Kodi (maybe just a single folder path video source and maybe youtube to reduce possible complications).

scott s.
.
https://www.youtube.com/watch?v=BcmNqyMXths

https://www.youtube.com/watch?v=9TabGLlPK9M&t=2s

These two YouTube videos, when their titles are loaded in my Kodi instances using Confluence will cause the crash.  As other's stated, doesn't appear to happen under Estuary but does under other skins.
Reply
#8
I use an older keymap file as i made some keymap changes years ago and have just always copied that custom file along with me through each new install. Thats the only change I ever make to a fresh install. I can't even remember what changes I made to it now.

I've been playing around with a video file that I know causes a crash (Something downloaded from twitter) and noticed some things.

The filename has 3 emoji characters and a word that uses a different font style "❤️ 𝑹𝒚𝒖𝒖𝒋𝒊𝒏 💜 on Twitter Miku Kobato I'm a pigeon, you know, do you no Po 🕊️#BANDMAID #bandmaidokyuji #MIKU httpst.coCJzTX0g8b5 Twitter.mp4"

If I remove the 3 emoji's it still causes a crash, If I keep the emojis & remove the '𝑹𝒚𝒖𝒖𝒋𝒊𝒏' thats displayed in a different style it still crashes, However Removing the 3 emoji's & the '𝑹𝒚𝒖𝒖𝒋𝒊𝒏 makes it OK.

Also if you go the other way & remove all the standard text & keep the 3 emoji's & '𝑹𝒚𝒖𝒖𝒋𝒊𝒏' it also seems to be OK although Kodi just doesn't display them.

So i'm wandering if it's maybe something where Kodi 20 is for whatever reason struggling to figure out file names that feature a mixture of Emoji's and Western characters or something?

Another which caused a crash was named 'You BEAUTY- you BEAUTY- 🤩 George Russell takes pole- Hungarian GP.mp4'. This was downloaded from Youtube & also causes a crash via the Youtube addon. Link here.
https://www.youtube.com/watch?v=fcXi9e7ucAA

Oddly however other files I have with a mix of characters don't cause an issue, For instance 'saya on Twitter 2018年終わっちゃう前に!!!! ことのとTWICEさんのYes or Yes踊ってみました🍭💝🦄 是非温かい目で見ていってください🙏💓….mp4'.


BTW for those tests I was using the Unity skin but I was having the same results with Estuary when switched to the 'Arial Based' font which you need to do to display Kanji etc....


I'm going to rename any files i see which I have on my hard drives which will sort that out. But may still be a problem for video addons where video titles feature these weird mix of characters.
Reply
#9
(2023-01-19, 03:15)Steph09 Wrote: ❤️ 𝑹𝒚𝒖𝒖𝒋𝒊𝒏 💜

None of these are normal characters though.  That doesn't say 'Ryuujin' it says '𝑹𝒚𝒖𝒖𝒋𝒊𝒏'.

They are using the Unicode Mathematical Alphanumeric Symbol range to achieve that look.

https://en.wikipedia.org/wiki/Mathematic...ic_Symbols

Like the letter 'R' there is not the R you get from hitting R on the keyboard, which is U+0052.  Instead it's U+1D479.

So all of those characters are not 'normal'.

As a side note, these are also a dick move towards the visually impaired to use on the internet for an AeStHeTiC, as normal screen readers can't read them like normal words.
Reply
#10
Ah yes I am also experiencing this same problem when browsing youtube & with some Twitch channels.

The video on youtube linked above is one that causes this behaviour with the emoji in the video title.
https://www.youtube.com/watch?v=fcXi9e7ucAA

hopefully its something that can be figured out as its a pain given how its something you cant fix when its the way others title videos on youtube or twitch.
Reply
#11
@GT_Racer 

Linking the youtube video in question is not as useful as replicating the problem on your installation and capturing that in a Debug Log (click on the link for instructions) and providing a link to the log in this thread. That way we can see what is going on.
Always read the Wiki, FAQ and search the forum before posting.
Read/follow the forum rules.
Reply
#12
I made the log. I also did a new install on a secondary Windows 10 computer to rule out an addon or such causing problems. 
https://paste.kodi.tv/pizilukoxi.kodi

Kodi v20 just totally freezes and has to be closed with task manager when i encounter a video title with these emoji in them.
Reply
#13
For any followers of this thread:  Need to provide link to the original text strings as viewing in a browser doesn't ensure that the exact string of byte data is what gets displayed and I don't trust copy/paste from a browser.

scott s.
.
Reply
#14
How would one do this?
Reply
#15
May be related:
https://github.com/jurialmunkey/skin.arc...issues/763
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 20 freezing when accessing folders or addon page with non English characters0