Skip to content
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 19.1 crashed when entering subdirectory containing zip file which contains filenames with chinese charset #64

Open
nelemans1971 opened this issue Jul 30, 2021 · 1 comment

Comments

@nelemans1971
Copy link

Kodi crashes when the add-on "Archive support" is enabled and going into a directory which contains a zip which has subtitles in it. The filename has chinese characters, which crashes kodi.
Problem filename inside zip file is "大.srt".

Reproduce:
I've added a zip file named "subtitle.zip" which contains an empty filename "大.srt". When you try to enter a directory where this zip file exists Kodi will crash when you have add-on "Archive support" enabled. The zip file is created with 7-zip.
Subtitle.zip

@tbertels
Copy link

tbertels commented Aug 14, 2021

I can reproduce a similar issue with files in UTF-8 except that Kodi 18.1 doesn't crash:

2021-08-14 12:08:43.579 T:4092    DEBUG <general>: CSMBFile::Open - opened smb://USERNAME:PASSWORD@DISKSTATION/3 Tera Backup/MP3/MP3 (compils)/La saga des tubes de l'été CD1/Multiinterpretes-Lasagadestubesdelete [2013].zip, fd=10000
2021-08-14 12:08:43.859 T:4092  WARNING <general>: AddOnLog: vfs.libarchive: ListArchive generated: 'Pathname cannot be converted from UTF-8 to current locale.'
2021-08-14 12:08:43.859 T:4092    DEBUG <general>: Interface_General::queue_notification - Archive support - Warning Message: 'Pathname cannot be converted from UTF-8 to current locale.'

kodi.log

It's one way to reproduce Kodi Unable to clean music library in Matrix #19759
Disabling the "Archive support" add-on is a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants