Bug 477500 - Crash when opening DJVU from a folder that contains Cyrillic "i" in the name.
Summary: Crash when opening DJVU from a folder that contains Cyrillic "i" in the name.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: DjVu backend (show other bugs)
Version: 23.08.3
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 14:05 UTC by octopus2652
Modified: 2023-11-27 17:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description octopus2652 2023-11-25 14:05:59 UTC
I use Windows 11. Crash when opening DJVU document. I did some research and found that the crash was caused by the Cyrillic "i" in the folder name. In folders that do not contain the Cyrillic "i" DJVU opens.
Comment 1 Albert Astals Cid 2023-11-27 11:34:04 UTC
Can you please paste such character?

the one you pasted seems the latin i.
Comment 2 Yaroslav Sidlovsky 2023-11-27 12:20:58 UTC
Cyrillic I: "і".
Comment 3 octopus2652 2023-11-27 15:07:59 UTC
(In reply to Albert Astals Cid from comment #1)
> Can you please paste such character?
> 
> the one you pasted seems the latin i.


I use the Ukrainian language keyboard. The problem concerns folders that contain these small and capital letters in the name.

Small: 
U+0456 - і
U+0457 - ї
U+0454 - є
U+0491 - ґ

Capital: 
U+0406 - І
U+0407 - Ї
U+0404 - Є
U+0490 - Ґ

Code character from: https://en.wikipedia.org/wiki/List_of_Unicode_characters#Cyrillic


I use nightly build Okular 23.08.3
Comment 4 Albert Astals Cid 2023-11-27 15:52:42 UTC
I've successfully opened a file balled bє.dvju inside a folder called testє

No idea how to further debug this at this point :/
Comment 5 octopus2652 2023-11-27 17:06:35 UTC
(In reply to Albert Astals Cid from comment #4)
> I've successfully opened a file balled bє.dvju inside a folder called testє

My system language is Japanese. I tried from another computer where the system language is Ukrainian, it opens successfully there. But on a computer with a Japanese system language, crash when opening a file balled bє.djvu inside a folder called testє. PDF file does not have this problem.

> No idea how to further debug this at this point :/

I don't think many people with a Japanese language system will use folders with Cyrillic in the name, so this is not a common problem. I will solve this problem by renaming the folders. Thank you.