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
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
Neither file crashes for me with Krita 5.2.6 on Windows.