Version: KOffice2, Beta7 (r938334) (using Devel) OS: Linux Installed from: Compiled sources 1. Start Krita and create a new image (I used RGB but also tried this with a jpeg file I opened) 2. Select Image -> Convert Image Type from the menu 3. Choose one of the painterly target color spaces and press Ok. Result: Krita crashes. I tried all color spaces and none of the non-painterly spaces crashed on conversion.
Application: Krita (krita), signal SIGSEGV Using host libthread_db library "/lib/libthread_db.so.1". 0x00007f9ad44984ef in waitpid () from /lib/libpthread.so.0 Thread 1 (Thread 0x7f9ad4dc47e0 (LWP 29354)): [KCrash Handler] #4 0x00007f9ad13b5998 in KoColorSpace::operator== (this=0x1092f70, rhs=@0x0) at /home/lemma/kde/trunk/source/koffice/libs/pigment/KoColorSpace.cpp:93 #5 0x00007f9ad3cbe16e in KisImage::convertTo (this=0x1293c00, dstColorSpace=0x0, renderingIntent=KoColorConversionTransformation::IntentPerceptual) at /home/lemma/kde/trunk/source/koffice/krita/image/kis_image.cc:556 #6 0x00007f9aaf17f502 in ColorSpaceConversion::slotImgColorSpaceConversion (this=0x27d4b90) at /home/lemma/kde/trunk/source/koffice/krita/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc:107 #7 0x00007f9aaf17f5dd in ColorSpaceConversion::qt_metacall (this=0x27d4b90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffdcf450f0) at /home/lemma/kde/trunk/build/debug/build/koffice/krita/plugins/viewplugins/colorspaceconversion/colorspaceconversion.moc:71 #8 0x00007f9ad4822aa8 in QMetaObject::activate (sender=0x27daa00, from_signal_index=5, to_signal_index=6, argv=0x7fffdcf450f0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3057 #9 0x00007f9ad4822cd1 in QMetaObject::activate (sender=0x27daa00, m=0x7f9ace656660, from_local_signal_index=1, to_local_signal_index=2, argv=0x7fffdcf450f0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3154 #10 0x00007f9acdb5352f in QAction::triggered (this=0x27daa00, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236 #11 0x00007f9acdb55140 in QAction::activate (this=0x27daa00, event=QAction::Trigger) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qaction.cpp:1160 #12 0x00007f9acdff6730 in QMenuPrivate::activateCausedStack (this=0x29b3a70, causedStack=@0x7fffdcf451f0, action=0x27daa00, action_e=QAction::Trigger, self=true) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qmenu.cpp:962 #13 0x00007f9acdffc1fc in QMenuPrivate::activateAction (this=0x29b3a70, action=0x27daa00, action_e=QAction::Trigger, self=true) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qmenu.cpp:1058 #14 0x00007f9acdffe918 in QMenu::mouseReleaseEvent (this=0x29b0500, e=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qmenu.cpp:2252 #15 0x00007f9acf621fc7 in KMenu::mouseReleaseEvent (this=0x29b0500, e=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/widgets/kmenu.cpp:454 #16 0x00007f9acdbb966a in QWidget::event (this=0x29b0500, event=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7516 #17 0x00007f9acdff9f41 in QMenu::event (this=0x29b0500, e=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qmenu.cpp:2351 #18 0x00007f9acdb5b40d in QApplicationPrivate::notify_helper (this=0x65b570, receiver=0x29b0500, e=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4084 #19 0x00007f9acdb5c1cc in QApplication::notify (this=0x7fffdcf46f60, receiver=0x29b0500, e=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3786 #20 0x00007f9acf54aa4f in KApplication::notify (this=0x7fffdcf46f60, receiver=0x29b0500, event=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #21 0x00007f9ad480c278 in QCoreApplication::notifyInternal (this=0x7fffdcf46f60, receiver=0x29b0500, event=0x7fffdcf45f80) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598 #22 0x00007f9ad37b3e83 in QCoreApplication::sendSpontaneousEvent () from /home/lemma/kde/trunk/build/debug/lib/libQt3Support.so.4 #23 0x00007f9acdb60005 in QApplicationPrivate::sendMouseEvent (receiver=0x29b0500, event=0x7fffdcf45f80, alienWidget=0x0, nativeWidget=0x29b0500, buttonDown=0x7f9ace694de8, lastMouseReceiver=@0x7f9ace694df0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2940 #24 0x00007f9acdbdad79 in QETWidget::translateMouseEvent (this=0x29b0500, event=0x7fffdcf46b30) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4359 #25 0x00007f9acdbd891c in QApplication::x11ProcessEvent (this=0x7fffdcf46f60, event=0x7fffdcf46b30) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3421 #26 0x00007f9acdc054db in x11EventSourceDispatch (s=0x65ee00, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146 #27 0x00007f9acc36f0f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #28 0x00007f9acc372396 in ?? () from /usr/lib/libglib-2.0.so.0 #29 0x00007f9acc37282f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #30 0x00007f9ad483b3b0 in QEventDispatcherGlib::processEvents (this=0x6086d0, flags=@0x7fffdcf46dd0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323 #31 0x00007f9acdc04d23 in QGuiEventDispatcherGlib::processEvents (this=0x6086d0, flags=@0x7fffdcf46e30) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #32 0x00007f9ad48093c4 in QEventLoop::processEvents (this=0x7fffdcf46ef0, flags=@0x7fffdcf46e90) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #33 0x00007f9ad48095d2 in QEventLoop::exec (this=0x7fffdcf46ef0, flags=@0x7fffdcf46f00) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #34 0x00007f9ad480caa8 in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880 #35 0x00007f9acdb5b16e in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3553 #36 0x00007f9ad4b2b4ed in kdemain (argc=1, argv=0x7fffdcf47118) at /home/lemma/kde/trunk/source/koffice/krita/main.cc:44 #37 0x0000000000400973 in main (argc=1, argv=0x7fffdcf47118) at /home/lemma/kde/trunk/build/debug/build/koffice/krita/krita_dummy.cpp:3
We also got a bug downstream about this: https://launchpad.net/bugs/293467
SVN commit 947063 by berger: Painterly colorspaces need a 16F/32F color space to work, disable them when OpenCTL isn't found. CCBUG: 186952 M +3 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=947063
proper resolution would involves writing a transformation to/from RGB16 that would be available all the time.
indeed a proper solution has been applied for trunk/koffice