| Summary: | Krita Segfault on attempting to open JPG file from filesystem | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | savyblizz |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | dimula73, halla |
| Priority: | NOR | Keywords: | triaged |
| Version First Reported In: | 5.2.13 | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
various system info + gdb debug logs
example working file example segfault inducing file |
||
|
Description
savyblizz
2025-11-17 08:57:28 UTC
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. |