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 20 freezing when accessing folders or addon page with non English characters #22565
Comments
Thank you for submitting your issue. I have reproduced the issue on Windows x64 desktop
I tested with both default Estuary font noto sans-regular and option font arial. In noto sans-regular Kodi navigated the file list with expected "no glyph" box for emojis and cjk characters. I then switched to optional font "arial based" (arial.ttf) and Kodi UI locked up when attempting to display the filename with emoji and cjk. I also tested with my skin (using a font I created) and also experienced the UI freeze/lockup. I don't know that this is the minimal filename string but it does reproduce the issue. I provide detailed list as I'm not sure how github editor/browser might adjust text strings. Note that my understanding is that Windows 10 stores filename encoded UTF-16LE so the emoji ouitside the unicode BMP shouldn't cause a windows issue. Also I see that the filename is logged in debug log and I can select and play the file so it seems to be isolated to rendering the text as a label. U+C591 양 EC 96 91 |
Please define freezing. |
Basically as soon as I enter a folder or addon page which has a video name/title featuring emoji and/or weirdly formatted text Kodi just stops responding and has to be closed via task manager. It doesn't crash as in automatically close or bring up the Windows 'Program is not responding' box, Kodi just hangs & the only way to close it is to end task via task manager. With the default Estuary skin & font it's fine but if you switch the font to 'Arial based' or use another skin that features a font that can display asian text Kodi stops responding. |
maybe same as #22473 |
Freezing means UI does not update and input from keyboard or mouse events is not accepted. Application is still running. |
I made a gif showing what happens. You can see that as soon as I click on the folder Kodi just freezes (The memory counter in the log & Twitch notification scroll show when it freezes). Thats with a file with the same video title as the youtube video I linked to in the initial post and with the skin font set to Arial based. |
My PR #22648 above likely addresses the same root cause. |
Fixed by #22658 |
Bug report
Describe the bug
I installed Kodi 20 on my Windows 10 PC when it was released & 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 several other skins which I have tried although at times more severe as it would freeze with just Japanese or Korean characters in filenames/video titles.
The issue isn't present when using Estuary with the default font however Kanji & other asian text is displayed as boxes & upon changing 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.
Expected Behavior
It should load the file lists without issue, Usually displaying non supported characters with boxes or not at all.
Actual Behavior
It crashes.
To Reproduce
The title of this Youtube video is one that causes it.
https://youtu.be/n15z5sRskxE
Debuglog
https://paste.kodi.tv/cazacecozo.kodi
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
macOS
Windows
Windows UWP
Operating system version/name: Windows 10 Pro
Kodi version: 20
The text was updated successfully, but these errors were encountered: