https://bugs.kde.org/show_bug.cgi?id=423685
Bug ID: 423685 Summary: Crash in LCMS when certain icc files are present Product: krita Version: 4.3.0 Platform: Compiled Sources OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Color models Assignee: krita-bugs-n...@kde.org Reporter: b...@valdyas.org Target Milestone: --- Created attachment 129785 --> https://bugs.kde.org/attachment.cgi?id=129785&action=edit broken icc files Put these files in .local/share/krita/profiles and Krita will crash with the following backtrace: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007fffc29201d5 in LcmsColorProfileContainer::init (this=0x555559c0ddc0) at /home/boud/dev/4.3/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp:163 163 d->mediaWhitePoint = *((cmsCIEXYZ *)cmsReadTag(d->profile, cmsSigMediaWhitePointTag)); (gdb) bt #0 0x00007fffc29201d5 in LcmsColorProfileContainer::init (this=0x555559c0ddc0) at /home/boud/dev/4.3/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp:163 #1 0x00007fffc2920526 in LcmsColorProfileContainer::LcmsColorProfileContainer (this=0x555559c0ddc0, data=0x555559bbd330) at /home/boud/dev/4.3/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp:88 #2 0x00007fffc292470c in IccColorProfile::init (this=0x555559bbd4a0) at /home/boud/dev/4.3/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp:306 #3 0x00007fffc2924ed6 in IccColorProfile::load (this=this@entry=0x555559bbd4a0) at /home/boud/dev/4.3/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp:291 #4 0x00007fffc292a95d in LcmsEnginePlugin::LcmsEnginePlugin (this=0x555559bd3120, parent=<optimized out>) at /home/boud/dev/4.3/plugins/color/lcms2engine/LcmsEnginePlugin.cpp:138 #5 0x00007fffc29427cf in KPluginFactory::createInstance<LcmsEnginePlugin, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:519 #6 0x00007fffee201236 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #7 0x00007fffee46529f in KPluginFactory::create<QObject> (args=..., parent=0x7fffee67a5b0 <(anonymous namespace)::Q_QGS_pluginLoaderInstance::innerFunction()::holder>, this=0x555559beced0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:153 #8 KoPluginLoader::load (this=this@entry=0x7fffee67a5b0 <(anonymous namespace)::Q_QGS_pluginLoaderInstance::innerFunction()::holder>, serviceType=..., versionString=..., config=..., owner=owner@entry=0x0, cache=cache@entry=true) at /home/boud/dev/4.3/libs/koplugin/KoPluginLoader.cpp:141 #9 0x00007fffefe9f309 in KoColorSpaceRegistry::init (this=0x7ffff03aa0d0 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:794 #10 0x00007fffefe9fcd6 in KoColorSpaceRegistry::instance () at /home/boud/dev/4.3/libs/pigment/KoColorSpaceRegistry.cpp:52 #11 0x00007ffff6c687fc in KisApplication::loadPlugins (this=<optimized out>) at /home/boud/dev/4.3/libs/ui/KisApplication.cpp:331 #12 0x00007ffff6c6bfbb in KisApplication::start (this=this@entry=0x7fffffffd6e0, args=...) at /home/boud/dev/4.3/libs/ui/KisApplication.cpp:413 #13 0x0000555555e27b3a in main (argc=<optimized out>, argv=0x7fffffffd848) at /home/boud/dev/4.3/krita/main.cc:588 This is not a regression because of updating to lcms 2.10. -- You are receiving this mail because: You are watching all bug changes.