Application that crashed: krita Version of the application: 2.1 Beta 3 KDE Version: 4.3.1 (KDE 4.3.1) "release 169" Qt Version: 4.5.3 Operating System: Linux 2.6.27.29-0.1-default i686 Distribution: "openSUSE 11.1 (i586)" What I was doing when the application crashed: Steps to reproduce: * create 640x480 rgb image * fill the layer with the gradient tool * paint something * convert to something * either paint something: this crashes, or undo * then paint something: this crashes both crashes have the same stacktrace. -- Backtrace: Application: Krita (krita), signal: Segmentation fault [Current thread is 1 (Thread 0xb49f4700 (LWP 12224))] Thread 3 (Thread 0xafdebb90 (LWP 12232)): [KCrash Handler] #6 KoCompositeOp::id (this=0xaf4012f8) at /usr/include/QtCore/qatomic_i386.h:120 #7 0xb78f40a1 in KisPainter::bitBlt (this=0xafdeaae8, dx=71, dy=208, srcdev={d = 0xafdeaa98}, sx=71, sy=208, sw=4, sh=4) at /home/boud/kde/src/koffice/krita/image/kis_painter.cc:260 #8 0xb78f68ca in KisPainter::bitBlt (this=0xafdeaae8, pos=@0xafdeaad8, src={d = 0xafdeaaf0}, srcRect=@0xafdeac8c) at /home/boud/kde/src/koffice/krita/image/kis_painter.cc:399 #9 0xb797b66f in KisPaintLayer::copyOriginalToProjection (this=0xaf400668, original={d = 0xafdeac04}, projection={d = 0xafdeac00}, rect=@0xafdeac8c) at /home/boud/kde/src/koffice/krita/image/kis_paint_layer.cc:126 #10 0xb795debc in KisLayer::applyMasks (this=0xaf400668, source={d = 0xafdeaca0}, destination={d = 0xafdeac9c}, requestedRect=@0xafdeac8c) at /home/boud/kde/src/koffice/krita/image/kis_layer.cc:329 #11 0xb795eb1e in KisLayer::updateProjection (this=0xaf400668, rect=@0xafdead2c) at /home/boud/kde/src/koffice/krita/image/kis_layer.cc:417 #12 0xb7989439 in KisImageUpdater::update (this=0x860a570, node={d = 0xafdeada8}, child={d = 0xafdeada4}, rc=@0xad7c9480) at /home/boud/kde/src/koffice/krita/image/kis_projection.cc:173 #13 0xb79897c6 in KisImageUpdater::startUpdate (this=0x860a570, node={d = 0xafdeade8}, rc=@0xad7c9480) at /home/boud/kde/src/koffice/krita/image/kis_projection.cc:155 #14 0xb798990e in KisImageUpdater::qt_metacall (this=0x860a570, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xad90b1e8) at /home/boud/kde/build/koffice/krita/image/kis_projection.moc:132 #15 0xb7de960b in QMetaCallEvent::placeMetaCall (this=0xad7c9d88, object=0x860a570) at kernel/qobject.cpp:477 #16 0xb7deb0d0 in QObject::event (this=0x860a570, e=0xad7c9d88) at kernel/qobject.cpp:1111 #17 0xb596576c in QApplicationPrivate::notify_helper (this=0x808b6f8, receiver=0x860a570, e=0xad7c9d88) at kernel/qapplication.cpp:4065 #18 0xb596da5e in QApplication::notify (this=0xbfb8d6ac, receiver=0x860a570, e=0xad7c9d88) at kernel/qapplication.cpp:3605 #19 0xb682417d in KApplication::notify (this=0xbfb8d6ac, receiver=0x860a570, event=0xad7c9d88) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302 #20 0xb7dda8fb in QCoreApplication::notifyInternal (this=0xbfb8d6ac, receiver=0x860a570, event=0xad7c9d88) at kernel/qcoreapplication.cpp:610 #21 0xb7ddb545 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x85ffc18) at kernel/qcoreapplication.h:213 #22 0xb7e0a69a in QEventDispatcherUNIX::processEvents (this=0x82ace98, flags={i = -1344359784}) at kernel/qeventdispatcher_unix.cpp:898 #23 0xb7dd8f1a in QEventLoop::processEvents (this=0xafdeb310, flags={i = -1344359720}) at kernel/qeventloop.cpp:149 #24 0xb7dd9362 in QEventLoop::exec (this=0xafdeb310, flags={i = -1344359656}) at kernel/qeventloop.cpp:201 #25 0xb7ce3249 in QThread::exec (this=0x861e910) at thread/qthread.cpp:487 #26 0xb7988e76 in KisProjection::run (this=0x861e910) at /home/boud/kde/src/koffice/krita/image/kis_projection.cc:75 #27 0xb7ce6592 in QThreadPrivate::start (arg=0x861e910) at thread/qthread_unix.cpp:188 #28 0xb7c841b5 in start_thread () from /lib/libpthread.so.0 #29 0xb568d3ae in clone () from /lib/libc.so.6 Thread 2 (Thread 0xaebfeb90 (LWP 12245)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb7c87f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7ce757c in QWaitCondition::wait (this=0x8670878, mutex=0x8670874, time=30000) at thread/qwaitcondition_unix.cpp:85 #3 0xb7cdcbb6 in QThreadPoolThread::run (this=0xa5f2280) at concurrent/qthreadpool.cpp:140 #4 0xb7ce6592 in QThreadPrivate::start (arg=0xa5f2280) at thread/qthread_unix.cpp:188 #5 0xb7c841b5 in start_thread () from /lib/libpthread.so.0 #6 0xb568d3ae in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb49f4700 (LWP 12224)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5686401 in select () from /lib/libc.so.6 #2 0xb4fa82c5 in ?? () from /usr/lib/libxcb.so.1 #3 0xb4fa9c9a in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #4 0xb72cb5d1 in _XReply () from /usr/lib/libX11.so.6 #5 0xb72a7749 in XGetImage () from /usr/lib/libX11.so.6 #6 0xb5a46def in QX11PixmapData::toImage (this=0x969c7b8) at image/qpixmap_x11.cpp:1428 #7 0xb5a33f0b in QPixmap::toImage (this=0xbfb8bf70) at image/qpixmap.cpp:447 #8 0xb5c421ba in QCommonStyle::generatedIconPixmap (this=0x80c3b70, iconMode=<value optimized out>, pixmap=@0xbfb8b37c, opt=0xbfb8be1c) at styles/qcommonstyle.cpp:6251 #9 0xb6830cde in KStyle::generatedIconPixmap (this=0x80c3b70, iconMode=QIcon::Disabled, pixmap=@0xbfb8bf70, opt=0xbfb8be1c) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kstyle.cpp:590 #10 0xb5d5169e in QLabel::paintEvent (this=0x975ada0) at widgets/qlabel.cpp:1071 #11 0xb59bc13e in QWidget::event (this=0x975ada0, event=0xbfb8c4b4) at kernel/qwidget.cpp:7692 #12 0xb5d4c9a3 in QFrame::event (this=0x975ada0, e=0xbfb8c4b4) at widgets/qframe.cpp:559 #13 0xb5d51ec9 in QLabel::event (this=0x975ada0, e=0xbfb8c4b4) at widgets/qlabel.cpp:948 #14 0xb596576c in QApplicationPrivate::notify_helper (this=0x808b6f8, receiver=0x975ada0, e=0xbfb8c4b4) at kernel/qapplication.cpp:4065 #15 0xb596db42 in QApplication::notify (this=0xbfb8d6ac, receiver=0x975ada0, e=0xbfb8c4b4) at kernel/qapplication.cpp:4030 #16 0xb682417d in KApplication::notify (this=0xbfb8d6ac, receiver=0x975ada0, event=0xbfb8c4b4) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302 #17 0xb7dda8fb in QCoreApplication::notifyInternal (this=0xbfb8d6ac, receiver=0x975ada0, event=0xbfb8c4b4) at kernel/qcoreapplication.cpp:610 #18 0xb59708ae in QCoreApplication::sendSpontaneousEvent (receiver=0x975ada0, event=0xbfb8b37c) at ../../src/corelib/kernel/qcoreapplication.h:216 #19 0xb59c3ea9 in QWidgetPrivate::drawWidget (this=0x97ed5f8, pdev=0x825e20c, rgn=@0xbfb8c614, offset=@0xbfb8c60c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5084 #20 0xb59c464e in QWidgetPrivate::paintSiblingsRecursive (this=0x863c9f0, pdev=0x825e20c, siblings=@0x863c9fc, index=1, rgn=@0xbfb8c6a4, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5194 #21 0xb59c4564 in QWidgetPrivate::paintSiblingsRecursive (this=0x863c9f0, pdev=0x825e20c, siblings=@0x863c9fc, index=2, rgn=@0xbfb8c734, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5185 #22 0xb59c4564 in QWidgetPrivate::paintSiblingsRecursive (this=0x863c9f0, pdev=0x825e20c, siblings=@0x863c9fc, index=3, rgn=@0xbfb8c7c4, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5185 #23 0xb59c4564 in QWidgetPrivate::paintSiblingsRecursive (this=0x863c9f0, pdev=0x825e20c, siblings=@0x863c9fc, index=4, rgn=@0xbfb8c854, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5185 #24 0xb59c4564 in QWidgetPrivate::paintSiblingsRecursive (this=0x863c9f0, pdev=0x825e20c, siblings=@0x863c9fc, index=5, rgn=@0xbfb8ca34, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5185 #25 0xb59c3a9a in QWidgetPrivate::drawWidget (this=0x863c9f0, pdev=0x825e20c, rgn=@0xbfb8ca34, offset=@0xbfb8ca2c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5133 #26 0xb59c464e in QWidgetPrivate::paintSiblingsRecursive (this=0x82601c8, pdev=0x825e20c, siblings=@0x82601d4, index=32, rgn=@0xbfb8cce8, offset=@0x825e19c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5194 #27 0xb59c3a9a in QWidgetPrivate::drawWidget (this=0x82601c8, pdev=0x825e20c, rgn=@0xbfb8cce8, offset=@0x825e19c, flags=4, sharedPainter=0x0, backingStore=0x825e178) at kernel/qwidget.cpp:5133 #28 0xb5b5300a in QWidgetBackingStore::sync (this=0x825e178) at painting/qbackingstore.cpp:1272 #29 0xb59b43e6 in QWidgetPrivate::syncBackingStore (this=0x82601c8) at kernel/qwidget.cpp:1603 #30 0xb59bc5a5 in QWidget::event (this=0x8240e70, event=0xa5ff750) at kernel/qwidget.cpp:7832 #31 0xb5d69f97 in QMainWindow::event (this=0x8240e70, event=0xa5ff750) at widgets/qmainwindow.cpp:1399 #32 0xb6907f97 in KMainWindow::event (this=0x8240e70, ev=0xa5ff750) at /usr/src/debug/kdelibs-4.3.1/kdeui/widgets/kmainwindow.cpp:1094 #33 0xb694d47c in KXmlGuiWindow::event (this=0x8240e70, ev=0xa5ff750) at /usr/src/debug/kdelibs-4.3.1/kdeui/xmlgui/kxmlguiwindow.cpp:131 #34 0xb596576c in QApplicationPrivate::notify_helper (this=0x808b6f8, receiver=0x8240e70, e=0xa5ff750) at kernel/qapplication.cpp:4065 #35 0xb596db42 in QApplication::notify (this=0xbfb8d6ac, receiver=0x8240e70, e=0xa5ff750) at kernel/qapplication.cpp:4030 #36 0xb682417d in KApplication::notify (this=0xbfb8d6ac, receiver=0x8240e70, event=0xa5ff750) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302 #37 0xb7dda8fb in QCoreApplication::notifyInternal (this=0xbfb8d6ac, receiver=0x8240e70, event=0xa5ff750) at kernel/qcoreapplication.cpp:610 #38 0xb7ddb545 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8051b30) at kernel/qcoreapplication.h:213 #39 0xb7e0a69a in QEventDispatcherUNIX::processEvents (this=0x8051880, flags={i = -1078406104}) at kernel/qeventdispatcher_unix.cpp:898 #40 0xb5a06f02 in QEventDispatcherX11::processEvents (this=0x8051880, flags={i = -1078405656}) at kernel/qeventdispatcher_x11.cpp:152 #41 0xb7dd8f1a in QEventLoop::processEvents (this=0xbfb8d660, flags={i = -1078405592}) at kernel/qeventloop.cpp:149 #42 0xb7dd9362 in QEventLoop::exec (this=0xbfb8d660, flags={i = -1078405528}) at kernel/qeventloop.cpp:201 #43 0xb7ddb809 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #44 0xb59655e7 in QApplication::exec () at kernel/qapplication.cpp:3525 #45 0xb7efea8d in kdemain (argc=1, argv=0xbfb8d7a4) at /home/boud/kde/src/koffice/krita/main.cc:49 #46 0x080488b2 in main (argc=128, argv=0x0) at /home/boud/kde/build/koffice/krita/krita_dummy.cpp:3 Reported using DrKonqi
I don't get a crash if I paint on the converted image, but I get one if I do: * convert * paint * undo paint * undo convert * paint Then I get ASSERT failure in KoColorSpace::bitBlt: "Composite op is for color space RGBA16 (sRGB built-in - (lcms internal)) while this is RGBA (sRGB built-in - (lcms internal))", file /home/cyrille/Projects/kde4/src/koffice/libs/pigment/KoColorSpace.cpp, line 323
SVN commit 1107059 by berger: Fix: crash when painting after undoing conversion to a different color space BUG: 210884 M +2 -2 kis_paint_device.cc WebSVN link: http://websvn.kde.org/?view=rev&revision=1107059
You need to log in before you can comment on or make changes to this bug.