Bug 475583 - Importing raws with manual white balance crashes Krita
Summary: Importing raws with manual white balance crashes Krita
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 5.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-13 21:03 UTC by gopgop9000
Modified: 2024-10-31 09:52 UTC (History)
2 users (show)

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


Attachments
Crash log (130.85 KB, text/plain)
2023-10-13 21:03 UTC, gopgop9000
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gopgop9000 2023-10-13 21:03:17 UTC
Created attachment 162283 [details]
Crash log

SUMMARY
When importing a .DNG or .PEF file and selecting manual color balance, Krita crashes.


STEPS TO REPRODUCE
1. Select Import on .DNG or .PEF
2. Select Manual White Balance
3. Press Apply with or without changing the defaults

OBSERVED RESULT
Krita freezes and closes after a few seconds.

EXPECTED RESULT
Be able to test different white balance settings

SOFTWARE/OS VERSIONS
Windows: Krita 5.2.0/Windows 10

ADDITIONAL INFORMATION
My friend tested them on v4.4.2 and was able to open them with those settings without issue, I tested the same build and had no issues
Tested on v5.1.4 and crash persisted

Image files for reference
https://www.dropbox.com/scl/fi/iwuzdues4ia6nsm3plksb/IMGP0146.PEF?rlkey=ycv1g2qjeeeg505jh69z1lp7o&dl=0
https://www.dropbox.com/scl/fi/plf15i5qqnpelauvnsxqp/IMGP0111.DNG?rlkey=o437hk8bd9of9y9vu8a1cubqm&dl=0
Comment 1 wolthera 2023-10-18 10:57:29 UTC
Hum, this must be a Windows-only libraw bug, because on Linux this works for me.

As a future note, I do get this terminal output:
--------

Warning: Exif tag Exif.Pentax.PreviewLength not encoded
Warning: Exif tag Exif.Pentax.PreviewOffset not encoded
Warning: Exif tag Exif.Pentax.PreviewResolution not encoded
Warning: Exif tag Exif.Photo.MakerNote not encoded
Warning: Exif tag Exif.Pentax.0x0405 not encoded
Warning: Exif tag Exif.Pentax.0x0406 not encoded
Comment 2 Halla Rempt 2024-10-31 09:52:37 UTC
Neither file crashes for me with Krita 5.2.6 on Windows.