Summary: | Krita crashed when using the gradient tool | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Halla Rempt <halla> |
Component: | General | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | pentalis |
Priority: | NOR | Keywords: | release_blocker |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Halla Rempt
2010-08-19 14:30:30 UTC
This seems to happen when trying to draw a gradient while the previous one is still being drawn. This happened to me when trying to use the fill tool on a transparent layer using a plain color. I hit the assert when I pressed fill for a second time, before the first fill finished. Using Krita trunk, updated 2 days ago. Assert: ASSERT: "!namedTransactionInProgress()" in file /home/pentalis/kde4/src/koffice/krita/image/tiles3/kis_memento_manager.cc, line 233 KCrash: Application 'krita' crashing... Backtrace: Application: Krita (krita), signal: Aborted The current source language is "auto; currently asm". [Current thread is 1 (Thread 0x7f22d73de780 (LWP 5618))] Thread 3 (Thread 0x7f22a5e07710 (LWP 5637)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f22d6d04e8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f22d6d00c24 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4 #3 0x00007f22d66154d6 in KisTileDataPooler::waitForWork (this=0x26b12a0) at /home/pentalis/kde4/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:127 #4 0x00007f22d6615620 in KisTileDataPooler::run (this=0x26b12a0) at /home/pentalis/kde4/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:156 #5 0x00007f22d6d03e35 in ?? () from /usr/lib/libQtCore.so.4 #6 0x00007f22cfa168ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #7 0x00007f22cfcfb01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f22a5606710 (LWP 5638)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f22d6d04e8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f22d6d00a44 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4 #3 0x00007f22d662ec10 in KisTileDataSwapper::run (this=0x26b12d0) at /home/pentalis/kde4/src/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90 #4 0x00007f22d6d03e35 in ?? () from /usr/lib/libQtCore.so.4 #5 0x00007f22cfa168ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007f22cfcfb01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f22d73de780 (LWP 5618)): [KCrash Handler] #5 0x00007f22cfc5e175 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f22cfc60f80 in *__GI_abort () at abort.c:92 #7 0x00007f22d6cfbc9f in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4 #8 0x00007f22d6cfbe42 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f22d6cfbff5 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #10 0x00007f22d661d6a7 in KisMementoManager::getMemento (this=0x2140e20) at /home/pentalis/kde4/src/koffice/krita/image/tiles3/kis_memento_manager.cc:233 #11 0x00007f22d66d38a2 in KisTiledDataManager::getMemento (this=0x27a7dd0) at /home/pentalis/kde4/src/koffice/krita/image/tiles3/kis_tiled_data_manager.h:150 #12 0x00007f22d66d38e9 in KisDataManager::getMemento (this=0x15f2) at /home/pentalis/kde4/src/koffice/krita/image/kis_datamanager.h:89 #13 0x00007f22d66d3354 in KisTransactionData (this=0x45f5070, name=<value optimized out>, device=..., parent=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/image/kis_transaction_data.cpp:53 #14 0x00007f22d663e919 in KisTransaction (this=0x432cb20, name=..., device=<value optimized out>, parent=0x0) at /home/pentalis/kde4/src/koffice/krita/image/kis_transaction.h:38 #15 0x00007f22d66397b1 in KisPainter::beginTransaction (this=0x7ffff11606c0, transactionName=...) at /home/pentalis/kde4/src/koffice/krita/image/kis_painter.cc:202 #16 0x00007f22aa91d382 in KisToolFill::flood (this=0x6c8c3e0, startX=<value optimized out>, startY=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/plugins/tools/defaulttools/kis_tool_fill.cc:149 #17 0x00007f22aa91d5db in KisToolFill::mouseReleaseEvent (this=0x6c8c3e0, e=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/plugins/tools/defaulttools/kis_tool_fill.cc:197 #18 0x00007f22d435e637 in KoToolProxy::mouseReleaseEvent (this=0x6da8c80, event=0x7ffff1161630, point=...) at /home/pentalis/kde4/src/koffice/libs/flake/KoToolProxy.cpp:270 #19 0x00007f22d68765eb in KisCanvasWidgetBase::processMouseReleaseEvent (this=0x6da9038, e=0x7ffff1161630) at /home/pentalis/kde4/src/koffice/krita/ui/canvas/kis_canvas_widget_base.cpp:245 #20 0x00007f22d12fc602 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #21 0x00007f22d12a632c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0x00007f22d12acfdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #23 0x00007f22d1fbe836 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #24 0x00007f22d6df315c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #25 0x00007f22d12ac1be in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #26 0x00007f22d132c03b in ?? () from /usr/lib/libQtGui.so.4 #27 0x00007f22d132a9ac in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #28 0x00007f22d1356e31 in ?? () from /usr/lib/libQtGui.so.4 #29 0x00007f22d6df6c4f in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x00007f22d5de4305 in KoProgressUpdater::update (this=<value optimized out>) at /home/pentalis/kde4/src/koffice/libs/main/KoProgressUpdater.cpp:147 #31 0x00007f22d5de4354 in KoProgressUpdater::qt_metacall (this=0x2bb0460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /home/pentalis/kde4/build/koffice/libs/main/KoProgressUpdater.moc:73 #32 0x00007f22d6e06346 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #33 0x00007f22d5de5f33 in KoUpdaterPrivate::qt_metacall (this=0x4ddc0e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff1162140) at /home/pentalis/kde4/build/koffice/libs/main/KoUpdaterPrivate_p.moc:84 #34 0x00007f22d6e06346 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #35 0x00007f22d5de5581 in KoUpdater::sigProgress (this=0x15f2, _t1=29) at /home/pentalis/kde4/build/koffice/libs/main/KoUpdater.moc:99 #36 0x00007f22d666ec2b in KisFillPainter::createFloodSelection (this=0x7ffff1162ab0, startX=<value optimized out>, startY=<value optimized out>, projection=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/image/kis_fill_painter.cc:472 #37 0x00007f22d666ef83 in KisFillPainter::genericFillStart (this=0x7ffff1162ab0, startX=948, startY=340, projection=) at /home/pentalis/kde4/src/koffice/krita/image/kis_fill_painter.cc:213 #38 0x00007f22d666fdec in KisFillPainter::fillColor (this=0x7ffff1162ab0, startX=948, startY=340, projection=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/image/kis_fill_painter.cc:179 #39 0x00007f22aa91d22c in KisToolFill::flood (this=0x6c8c3e0, startX=<value optimized out>, startY=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/plugins/tools/defaulttools/kis_tool_fill.cc:163 #40 0x00007f22aa91d5db in KisToolFill::mouseReleaseEvent (this=0x6c8c3e0, e=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/plugins/tools/defaulttools/kis_tool_fill.cc:197 #41 0x00007f22d435e637 in KoToolProxy::mouseReleaseEvent (this=0x6da8c80, event=0x7ffff1163a20, point=...) at /home/pentalis/kde4/src/koffice/libs/flake/KoToolProxy.cpp:270 #42 0x00007f22d68765eb in KisCanvasWidgetBase::processMouseReleaseEvent (this=0x6da9038, e=0x7ffff1163a20) at /home/pentalis/kde4/src/koffice/krita/ui/canvas/kis_canvas_widget_base.cpp:245 #43 0x00007f22d12fc602 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #44 0x00007f22d12a632c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #45 0x00007f22d12acfdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #46 0x00007f22d1fbe836 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #47 0x00007f22d6df315c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #48 0x00007f22d12ac1be in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #49 0x00007f22d132c03b in ?? () from /usr/lib/libQtGui.so.4 #50 0x00007f22d132a9ac in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #51 0x00007f22d1356e31 in ?? () from /usr/lib/libQtGui.so.4 #52 0x00007f22d6df1a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #53 0x00007f22d6df1e5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #54 0x00007f22d6df6aeb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #55 0x00007f22d710d84a in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/pentalis/kde4/src/koffice/krita/main.cc:49 #56 0x00007f22cfc4ac4d 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=0x7ffff1164518) at libc-start.c:228 #57 0x0000000000400879 in _start () SVN commit 1176055 by rempt: lock node while gradient is being painted BUG:248374 M +3 -1 kis_tool_gradient.cc WebSVN link: http://websvn.kde.org/?view=rev&revision=1176055 SVN commit 1176056 by rempt: Lock node while filling CCBUG:248374 M +2 -0 kis_tool_fill.cc WebSVN link: http://websvn.kde.org/?view=rev&revision=1176056 |