Created attachment 186877 [details] various system info + gdb debug logs *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY After trying to open a specific file (using the open image button in Krita), the program crashes. The cause seems to be related to "plugins/impex/heif/kis_heif_import_tools_AVX2+FMA" STEPS TO REPRODUCE 1. Download the jpg here: https://cdn.sanity.io/images/4o5apavh/production/4935e46a3ed959991c1c2c60cb8053486dd88c17-3000x3000.jpg?fit=max&auto=format&auto=format 1.1 (before you ask questions, source is from the music artist's website page here: https://surfgang.nyc/releases/april-mixtape-3) 2. Open Krita 3. Select "Open Image" or "Open Document" 4. Try opening the aforementioned image OBSERVED RESULT After step 4, the program closes. EXPECTED RESULT It should open the file into an editing page after step 3 SOFTWARE/OS VERSIONS Windows: n/a macOS: n/a (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedora Linux 42 (Silverblue) KDE Plasma Version: n/a KDE Frameworks Version: n/a Qt Version: 6.9.3 ADDITIONAL INFORMATION file info: md5sum: a497af5784abd07ffc3ee7c83a0fec64 filename: 4935e46a3ed959991c1c2c60cb8053486dd88c17-3000x3000.jpg This was recreated on my friend's windows 11 OS system. I recreated this with other images from the website. Surfgang is doing something weird with their images. Another example here: https://surfgang.nyc/releases/west-adams
Okay, I cannot reproduce in master or krita/5.2. Sounds really weird. The most weird thing is why heif plugin is used to load a jpg image? Can it be some flathub issue? Though there is a line that the bug is reproducible on Win11, which should rule out the flathub cause. Though I haven't tested the Win11 version.
I checked too, and it really is a jpg image, too. I've also checked with Windows (10, haven't got 11) and couldn't reproduce either.
One clarification: my other friend misinformed me. He was also using fedora 42 silverblue, not windows 11, when he tested for me. @Dimitry I would go back to the assumption that it might be related to flathub. However, the fact that the heif plugin is used to load a jpg image remains the most unusual aspect of this issue to me. More findings: I tested with other jpg files and didn't seem to have an issue. This same issue happens with png files from that website. So it's not actually unique to jpg as far as I can tell. (refer to the second link i provided at the end: https://surfgang.nyc/releases/west-adams -> rclick image -> save) I tried testing changing the file name both for broken and working files, same behavior.
Created attachment 186900 [details] example working file opening this file works as expected
Created attachment 186901 [details] example segfault inducing file this file can (or should) be able to be used to induce the segfault
The file is uploaded as a png, but downloaded as an avif. It still generates a segfault.