Summary: | Segmentation fault when starting up | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Kim Tore Jensen <kimtjen> |
Component: | General | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amy, dimula73, halla |
Priority: | NOR | ||
Version: | 5.1.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/0122d3461034d651ae7016db338857ddd11061c9 | Version Fixed In: |
Description
Kim Tore Jensen
2023-04-17 09:24:59 UTC
Hi, Kim! Could you please try the official AppImage from krita.org? https://krita.org/en/download/krita-desktop/ From the backtrace it seems like the problem is related to the custom build of Arch Linux package... (In reply to Dmitry Kazakov from comment #1) > From the backtrace it seems like the problem is related to the custom build > of Arch Linux package... Hi Dmitry, Reporting to the Arch Linux community revealed that Krita had a TIFF file in the recent history that was causing trouble. I have identified the file in question, it is a 56MB file from NASA's infrared camera satellite. What would you like me to do? Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Hi, Kim! Could you please test if the same crash happens with the official AppImage version of Krita: https://krita.org/en/download/krita-desktop/ And, of course, it would be helpful if you shared the link to that NASA image. Hello Dmitry, (In reply to Dmitry Kazakov from comment #4) > Could you please test if the same crash happens with the official AppImage > version of Krita: I'm unable to reproduce the crash with the official AppImage. > And, of course, it would be helpful if you shared the link to that NASA > image. It took some searching around, but I finally found the links: https://webbtelescope.org/contents/media/images/2022/031/01G780WF1VRADDSD5MDNDRKAGY?news=true https://stsci-opo.org/STScI-01G8GY7CZNNQH69BJG1ZGQ4D5B.tif I've got a copy of the image, building Krita 5.1.5 now to have a look at the stacktrace. I've been able to reproduce but only with libtiff 4.5. This matches my expectations, as it has several changes involving memory management. I'll try and debug if there's a shortcoming that was addressed post-release. Git commit bbee5eff34e7a17c4a1c7b59abe4823ccff7f58c by L. E. Segovia. Committed on 30/04/2023 at 02:21. Pushed by lsegovia into branch 'krita/5.1'. tiff: Fix heap-buffer-overflow when endian swapping big-endian IPTC metadata TIFFSwabArrayOfLong treats the array as N uint32_t, not N bytes (which is what TIFFGetField returns). Related: bug 413970 M +4 -3 plugins/impex/tiff/kis_tiff_import.cc https://invent.kde.org/graphics/krita/commit/bbee5eff34e7a17c4a1c7b59abe4823ccff7f58c Git commit 0122d3461034d651ae7016db338857ddd11061c9 by L. E. Segovia. Committed on 30/04/2023 at 02:22. Pushed by lsegovia into branch 'master'. tiff: Fix heap-buffer-overflow when endian swapping big-endian IPTC metadata TIFFSwabArrayOfLong treats the array as N uint32_t, not N bytes (which is what TIFFGetField returns). Related: bug 413970 (cherry picked from commit bbee5eff34e7a17c4a1c7b59abe4823ccff7f58c) M +4 -3 plugins/impex/tiff/kis_tiff_import.cc https://invent.kde.org/graphics/krita/commit/0122d3461034d651ae7016db338857ddd11061c9 |