https://bugs.kde.org/show_bug.cgi?id=470084
Bug ID: 470084 Summary: Assertion error in LcmsColorSpace.h, line 273 when openinging PSD Classification: Applications Product: krita Version: 5.1.5 Platform: openSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: linus.kardell+kdeb...@gmail.com Target Milestone: --- Application: krita (5.1.5) Qt Version: 5.15.9 Frameworks Version: 5.105.0 Operating System: Linux 6.3.1-1-default x86_64 Windowing System: X11 Distribution: "openSUSE Tumbleweed" DrKonqi: 5.27.4 [KCrashBackend] -- Information about the crash: When I open a specific PSD file, Krita instantly crashes with an assertion error. Same result both with the OpenSUSE Tumbleweed packages and the Flathub version. Operating System: openSUSE Tumbleweed 20230510 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.3.1-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor Memory: 62.7 Gibyte of RAM Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 Manufacturer: ASUS The crash can be reproduced every time. -- Backtrace: Application: Krita (krita), signal: Aborted [KCrash Handler] #4 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #5 0x00007f989ea94993 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #6 0x00007f989ea43196 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #7 0x00007f989ea2b897 in __GI_abort () at abort.c:79 #8 0x00007f989f0bb4e9 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914 #9 QMessageLogger::fatal (this=this@entry=0x7fff14b00af0, msg=msg@entry=0x7f98a0bef0df "%s") at global/qlogging.cpp:893 #10 0x00007f98a0beb670 in kis_assert_common(char const*, char const*, int, bool, bool) [clone .isra.0] (assertion=assertion@entry=0x7f986652aca0 "d->defaultTransformations && d->defaultTransformations->fromRGB", file=file@entry=0x7f98665255c8 "/home/abuild/rpmbuild/BUILD/krita-5.1.5/plugins/color/lcms2engine/LcmsColorSpace.h", line=line@entry=273, isIgnorable=isIgnorable@entry=false, throwException=<optimized out>) at /usr/src/debug/krita-5.1.5/libs/global/kis_assert.cpp:89 #11 0x00007f98a0bb2f37 in kis_assert_exception (assertion=assertion@entry=0x7f986652aca0 "d->defaultTransformations && d->defaultTransformations->fromRGB", file=file@entry=0x7f98665255c8 "/home/abuild/rpmbuild/BUILD/krita-5.1.5/plugins/color/lcms2engine/LcmsColorSpace.h", line=line@entry=273) at /usr/src/debug/krita-5.1.5/libs/global/kis_assert.cpp:112 #12 0x00007f9865dc27b8 in LcmsColorSpace<KoCmykU8Traits>::fromQColor (this=this@entry=0x55f63e709350, color=..., dst=dst@entry=0x55f63e735fa0 "\340\254\276\236\230\177", koprofile=koprofile@entry=0x0) at /usr/src/debug/krita-5.1.5/plugins/color/lcms2engine/LcmsColorSpace.h:273 #13 0x00007f98a0943483 in KisPaintDevice::init (this=0x55f63e735e10, colorSpace=0x55f63e709350, defaultBounds=..., parent=..., name=...) at /usr/src/debug/krita-5.1.5/libs/image/kis_paint_device.cc:1086 #14 0x00007f98a0943787 in KisPaintDevice::KisPaintDevice (this=<optimized out>, parent=..., colorSpace=<optimized out>, defaultBounds=..., name=..., this=<optimized out>, parent=..., colorSpace=<optimized out>, defaultBounds=..., name=...) at /usr/src/debug/krita-5.1.5/libs/image/kis_paint_device.cc:1066 #15 0x00007f98a08d3ab0 in KisGroupLayer::resetCache (this=0x55f63e7332e0, colorSpace=0x55f63e709350) at /usr/src/debug/krita-5.1.5/libs/image/kis_group_layer.cc:195 #16 0x00007f98a08d3d3c in KisGroupLayer::KisGroupLayer (this=<optimized out>, image=..., name=..., opacity=<optimized out>, this=<optimized out>, image=..., name=..., opacity=<optimized out>) at /usr/src/debug/krita-5.1.5/libs/image/kis_group_layer.cc:53 #17 0x00007f98a08db643 in KisImage::KisImage (this=<optimized out>, undoStore=<optimized out>, width=<optimized out>, height=<optimized out>, colorSpace=<optimized out>, name=..., this=<optimized out>, undoStore=<optimized out>, width=<optimized out>, height=<optimized out>, colorSpace=<optimized out>, name=...) at /usr/src/debug/krita-5.1.5/libs/image/kis_image.cc:285 #18 0x00007f984869d5f7 in PSDLoader::decode (this=0x7fff14b01390, io=...) at /usr/src/debug/krita-5.1.5/plugins/impex/psd/psd_loader.cpp:128 #19 0x00007f98486a1d51 in PSDLoader::buildImage (io=..., this=0x7fff14b01390) at /usr/src/debug/krita-5.1.5/plugins/impex/psd/psd_loader.cpp:432 #20 psdImport::convert (this=<optimized out>, document=0x55f63e5e0010, io=0x7fff14b01400) at /usr/src/debug/krita-5.1.5/plugins/impex/psd/psd_import.cc:29 #21 0x00007f98a1258ecd in KisImportExportManager::doImport (this=0x55f638fd2970, location=..., filter=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisImportExportManager.cpp:667 #22 0x00007f98a1255341 in KisImportExportManager::convert (this=0x55f638fd2970, direction=<optimized out>, location=..., realLocation=..., mimeType=..., showWarnings=<optimized out>, exportConfiguration=..., isAsync=<optimized out>, isAdvancedExporting=<optimized out>) at /usr/src/debug/krita-5.1.5/libs/ui/KisImportExportManager.cpp:376 #23 0x00007f98a125621a in KisImportExportManager::importDocument (this=<optimized out>, location=..., mimeType=...) at /usr/src/debug/krita-5.1.5/libs/global/kis_shared_ptr.h:206 #24 0x00007f98a1248e6f in KisDocument::openFile (this=0x55f63e5e0010) at /usr/src/debug/krita-5.1.5/libs/ui/KisDocument.cpp:1874 #25 0x00007f98a124a339 in KisDocument::openPathInternal (this=0x55f63e5e0010, path=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisDocument.cpp:2414 #26 0x00007f98a124aff9 in KisDocument::openPath (this=0x55f63e5e0010, _path=..., flags=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisDocument.cpp:1810 #27 0x00007f98a1261d58 in KisMainWindow::openDocumentInternal (this=<optimized out>, path=..., flags=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisMainWindow.cpp:1113 #28 0x00007f98a126232e in KisMainWindow::openDocument (this=0x55f638a14520, path=..., flags=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisMainWindow.cpp:1087 #29 0x00007f98a122ff1b in KisApplication::start (this=this@entry=0x7fff14b02170, args=...) at /usr/src/debug/krita-5.1.5/libs/ui/KisApplication.cpp:641 #30 0x000055f634c3d555 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krita-5.1.5/krita/main.cc:710 [Inferior 1 (process 29413) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.