Bug 224233 - Krita crashes on first start, in the painterly framework on Debian Squeeze/Sid.
Summary: Krita crashes on first start, in the painterly framework on Debian Squeeze/Sid.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 229466 232030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-25 22:23 UTC by beojan
Modified: 2010-03-30 00:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description beojan 2010-01-25 22:23:12 UTC
Application that crashed: krita
Version of the application: 2.2 Alpha 1
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.0
Operating System: Linux 2.6.32-trunk-686-bigmem i686
Distribution: Beejex 2010 (Mayfair)

What I was doing when the application crashed:
Just installed on the system mentioned in title, with kde 4.3, and krita crashed. Other applications fine. Installed from SVN checkout

 -- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5630700 (LWP 15844))]

Thread 3 (Thread 0xb28e2b70 (LWP 15845)):
#0  0xb7797424 in __kernel_vsyscall ()
#1  0xb5e750a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb5f607dd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7559602 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb75550cd in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#5  0xb39bac13 in KisTileDataPooler::waitForWork() () from /usr/lib/libkritaimage.so.6
#6  0xb39bb0cf in KisTileDataPooler::run() () from /usr/lib/libkritaimage.so.6
#7  0xb755870e in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5e71585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb5f5326e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xae39ab70 (LWP 15847)):
#0  0xb7797424 in __kernel_vsyscall ()
#1  0xb5f4c561 in select () from /lib/i686/cmov/libc.so.6
#2  0xb7684740 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#3  0xb76893b9 in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*, timeval*) () from /usr/lib/libQtCore.so.4
#4  0xb7689d27 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#5  0xb768b381 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb7659a3a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb7659e82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb7555888 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb3a7a0a7 in KisProjection::run() () from /usr/lib/libkritaimage.so.6
#10 0xb755870e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb5e71585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb5f5326e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5630700 (LWP 15844)):
[KCrash Handler]
#6  0xb32a9479 in KoColorProfile::name() const () from /usr/lib/libpigmentcms.so.6
#7  0xb32ada26 in KoColorSpaceFactory::grabColorSpace(KoColorProfile const*) () from /usr/lib/libpigmentcms.so.6
#8  0xb32b3690 in KoColorSpaceRegistry::colorSpace(QString const&, QString const&) () from /usr/lib/libpigmentcms.so.6
#9  0xb32b4060 in KoColorSpaceRegistry::colorSpace(QString const&, QString const&, QString const&) () from /usr/lib/libpigmentcms.so.6
#10 0xad7565fe in MixerCanvas::MixerCanvas(QWidget*) () from /usr/lib/kde4/kritapainterlymixer.so
#11 0xad75b50c in Ui_KisPainterlyMixer::setupUi(QWidget*) () from /usr/lib/kde4/kritapainterlymixer.so
#12 0xad75ad95 in KisPainterlyMixer::KisPainterlyMixer(QWidget*) () from /usr/lib/kde4/kritapainterlymixer.so
#13 0xad75cbc6 in KisPainterlyMixerDocker::KisPainterlyMixerDocker() () from /usr/lib/kde4/kritapainterlymixer.so
#14 0xad75cce3 in KisPainterlyMixerDockerFactory::createDockWidget() () from /usr/lib/kde4/kritapainterlymixer.so
#15 0xb361a9ef in KoMainWindow::createDockWidget(KoDockFactoryBase*) () from /usr/lib/libkomain.so.6
#16 0xb36338b1 in KoView::createDockWidget(KoDockFactoryBase*) () from /usr/lib/libkomain.so.6
#17 0xb3635414 in KoView::KoView(KoDocument*, QWidget*) () from /usr/lib/libkomain.so.6
#18 0xb3c9239b in KisView2::KisView2(KisDoc2*, QWidget*) () from /usr/lib/libkritaui.so.6
#19 0xb3c1af1b in KisDoc2::createViewInstance(QWidget*) () from /usr/lib/libkritaui.so.6
#20 0xb35df6f1 in KoDocument::createView(QWidget*) () from /usr/lib/libkomain.so.6
#21 0xb360e6bf in KoMainWindow::setRootDocument(KoDocument*) () from /usr/lib/libkomain.so.6
#22 0xb35eb85f in KoDocument::showStartUpWidget(KoMainWindow*, bool) () from /usr/lib/libkomain.so.6
#23 0xb3c1ae55 in KisDoc2::showStartUpWidget(KoMainWindow*, bool) () from /usr/lib/libkritaui.so.6
#24 0xb35d8945 in KoApplication::start() () from /usr/lib/libkomain.so.6
#25 0xb5440dfa in kdemain () from /usr/lib/libkdeinit4_krita.so
#26 0x0804e291 in _start ()

Reported using DrKonqi
Comment 1 Cyrille Berger 2010-01-31 09:50:29 UTC
I would suggest to svn up, rebuild and possibly clean the install directory from previous koffice install.
Comment 2 Cyrille Berger 2010-02-26 23:21:22 UTC
Does this still happen ?
Comment 3 beojan 2010-02-27 10:50:55 UTC
Yes still crashes, even when installed without opengtl
Comment 4 Cyrille Berger 2010-02-27 14:11:44 UTC
I actually had a similar problem in the Mixer code but only when opening from jpeg this morning.
Comment 5 beojan 2010-03-06 10:00:17 UTC
Output when running krita in konsole:
krita(1666)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-beojan/ksycoca4"
krita(1666)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkritapart.so"
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/libkritapart.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/defaulttools.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kpresentertoolanimation.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kopabackgroundtool.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/paragraphtool.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/divineproportionshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/formulashape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kexirelationdesignshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/vectorshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/textshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/artistictextshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/chartshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pathshapes.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pictureshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/spreadsheetshape.so" does not offer a qt_plugin_instance function.
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/videoshape.so" does not offer a qt_plugin_instance function.
krita(1666)/koffice (lib komain) KoPluginLoader::load: Loading plugin "CTL Colour Spaces" failed,  "Cannot load library /usr/lib/kde4/krita_ctlcs_plugin.so: (libOpenCTL.so.0.6: cannot open shared object file: No such file or directory)" ( 1 ) 
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kolcmsengine.so" does not offer a qt_plugin_instance function.
krita(1666)/krita (general) MyPaintBrushResource::load:          we only read version 2 .myb files 
krita(1666)/krita (general) MyPaintBrushResource::load:          we only read version 2 .myb files 
krita(1666)/krita (general) MyPaintBrushResource::load:          we only read version 2 .myb files 
krita(1666)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kofficedockers.so" does not offer a qt_plugin_instance function.
(Soprano::Redland::BackendPlugin) creating model of type "hashes" with options "hash-type='memory',contexts='yes'" 
krita(1666)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
krita(1666)/kotext TextShapeFactory::newDocumentResourceManager: No KUndoStack found in the document resource manager, creating a new one 
krita(1666)/kotext TextShapeFactory::newDocumentResourceManager: No KUndoStack found in the document resource manager, creating a new one 
krita(1666) KoDocumentInfo::aboutInfo: "comment page not found in documentInfo !" 
KCrash: Application 'krita' crashing...
sock_file=/home/beojan/.kde/socket-Beojan-PC/kdeinit4__0
Comment 6 Sven Langkamp 2010-03-12 18:09:02 UTC
*** Bug 229466 has been marked as a duplicate of this bug. ***
Comment 7 Hugh Tebby 2010-03-13 12:20:32 UTC
If this can help, here's the information I get about the various dependencies when building Koffice :


-----------------------------------------------------------------------------
   * OpenGL - OpenGL support
   * KDE PIMLibs - KDE Personal Information Management Libraries
   * Boost - Boost C++ Libraries
   * Eigen - C++ template library for linear algebra
   * QImageBlitz - Image effect library
   * Exiv2 - Image metadata library and tools
   * Soprano - KDE4 RDF handling library
   * LittleCMS - Color management engine
   * bzip2 - High-quality data compressor
   * GLEW - The OpenGL Extension Wrangler Library
   * FFTW3 - A fast, free C FFT library
   * OpenCTL - Free Color Transformation Language implementation
   * OpenShiva - OpenShiva interpreter for the Shiva Kernel Language
   * GLIB2 - GLib 2.0
   * png - Official PNG reference library
   * OpenEXR - High dynamic-range (HDR) image file format
   * tiff - TIFF Library and Utilities
   * jpeg - Free library for JPEG image compression
   * kdcraw - The KDCraw library
   * openjpeg - Free library for JPEG 2000 image compression
   * libungif/giflib - Free library for reading and writing GIF images
   * SharedMimeInfo - Shared Mime Info
   * LibXML2 - LibXml2 library
   * LibXslt - LibXslt Library
   * SharedMimeInfo - Shared Mime Info
   * GObject - GObject
   * Glib2 - Glib2
   * libgsf - LibGSF
   * Iconv - Iconv
   * WPD - WordPerfect Document Library
   * pstoedit with svg plugin - Translates PostScript and PDF graphics to SVG
   * KDE PIM iCalendar - KDE Personal Information Management iCalendar Libraries

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Create Resources  <http://create.freedesktop.org>
     Create Resources (brushes, palettes etc.)
     Required by KOffice for optional extra resources.
   * QCA (2.0 or higher)  <http://delta.affinix.com/qca>
     Qt Cryptographic Architecture
     Required for encrypted OpenDocument files support (available as a module in kdesupport)
   * SQLite (Required by Kexi (for its default database driver). or higher)  <http://www.sqlite.org>
     Embedded SQL database engine
   * LibRCPS (0.2 or higher)  <http://www.librcps.org>
     Resource Conflict Project Scheduling Library
     Required by KPlato RCPS Plugin
   * GSL (1.7 or higher)  <http://www.gnu.org/software/gsl>
     GNU Scientific Library
     Required by KSpread's solver plugin
   * QtShiva  <http://www.openshiva.org>
     Qt bindings for the OpenShiva interpreter
     Required for Shiva based Generators and Filters
   * poppler-qt4  <http://poppler.freedesktop.org>
     The Poppler Qt4 interface library
     Required by the Krita PDF filter (version 0.6.x is currently required)
   * Spnav  <http://spacenav.sourceforge.net/>
     3Dconnexion device driver and SDK
     Required by SpaceNavigator 3D mouse plugin
   * WPG  <http://libwpg.sourceforge.net/>
     WordPerfect Graphics Library
     Required by the Karbon WPG import filter
   * poppler-qt4  <http://poppler.freedesktop.org>
     The Poppler Qt4 interface library
     Required by the Karbon PDF import filter

-----------------------------------------------------------------------------

-- ---------------- The following applications will be built ----------------
-- kword
-- kspread
-- kpresenter
-- kivio
-- kplato
-- krita
-- karbon
-- kformula
-- kchart
-- f-office
-- ---------------- The following components will be built ----------------
-- koreport
-- --------------------------------------------------------------------------
-- Configuring done
-- Generating done
Comment 8 Eike Hein 2010-03-24 08:05:03 UTC
I have the same crash with 2.2 beta1. Empty config. I start krita, select the 1024x768 RGB preset, and boom:

Application: Krita (krita), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7f78e2f8a0 (LWP 4205))]

Thread 3 (Thread 0x7f7f6f06a710 (LWP 4206)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fb667232b in wait (this=<value optimized out>, mutex=0xc7cd80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc7cd80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fb666ee20 in QSemaphore::acquire (this=0x7f7f783de670, n=1) at thread/qsemaphore.cpp:142
#4  0x00007f7f780b260e in KisTileDataPooler::waitForWork (this=0x7f7f783de660) at /usr/src/debug/koffice-2.1.81/krita/image/tiles3/kis_tile_data_pooler.cc:133
#5  0x00007f7f780b29a5 in KisTileDataPooler::run (this=0xc7ce4c) at /usr/src/debug/koffice-2.1.81/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x0000003fb6671435 in QThreadPrivate::start (arg=0x7f7f783de660) at thread/qthread_unix.cpp:248
#7  0x00007f7f78858a3a in start_thread (arg=0x7f7f6f06a710) at pthread_create.c:297
#8  0x00007f7f7687865d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7f5eca4710 (LWP 4216)):
#0  0x00007f7f768713c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003fb6780976 in qt_safe_select (nfds=20, fdread=0x7f7f58000a80, fdwrite=0x7f7f58000d18, fdexcept=0x7f7f58000fb0, orig_timeout=<value optimized out>) at kernel/qcore_unix.cpp:143
#2  0x0000003fb678524d in QEventDispatcherUNIXPrivate::doSelect (this=<value optimized out>, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:218
#3  0x0000003fb6785dbb in QEventDispatcherUNIX::processEvents (this=0x7f7f58062850, flags=...) at kernel/qeventdispatcher_unix.cpp:920
#4  0x0000003fb675a392 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003fb675a65c in QEventLoop::exec (this=0x7f7f5eca3ce0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003fb666f369 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x0000003fb6671435 in QThreadPrivate::start (arg=0x4a5c680) at thread/qthread_unix.cpp:248
#8  0x00007f7f78858a3a in start_thread (arg=0x7f7f5eca4710) at pthread_create.c:297
#9  0x00007f7f7687865d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7f78e2f8a0 (LWP 4205)):
[KCrash Handler]
#5  QString (this=0x0) at /usr/include/QtCore/qstring.h:714
#6  KoColorProfile::name (this=0x0) at /usr/src/debug/koffice-2.1.81/libs/pigment/KoColorProfile.cpp:57
#7  0x00007f7f77250a75 in KoColorSpaceFactory::grabColorSpace (this=0x368d3f0, profile=0x0) at /usr/src/debug/koffice-2.1.81/libs/pigment/KoColorSpaceFactory.cpp:88
#8  0x00007f7f77254ee2 in KoColorSpaceRegistry::colorSpace (this=0xf20510, csID=<value optimized out>, pName=<value optimized out>)
    at /usr/src/debug/koffice-2.1.81/libs/pigment/KoColorSpaceRegistry.cpp:324
#9  0x00007f7f7725573d in KoColorSpaceRegistry::colorSpace (this=0xf20510, colorModelId=..., colorDepthId=..., profileName=...)
    at /usr/src/debug/koffice-2.1.81/libs/pigment/KoColorSpaceRegistry.cpp:189
#10 0x00007f7f5777f0cc in MixerCanvas::MixerCanvas (this=0x50b8fb0, parent=<value optimized out>) at /usr/src/debug/koffice-2.1.81/krita/plugins/extensions/painterlyframework/mixercanvas.cpp:64
#11 0x00007f7f577826fb in Ui_KisPainterlyMixer::setupUi (this=0x5065228, KisPainterlyMixer=0x5065200)
    at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/krita/plugins/extensions/painterlyframework/ui_kis_painterlymixer.h:67
#12 0x00007f7f577821fe in KisPainterlyMixer::KisPainterlyMixer (this=0x5065200, parent=<value optimized out>)
    at /usr/src/debug/koffice-2.1.81/krita/plugins/extensions/painterlyframework/kis_painterlymixer.cpp:37
#13 0x00007f7f577837a3 in KisPainterlyMixerDocker::KisPainterlyMixerDocker (this=0x5063bc0)
    at /usr/src/debug/koffice-2.1.81/krita/plugins/extensions/painterlyframework/kis_painterlymixerdocker.cpp:38
#14 0x00007f7f5778384b in KisPainterlyMixerDockerFactory::createDockWidget (this=0x3b67ac0) at /usr/src/debug/koffice-2.1.81/krita/plugins/extensions/painterlyframework/kis_painterlymixerdocker.h:64
#15 0x00007f7f77d9aced in KoMainWindow::createDockWidget (this=0x3bab500, factory=0x3b67ac0) at /usr/src/debug/koffice-2.1.81/libs/main/KoMainWindow.cpp:1769
#16 0x00007f7f77dbbf1d in KoView::KoView (this=0x4b72770, __vtt_parm=0x3b67ac0, document=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>)
    at /usr/src/debug/koffice-2.1.81/libs/main/KoView.cpp:176
#17 0x00007f7f78549a3f in KisView2::KisView2 (this=0x4b72770, doc=0x3b8dd60, parent=0x3bc2150, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/koffice-2.1.81/krita/ui/kis_view2.cpp:180
#18 0x00007f7f784e4abb in KisDoc2::createViewInstance (this=0x3b8dd60, parent=0x3bc2150) at /usr/src/debug/koffice-2.1.81/krita/ui/kis_doc2.cc:423
#19 0x00007f7f77d748fa in KoDocument::createView (this=0x3b8dd60, parent=<value optimized out>) at /usr/src/debug/koffice-2.1.81/libs/main/KoDocument.cpp:358
#20 0x00007f7f77d9e0b9 in KoMainWindow::setRootDocument (this=0x3bab500, doc=0x3b8dd60) at /usr/src/debug/koffice-2.1.81/libs/main/KoMainWindow.cpp:456
#21 0x00007f7f77d76754 in KoDocument::deleteOpenPane (this=0x3b8dd60) at /usr/src/debug/koffice-2.1.81/libs/main/KoDocument.cpp:2390
#22 0x00007f7f77d7c3a5 in KoDocument::openTemplate (this=0x3b8dd60, url=<value optimized out>) at /usr/src/debug/koffice-2.1.81/libs/main/KoDocument.cpp:2330
#23 0x00007f7f784e3b5c in KisDoc2::openTemplate (this=0x3b8dd60, url=...) at /usr/src/debug/koffice-2.1.81/krita/ui/kis_doc2.cc:186
#24 0x00007f7f784e4886 in KisDoc2::qt_metacall (this=0x3b8dd60, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbfff76e0)
    at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/krita/ui/kis_doc2.moc:88
#25 0x0000003fb676ed4f in QMetaObject::activate (sender=0x3c35060, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbfff76e0) at kernel/qobject.cpp:3307
#26 0x00007f7f77dd8bc5 in KoOpenPane::openTemplate (this=<value optimized out>, _t1=...) at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/libs/main/KoOpenPane.moc:111
#27 0x00007f7f77dd92c0 in KoOpenPane::qt_metacall (this=0x3c35060, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbfff7810)
    at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/libs/main/KoOpenPane.moc:87
#28 0x0000003fb676ed4f in QMetaObject::activate (sender=0x492ed40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbfff7810) at kernel/qobject.cpp:3307
#29 0x00007f7f77dd73d2 in KoDetailsPane::openUrl (this=<value optimized out>, _t1=...) at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/libs/main/KoDetailsPane.moc:105
#30 0x00007f7f77de29ec in KoTemplatesPane::openFile (this=0x492ed40, index=<value optimized out>) at /usr/src/debug/koffice-2.1.81/libs/main/KoTemplatesPane.cpp:138
#31 0x00007f7f77dd7626 in KoDetailsPane::qt_metacall (this=0x492ed40, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbfff7a50)
    at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/libs/main/KoDetailsPane.moc:92
#32 0x00007f7f77de2c20 in KoTemplatesPane::qt_metacall (this=0x492ed40, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbfff7a50)
    at /usr/src/debug/koffice-2.1.81/x86_64-redhat-linux-gnu/libs/main/KoTemplatesPane.moc:79
#33 0x0000003fb676ed4f in QMetaObject::activate (sender=0x492fa40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbfff7a50) at kernel/qobject.cpp:3307
#34 0x0000003fb7691b35 in QAbstractItemView::doubleClicked (this=<value optimized out>, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:338
#35 0x0000003fb76e0f63 in QTreeView::mouseDoubleClickEvent (this=0x492fa40, event=0x7fffbfff8840) at itemviews/qtreeview.cpp:1853
#36 0x0000003fb71f93f6 in QWidget::event (this=0x492fa40, event=0x7fffbfff8840) at kernel/qwidget.cpp:8037
#37 0x0000003fb7585b26 in QFrame::event (this=0x492fa40, e=0x7fffbfff8840) at widgets/qframe.cpp:557
#38 0x0000003fb76a0dab in QAbstractItemView::viewportEvent (this=0x492fa40, event=0x7fffbfff8840) at itemviews/qabstractitemview.cpp:1615
#39 0x0000003fb76db332 in QTreeView::viewportEvent (this=0x492fa40, event=0x7fffbfff8840) at itemviews/qtreeview.cpp:1248
#40 0x0000003fb675ad67 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x4918d50, event=0x7fffbfff8840) at kernel/qcoreapplication.cpp:819
#41 0x0000003fb71aedcc in QApplicationPrivate::notify_helper (this=0xcbc5a0, receiver=0x4918d50, e=0x7fffbfff8840) at kernel/qapplication.cpp:4318
#42 0x0000003fb71b452e in QApplication::notify (this=<value optimized out>, receiver=0x4918d50, e=0x7fffbfff8840) at kernel/qapplication.cpp:3887
#43 0x0000003786006846 in KApplication::notify (this=0x7fffbfff9340, receiver=0x4918d50, event=0x7fffbfff8840) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#44 0x0000003fb675b53c in QCoreApplication::notifyInternal (this=0x7fffbfff9340, receiver=0x4918d50, event=0x7fffbfff8840) at kernel/qcoreapplication.cpp:704
#45 0x0000003fb71b36be in sendEvent (receiver=0x4918d50, event=0x7fffbfff8840, alienWidget=0x4918d50, nativeWidget=0x3bab500, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x4918d50, event=0x7fffbfff8840, alienWidget=0x4918d50, nativeWidget=0x3bab500, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2987
#47 0x0000003fb7228375 in QETWidget::translateMouseEvent (this=0x3bab500, event=<value optimized out>) at kernel/qapplication_x11.cpp:4354
#48 0x0000003fb7227088 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbfff9170) at kernel/qapplication_x11.cpp:3487
#49 0x0000003fb725095f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#50 0x0000003fb675a392 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x0000003fb675a65c in QEventLoop::exec (this=0x7fffbfff92f0, flags=...) at kernel/qeventloop.cpp:201
#52 0x0000003fb675e49b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0x00007f7f78a70da5 in kdemain (argc=-1073769600, argv=0x7fffbfff93c0) at /usr/src/debug/koffice-2.1.81/krita/main.cc:49
#54 0x00007f7f767b8b1d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffbfff94d8) at libc-start.c:226
#55 0x0000000000400839 in _start ()
Comment 9 Rex Dieter 2010-03-24 15:13:32 UTC
confirmed here with 2.2beta1 too :(
Comment 10 Sven Langkamp 2010-03-24 19:55:47 UTC
*** Bug 232030 has been marked as a duplicate of this bug. ***
Comment 11 Halla Rempt 2010-03-29 19:57:58 UTC
This crash happens when the illuminant files (.xll) are not found. These files are part of the painterlyframework plugin and should be installed in ${DATA_INSTALL_DIR}/krita/illuminants. But KoColorRegistry should be more robust.
Comment 12 Halla Rempt 2010-03-29 19:58:56 UTC
SVN commit 1108746 by rempt:

Don't crash if we cannot find a profile

We need to have a profile in grabColorSpace, but the code already
returns 0 under some circumstances: also return 0 if the profile
is not found.

BUG: 224233

 M  +5 -0      KoColorSpaceRegistry.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1108746
Comment 13 Hugh Tebby 2010-03-29 21:08:45 UTC
I updated to the latest revision, and it still crashes, but not for the same reason. Now In the console I get : 

krita(21744)/koffice (lib pigment) KoColorSpaceRegistry::colorSpace: Profile not found : ""
krita(21744)/koffice (lib pigment) KoColorSpaceRegistry::colorSpace: No profile at all available for  0x43dc8a0   "KS6F32"
KCrash: Application 'krita' crashing...


So now it crashes because it can't find a profile...
Comment 14 Halla Rempt 2010-03-29 21:17:07 UTC
That has always been the reason. I don't know why on Debian and Fedora the profile files are not found. Note that if you compile trunk, you don't install the painterly framework plugin anymore: that has been disabled pending the 2.2 freeze, so you should clean your install dir and reinstall. Only the work/koffice-ko branch still installs the painterly framework.

But before you do that, could you try to get a good backtrace? The konsole output doesn't indicate a reason for crashing.
Comment 15 Hugh Tebby 2010-03-29 22:00:45 UTC
I'll clean and reinstall to see if it works.

Here's the backtrace I get for the moment :

Application: Krita (krita), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fbe1d607810 (LWP 22641))]

Thread 3 (Thread 0x7fbe0c35f910 (LWP 22642)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fbe1cfc672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fbe1cfc26a0 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fbe1c5451de in KisTileDataPooler::waitForWork (this=0x7fbe1c890860) at /home/hugh/Compil/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:133
#4  0x00007fbe1c545678 in KisTileDataPooler::run (this=0x7fbe1c890860) at /home/hugh/Compil/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007fbe1cfc5775 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fbe1cd36a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fbe156ad80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbdfbbcd910 (LWP 22646)):
#0  0x00007fbe156a6412 in select () from /lib/libc.so.6
#1  0x00007fbe1d0e08be in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007fbe1d0e5e18 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007fbe1d0e6bcb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fbe1d0b8732 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fbe1d0b8b0c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fbe1cfc2d59 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fbe1cfc5775 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fbe1cd36a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbe156ad80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fbe1d607810 (LWP 22641)):
[KCrash Handler]
#5  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:714
#6  KoColorProfile::name (this=0x0) at /home/hugh/Compil/koffice/libs/pigment/KoColorProfile.cpp:57
#7  0x00007fbe199bd915 in KoColorSpaceFactory::grabColorSpace (this=0x3df2c40, profile=0x0) at /home/hugh/Compil/koffice/libs/pigment/KoColorSpaceFactory.cpp:88
#8  0x00007fbe199c29a2 in KoColorSpaceRegistry::colorSpace (this=0x15fd140, csID=..., pName=<value optimized out>) at /home/hugh/Compil/koffice/libs/pigment/KoColorSpaceRegistry.cpp:324
#9  0x00007fbe199c31fd in KoColorSpaceRegistry::colorSpace (this=0x15fd140, colorModelId=<value optimized out>, colorDepthId=<value optimized out>, profileName=...)
    at /home/hugh/Compil/koffice/libs/pigment/KoColorSpaceRegistry.cpp:189
#10 0x00007fbdf89dcf9c in MixerCanvas (this=0x54bc3e0, parent=<value optimized out>) at /home/hugh/Compil/koffice/krita/plugins/extensions/painterlyframework/mixercanvas.cpp:64
#11 0x00007fbdf89e0f8b in Ui_KisPainterlyMixer::setupUi (this=0x55162c8, KisPainterlyMixer=0x55162a0)
    at /home/hugh/Compil/koffice/build/krita/plugins/extensions/painterlyframework/ui_kis_painterlymixer.h:67
#12 0x00007fbdf89e087e in KisPainterlyMixer (this=0x55162a0, parent=<value optimized out>) at /home/hugh/Compil/koffice/krita/plugins/extensions/painterlyframework/kis_painterlymixer.cpp:37
#13 0x00007fbdf89e1ed3 in KisPainterlyMixerDocker (this=0x5510de0) at /home/hugh/Compil/koffice/krita/plugins/extensions/painterlyframework/kis_painterlymixerdocker.cpp:38
#14 0x00007fbdf89e223b in KisPainterlyMixerDockerFactory::createDockWidget (this=0x42e0140) at /home/hugh/Compil/koffice/krita/plugins/extensions/painterlyframework/kis_painterlymixerdocker.h:64
#15 0x00007fbe1bd1a4fd in KoMainWindow::createDockWidget (this=0x43b3ba0, factory=0x42e0140) at /home/hugh/Compil/koffice/libs/main/KoMainWindow.cpp:1769
#16 0x00007fbe1bd3e75d in KoView (this=0x49b64f0, __vtt_parm=<value optimized out>, document=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>)
    at /home/hugh/Compil/koffice/libs/main/KoView.cpp:176
#17 0x00007fbe1ca199bf in KisView2 (this=0x49b64f0, doc=0x42ec480, parent=0x43cc980, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /home/hugh/Compil/koffice/krita/ui/kis_view2.cpp:180
#18 0x00007fbe1c9abf4b in KisDoc2::createViewInstance (this=0x42ec480, parent=0x43cc980) at /home/hugh/Compil/koffice/krita/ui/kis_doc2.cc:423
#19 0x00007fbe1bcf20fa in KoDocument::createView (this=0x7fff6e4eff80, parent=0x0) at /home/hugh/Compil/koffice/libs/main/KoDocument.cpp:358
#20 0x00007fbe1bd1e019 in KoMainWindow::setRootDocument (this=0x43b3ba0, doc=0x42ec480) at /home/hugh/Compil/koffice/libs/main/KoMainWindow.cpp:456
#21 0x00007fbe1bcf3f94 in KoDocument::deleteOpenPane (this=0x42ec480) at /home/hugh/Compil/koffice/libs/main/KoDocument.cpp:2390
#22 0x00007fbe1bcfa3c5 in KoDocument::openTemplate (this=0x42ec480, url=<value optimized out>) at /home/hugh/Compil/koffice/libs/main/KoDocument.cpp:2330
#23 0x00007fbe1c9aad7c in KisDoc2::openTemplate (this=0x42ec480, url=...) at /home/hugh/Compil/koffice/krita/ui/kis_doc2.cc:186
#24 0x00007fbe1c9abd16 in KisDoc2::qt_metacall (this=0x42ec480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6e4f10b0)
    at /home/hugh/Compil/koffice/build/krita/ui/kis_doc2.moc:88
#25 0x00007fbe1d0ccc0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0x00007fbe1bd5fc55 in KoOpenPane::openTemplate (this=0x7fff6e4eff80, _t1=<value optimized out>) at /home/hugh/Compil/koffice/build/libs/main/KoOpenPane.moc:111
#27 0x00007fbe1bd60350 in KoOpenPane::qt_metacall (this=0x149d190, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6e4f11e0)
    at /home/hugh/Compil/koffice/build/libs/main/KoOpenPane.moc:87
#28 0x00007fbe1d0ccc0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#29 0x00007fbe1bd5df82 in KoDetailsPane::openUrl (this=0x7fff6e4eff80, _t1=<value optimized out>) at /home/hugh/Compil/koffice/build/libs/main/KoDetailsPane.moc:105
#30 0x00007fbe1bd6c3cc in KoTemplatesPane::openFile (this=0x485e6a0, index=<value optimized out>) at /home/hugh/Compil/koffice/libs/main/KoTemplatesPane.cpp:138
#31 0x00007fbe1bd5e1e6 in KoDetailsPane::qt_metacall (this=0x485e6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6e4f1420)
    at /home/hugh/Compil/koffice/build/libs/main/KoDetailsPane.moc:92
#32 0x00007fbe1bd6c600 in KoTemplatesPane::qt_metacall (this=0x7fff6e4eff80, _c=QMetaObject::InvokeMetaMethod, _id=-255, _a=0x87e0) at /home/hugh/Compil/koffice/build/libs/main/KoTemplatesPane.moc:79
#33 0x00007fbe1d0ccc0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#34 0x00007fbe1713ff05 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#35 0x00007fbe171924c3 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fbe16c7a146 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#37 0x00007fbe17020956 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007fbe1714fe9b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007fbe1718c992 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007fbe1d0b9227 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007fbe16c240fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007fbe16c2aefb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007fbe1792ed76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007fbe1d0b9e0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0x00007fbe16c2a0d6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#46 0x00007fbe16ca9c65 in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007fbe16ca897a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#48 0x00007fbe16cd4c29 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007fbe1d0b8732 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0x00007fbe1d0b8b0c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0x00007fbe1d0bc84b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#52 0x00007fbe1d3d1ec5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/hugh/Compil/koffice/krita/main.cc:49
#53 0x00007fbe155ecabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff6e4f2e98) at libc-start.c:220
#54 0x00000000004008e9 in _start () at ../sysdeps/x86_64/elf/start.S:113
The current source language is "auto; currently c".
Comment 16 Halla Rempt 2010-03-29 22:06:05 UTC
> /home/hugh/Compil/koffice/libs/pigment/KoColorSpaceRegistry.cpp:324
> #9  0x00007fbe199c31fd in KoColorSpaceRegistry::colorSpace (this=0x15fd140,
> colorModelId=<value optimized out>, colorDepthId=<value optimized out>,
> profileName=...)

This line currently reads 

        // We did our best, but still have no profile: and since csf->grabColorSpace

in trunk, so I think you're still running old code (i.e., more than an hour old)l

Boudewijn
Comment 17 Hugh Tebby 2010-03-30 00:15:04 UTC
Ok after a make clean it now works perfectly ! Thanks !