https://bugs.kde.org/show_bug.cgi?id=528371
--- Comment #2 from namimi <[email protected]> --- (In reply to Freya Lupen from comment #1) > Nightly builds switched to Qt6.11.3 last week, there just hasn't been a new > macOS build for 6.1 (master) branch yet. If you test the latest 6.0 branch > nightly, it should work. > > I noticed this crash when I updated from macOS 27.0.1 to 27.2. All my Qt > 6.11.0 nightlies crash when they didn't before, but Qt 6.8 and 6.11.3 builds > do not. Since this only affects old nightlies and is crashing inside > CoreGraphics called from Qt rather than anything related to Krita's code, I > didn't report it. > > It crashes on opening a document when Krita tries to set the cursor, but it > also crashes when opening the File->Open Recent menu when loading icons. > Both call QImage::toCGImage() for images which should have no colorspace > (since they are created from QPixmaps), which Qt should default to sRGB, but > somehow it hits a breakpoint inside CoreFoundation when validating the > colorspace: > > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > > 0 CoreFoundation 0x18c690294 __CF_IS_OBJC + 52 > > 1 CoreFoundation 0x18c554dc8 CFGetTypeID + 180 > > 2 CoreGraphics 0x189d41950 CGColorSpaceGetType > > + 28 > > 3 CoreGraphics 0x189d6eb74 > > valid_image_colorspace + 32 > > 4 CoreGraphics 0x189ede220 > > verify_image_parameters + 520 > > 5 CoreGraphics 0x189d6e8bc CGImageCreate + 136 > > 6 QtGui 0x10a084450 QImage::toCGImage() > > const + 264 > > I have no idea how the macOS update broke this or why it affects Qt 6.11.0 > but not 6.11.3. Thanks for the detailed explanation! That clears up why the older test build works while my newer Krita Next installation crashes. I can confirm that the Qt 6.11.3 test build works correctly on macOS 27.3 Beta 1, while the Qt 6.11.0 build crashes when creating a new canvas. I'll continue using the working build until a new 6.1 macOS nightly becomes available. -- You are receiving this mail because: You are watching all bug changes.
