Version: 1.6.1 (using KDE KDE 3.5.5) Installed from: Gentoo Packages Compiler: gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) x86_64 OS: Linux - Launch Krita - Create a new image or workspace or whatever it is (gray scale does fine) - Right click 'Layer 1' and select New -> Adjustment layer - Select Color adjustment and press Ok - Drag Color adjustment layer _below_ Layer 1 - Right click Color adjustment layer and select Properties *CRASH* This happens every time. It seems it matters if the Color adjustment layer is the most bottom layer in the stack.
konsole prints out following four lines: ASSERT: "next" in kis_dlg_adj_layer_props.cc (54) ASSERT: "dev" in kis_previewwidget.cc (104) KCrash: Application 'krita' crashing... KCrash cannot reach kdeinit, launching directly.
Yes, the bottom position is likely the problem, since there's no longer a layer underneath to filter. I'll look at it. Stacktrace: #6 0xb58c8b17 in KisPaintDevice::colorSpace (this=0x0) at /home/boud/koffice/1.6/koffice/krita/plugins/filters/colorsfilters/../../../core/kis_paint_device.h:580 #7 0xb58ca99d in KisPerChannelConfigWidget (this=0x88193a8, parent=0x87c59a0, dev=@0xbfd80ab8, name=0x0, f=0) at /home/boud/koffice/1.6/koffice/krita/plugins/filters/colorsfilters/kis_perchannel_filter.cc:313 #8 0xb58cb0b2 in KisPerChannelFilter::createConfigurationWidget ( this=0x82623c0, parent=0x87c59a0, dev=@0xbfd80b7c) at /home/boud/koffice/1.6/koffice/krita/plugins/filters/colorsfilters/kis_perchannel_filter.cc:159 #9 0xb6141432 in KisDlgAdjLayerProps (this=0xbfd80c14, layer=@0xbfd80df8, layerName=@0xbfd80df4, caption=@0xbfd80df0, parent=0x88ac9f0, name=0xb6152489 "dlgadjlayerprops") at /home/boud/koffice/1.6/koffice/krita/ui/kis_dlg_adj_layer_props.cc:105 #10 0xb60e83ef in KisView::showLayerProperties (this=0x88ac9f0, layer=@0xbfd80eb8) at /home/boud/koffice/1.6/koffice/krita/ui/kis_view.cc:2680 #11 0xb60f5ff1 in KisView::qt_invoke (this=0x88ac9f0, _id=108, _o=0xbfd80f78) at ../krita/ui/kis_view.moc:659 #12 0xb727f957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #13 0xb609837f in KisLayerBox::sigRequestLayerProperties (this=0x8908da0, t0=@0xbfd80fcc) at ../krita/ui/kis_layerbox.moc:330 #14 0xb6099c08 in KisLayerBox::slotRequestLayerProperties (this=0x8908da0, item=0x87d79b8) at /home/boud/koffice/1.6/koffice/krita/ui/kis_layerbox.cc:406 #15 0xb609cbf5 in KisLayerBox::qt_invoke (this=0x8908da0, _id=65, _o=0xbfd810c8) at ../krita/ui/kis_layerbox.moc:396 #16 0xb727f957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #17 0xb610bfa3 in LayerList::requestLayerProperties (this=0x8923250, t0=0x87d79b8) at ./krita/ui/layerlist.moc:633 #18 0xb60a2afc in KisLayerList::menuActivated (this=0x8923250, id=3, layer=0x87d79b8) at /home/boud/koffice/1.6/koffice/krita/ui/kis_layerlist.cc:117 #19 0xb6110e36 in LayerList::showContextMenu (this=0x8923250) at /home/boud/koffice/1.6/koffice/krita/ui/layerlist.cpp:716 #20 0xb61131c1 in LayerList::qt_invoke (this=0x8923250, _id=141, _o=0xbfd812b8) at ./krita/ui/layerlist.moc:680 #21 0xb60a0f4f in KisLayerList::qt_invoke (this=0x8923250, _id=141, _o=0xbfd812b8) at ../krita/ui/kis_layerlist.moc:166 #22 0xb727f957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #23 0xb760bf44 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #24 0xb729f8ea in QSignal::activate () from /usr/lib/libqt-mt.so.3 #25 0xb72a7300 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3 #26 0xb7216b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #27 0xb72189b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #28 0xb790cdb2 in KApplication::notify () from /usr/lib/libkdecore.so.4 #29 0xb71a9389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3 #30 0xb72095d3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3 #31 0xb71bdec5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #32 0xb723125e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #33 0xb723106e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #34 0xb7218731 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #35 0xb7f65454 in kdemain (argc=1, argv=0x812bd70) at /home/boud/koffice/1.6/koffice/krita/main.cc:41 #36 0xb7f677a0 in kdeinitmain (argc=1, argv=0x812bd70) at ./krita/kdeinit_krita.la.cpp:3 #37 0x0804e4df in ?? () #38 0x00000001 in ?? () #39 0x0812bd70 in ?? () #40 0x00000001 in ?? () #41 0x00000000 in ?? ()
SVN commit 610996 by berger: fix crash when calling the layer property of an adjustement layer which has been moved to the bottom of the stack BUG:138425 M +16 -12 kis_dlg_adj_layer_props.cc --- branches/koffice/1.6/koffice/krita/ui/kis_dlg_adj_layer_props.cc #610995:610996 @@ -61,23 +61,27 @@ KisPaintDeviceSP dev = 0; - KisPaintLayer * pl = dynamic_cast<KisPaintLayer*>(next.data()); - if (pl) { - dev = pl->paintDevice(); - } - else { - KisGroupLayer * gl = dynamic_cast<KisGroupLayer*>(next.data()); - if (gl) { - dev = gl->projection(gl->extent()); + if( next ) + { + KisPaintLayer * pl = dynamic_cast<KisPaintLayer*>(next.data()); + if (pl) { + dev = pl->paintDevice(); } else { - KisAdjustmentLayer * al = dynamic_cast<KisAdjustmentLayer*>(next.data()); - if (al) { - dev = al->cachedPaintDevice(); + KisGroupLayer * gl = dynamic_cast<KisGroupLayer*>(next.data()); + if (gl) { + dev = gl->projection(gl->extent()); } + else { + KisAdjustmentLayer * al = dynamic_cast<KisAdjustmentLayer*>(next.data()); + if (al) { + dev = al->cachedPaintDevice(); + } + } } + } else { + dev = new KisPaintDevice(m_layer->image()->colorSpace()); } - setCaption(caption); QWidget * page = new QWidget(this, "page widget"); QHBoxLayout * layout = new QHBoxLayout(page, 0, 6);
Similar error: In Krita 1.6.3 and in 2.0 alpha-6 (OpenSUSE 10.3 with KDE 3.5.9): A big cmyk multilayer .kra file (about 18MB, ~2800 x 2100 pixels, see attachment) crashes when applying color adjustment curves: Krita 1.6.3 Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb69489a0 (LWP 4736)] [KCrash handler] #6 0xb5fc13e7 in KisPaintDevice::hasSelection () from /opt/kde3/lib/libkritaimage.so.1 #7 0xb5fa2a3a in KisPaintLayer::convertMaskToSelection () from /opt/kde3/lib/libkritaimage.so.1 #8 0xb5fa2b2a in KisPaintLayer::setDirty () from /opt/kde3/lib/libkritaimage.so.1 #9 0xb5f9fef5 in KisGroupLayer::addLayer () from /opt/kde3/lib/libkritaimage.so.1 #10 0xb5fa009b in KisGroupLayer::KisGroupLayer () from /opt/kde3/lib/libkritaimage.so.1 #11 0xb5fa017a in KisGroupLayer::clone () from /opt/kde3/lib/libkritaimage.so.1 #12 0xb5f8923c in KisImage::KisImage () from /opt/kde3/lib/libkritaimage.so.1 #13 0xb60f7236 in KisPreviewWidget::runFilterHelper () from /opt/kde3/lib/libkritaui.so.1 #14 0xb60f8197 in KisPreviewWidget::runFilter () from /opt/kde3/lib/libkritaui.so.1 #15 0xb60cbf3f in KisFilterManager::refreshPreview () from /opt/kde3/lib/libkritaui.so.1 #16 0xb60cf23e in KisFilterManager::slotApplyFilter () from /opt/kde3/lib/libkritaui.so.1 #17 0xb60cf7d7 in KisFilterManager::qt_invoke () from /opt/kde3/lib/libkritaui.so.1 #18 0xb74de94d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0xb74df3f0 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #20 0xb7813040 in QSignalMapper::mapped () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0xb74fa4df in QSignalMapper::map () from /usr/lib/qt3/lib/libqt-mt.so.3 #22 0xb7812e43 in QSignalMapper::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3 #23 0xb74de94d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #24 0xb74df4ed in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #25 0xb6d26bf9 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4 #26 0xb6d5b1f2 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4 #27 0xb6e5464d in KAction::slotPopupActivated () from /opt/kde3/lib/libkdeui.so.4 #28 0xb6e54933 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4 #29 0xb74de94d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #30 0xb7812ace in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #31 0xb74fa347 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 #32 0xb75e2163 in QPopupMenu::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #33 0xb6d303a2 in KPopupMenu::mouseReleaseEvent () from /opt/kde3/lib/libkdeui.so.4 #34 0xb7517784 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3 #35 0xb748014c in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #36 0xb7481073 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 #37 0xb7af6ff2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4 #38 0xb741fdcb in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #39 0xb741e436 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #40 0xb742f240 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #41 0xb7496cd0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #42 0xb7496b66 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #43 0xb747fcbf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #44 0xb722c0a8 in kdemain () from /opt/kde3/lib/libkdeinit_krita.so #45 0xb722f464 in kdeinitmain () from /opt/kde3/lib/kde3/krita.so #46 0x0804ecf0 in launch () #47 0x0804f411 in handle_launcher_request () #48 0x0804f8f4 in handle_requests () #49 0x080503b4 in main () krita 2.0 alpha-6 on console (it show this file incorectly): lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes QMainWindow::saveState(): 'objectName' not set for QDockWidget 0xacb333d8 'R&uby Palette; lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 3288 bytes, block should be of 393216 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #4096; Read from memory error. Got 0 bytes, block should be of 512 bytes lcms: Error #12288; Pointer error; probably corrupted file lcms: Error #12288; profile is unsuitable for output KCrash: Application 'krita' crashing... sock_file=/home/jura/.kde4/socket-vamad/kdeinit4__0
You need to log in before you can comment on or make changes to this bug.