Application: krita (2.8 Pre-Alpha) KDE Platform Version: 4.8.5 (4.8.5) Qt Version: 4.8.1 Operating System: Linux 3.5.0-43-generic x86_64 Distribution: Ubuntu 12.04.3 LTS -- Information about the crash: - What I was doing when the application crashed: Firstly, I had been using Krita, was at a different desktop for a couple of hours, did some transforms. I noticed the eyedropper wasn't toggling when ctrl or my custom shortcut was used and tried a few times, checked the key map, went back to painting, tried toggling again and it crashed. I may have been switching desktops in the interim. -- Backtrace: Application: Krita (krita), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f4e415287c0 (LWP 6331))] Thread 11 (Thread 0x7f4e1d03c700 (LWP 6345)): #0 0x00007f4e380e4d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d64db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1d2314 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3cee053d in waitForWork (this=0x270fc10) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/image/tiles3/kis_tile_data_pooler.cc:162 #4 KisTileDataPooler::run (this=0x270fc10) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/image/tiles3/kis_tile_data_pooler.cc:184 #5 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f4e1c83b700 (LWP 6346)): #0 0x00007f4e380e4d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d64db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1d2759 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3cf0f7aa in KisTileDataSwapper::run (this=0x270fc48) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #4 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f4e0098e700 (LWP 6368)): #0 0x00007f4e380e4d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d64db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3f1d8354 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f4dfb7c4700 (LWP 6369)): #0 0x00007f4e409d0763 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f4e3e301366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e3067b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e306ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e3e2d3c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007f4e3e2d3ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007f4e3e1d2fa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007f4e3e2b39ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f4e179a6700 (LWP 8060)): #0 0x00007f4e380e4d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d64db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3f1d8354 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f4e0118f700 (LWP 8061)): #0 0x00007f4e409d0763 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f4e3e301366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e3067b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e306ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e3e2d3c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007f4e3e2d3ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007f4e3e1d2fa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007f4e3e2b39ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #11 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f4ddffff700 (LWP 8165)): #0 0x00007f4e380e50fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d643f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1c95bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f4de48b1700 (LWP 8166)): #0 0x00007f4e380e50fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d643f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1c95bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f4e171a5700 (LWP 8167)): #0 0x00007f4e380e50fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d643f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1c95bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f4e169a4700 (LWP 8169)): #0 0x00007f4e380e50fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f4e3e1d643f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007f4e3e1c95bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007f4e3e1d5fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007f4e380e0e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f4e409d73fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f4e415287c0 (LWP 6331)): [KCrash Handler] #6 0x00007f4e40919425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x00007f4e4091cb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x00007f4e3e1cb50b in qt_message_output(QtMsgType, char const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007f4e3e1cb8bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #10 0x00007f4e3e1cba64 in qFatal(char const*, ...) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #11 0x00007f4e4050e47d in first (this=0x9005358) at /usr/include/qt4/QtCore/qvector.h:261 #12 KisToolFreehandHelper::paintBezierCurve (this=0x90051a0, painterInfos=..., pi1=..., control1=..., control2=..., pi2=...) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/tool/kis_tool_freehand_helper.cpp:604 #13 0x00007f4e4050d2ff in KisToolFreehandHelper::paintBezierSegment (this=0x90051a0, pi1=..., pi2=..., tangent1=..., tangent2=...) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/tool/kis_tool_freehand_helper.cpp:301 #14 0x00007f4e40512ed8 in KisToolFreehandHelper::paint (this=0x90051a0, event=<optimized out>) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/tool/kis_tool_freehand_helper.cpp:435 #15 0x00007f4e402c0e54 in KisToolProxy::forwardToTool (this=<optimized out>, state=KisToolProxy::CONTINUE, action=KisTool::Primary, event=0x7bc2540, docPoint=...) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/canvas/kis_tool_proxy.cpp:149 #16 0x00007f4e402c17df in KisToolProxy::forwardEvent (this=0x7e62ba0, state=KisToolProxy::CONTINUE, action=KisTool::Primary, event=0x7fffc70b38f0, originalEvent=0x7fffc70b38f0, lastTabletEvent=<optimized out>, canvasOriginWorkaround=...) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/canvas/kis_tool_proxy.cpp:100 #17 0x00007f4e4059e4fd in KisToolInvocationAction::inputEvent (this=0x38e47d0, event=0x7fffc70b38f0) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/kis_tool_invocation_action.cpp:115 #18 0x00007f4e405a6fb0 in KisShortcutMatcher::mouseMoved (this=<optimized out>, event=<optimized out>) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/kis_shortcut_matcher.cpp:222 #19 0x00007f4e4059b241 in KisInputManager::eventFilter (this=0x7e62f30, object=0x29bf6e0, event=0x7fffc70b38f0) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/kis_input_manager.cpp:588 #20 0x00007f4e4059aa5d in KisInputManager::Private::handleKisTabletEvent (this=0x7e63010, object=0x29bf6e0, tevent=0x7fffc70b4150) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/kis_input_manager.cpp:731 #21 0x00007f4e4059abdd in KisInputManager::eventFilter (this=0x7e62f30, object=0x29bf6e0, event=0x7fffc70b4150) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/kis_input_manager.cpp:675 #22 0x00007f4e3e2d5028 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #23 0x00007f4e3ecce85f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #24 0x00007f4e3ecd3713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #25 0x00007f4e3fe91cae in KoApplication::notify (this=<optimized out>, receiver=0x29bf6e0, event=0x7fffc70b4150) at /build/buildd/krita-testing-2+git20131128+r74512-46/libs/main/KoApplication.cpp:549 #26 0x00007f4e3e2d4e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #27 0x00007f4e405cff85 in sendEvent (event=0x7fffc70b4150, receiver=0x29bf6e0) at /usr/include/qt4/QtCore/qcoreapplication.h:231 #28 translateXinputEvent (ev=<optimized out>, tablet=0x237be90, defaultWidget=0x29bf6e0) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/wintab/kis_tablet_support_x11.cpp:542 #29 0x00007f4e405d095e in KisTabletSupportX11::eventFilter (ev=0x7fffc70b48b0) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/ui/input/wintab/kis_tablet_support_x11.cpp:586 #30 0x00007f4e3ed3daf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #31 0x00007f4e3ed4cf98 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #32 0x00007f4e3ed77b3a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #33 0x00007f4e3e2d3c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #34 0x00007f4e3e2d3ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #35 0x00007f4e3e2d8f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #36 0x00007f4e40edef7d in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20131128+r74512-46/krita/main.cc:99 #37 0x00007f4e4090476d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #38 0x0000000000400681 in _start () Reported using DrKonqi
Hi, jay! Thank you for your report! Indeed this crash happens when one tries to paint on disabled or invisible layer. I will try to fix it as soon as possible.
Git commit 8901cf23a0fcb61d1ca42eea3e3e04f1905eafac by Dmitry Kazakov. Committed on 02/12/2013 at 08:17. Pushed by dkazakov into branch 'master'. Disallow the start of prohibited actions Now the tool can choose not to get move/release events for the actions it doesn't want to have. If the tool calls event->ignore() in beginPrimaryAction(), it will not get any further events for this particular action. M +7 -3 krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc M +4 -1 krita/plugins/tools/defaulttools/kis_tool_fill.cc M +10 -0 krita/plugins/tools/defaulttools/kis_tool_gradient.cc M +5 -5 krita/plugins/tools/defaulttools/kis_tool_line.cc M +4 -0 krita/plugins/tools/defaulttools/kis_tool_measure.cc M +9 -3 krita/plugins/tools/defaulttools/kis_tool_move.cc M +0 -3 krita/plugins/tools/defaulttools/kis_tool_multihand.cpp M +5 -1 krita/plugins/tools/selectiontools/kis_tool_select_brush.cc M +6 -6 krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc M +4 -0 krita/plugins/tools/selectiontools/kis_tool_select_outline.cc M +7 -10 krita/plugins/tools/selectiontools/kis_tool_select_similar.cc M +208 -209 krita/plugins/tools/tool_crop/kis_tool_crop.cc M +22 -5 krita/plugins/tools/tool_grid/kis_tool_grid.cc M +11 -1 krita/ui/canvas/kis_tool_proxy.cpp M +6 -1 krita/ui/canvas/kis_tool_proxy.h M +7 -6 krita/ui/input/kis_tool_invocation_action.cpp M +9 -9 krita/ui/tool/kis_tool_freehand.cc M +5 -1 krita/ui/tool/kis_tool_polyline_base.cpp M +6 -1 krita/ui/tool/kis_tool_rectangle_base.cpp http://commits.kde.org/calligra/8901cf23a0fcb61d1ca42eea3e3e04f1905eafac
Git commit 753e3d5dc3c18858cc45ac56603cb5e047c86c59 by Dmitry Kazakov. Committed on 02/12/2013 at 08:17. Pushed by dkazakov into branch 'calligra/2.8'. Disallow the start of prohibited actions Now the tool can choose not to get move/release events for the actions it doesn't want to have. If the tool calls event->ignore() in beginPrimaryAction(), it will not get any further events for this particular action. M +7 -3 krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc M +4 -1 krita/plugins/tools/defaulttools/kis_tool_fill.cc M +10 -0 krita/plugins/tools/defaulttools/kis_tool_gradient.cc M +5 -5 krita/plugins/tools/defaulttools/kis_tool_line.cc M +4 -0 krita/plugins/tools/defaulttools/kis_tool_measure.cc M +9 -3 krita/plugins/tools/defaulttools/kis_tool_move.cc M +0 -3 krita/plugins/tools/defaulttools/kis_tool_multihand.cpp M +5 -1 krita/plugins/tools/selectiontools/kis_tool_select_brush.cc M +6 -6 krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc M +4 -0 krita/plugins/tools/selectiontools/kis_tool_select_outline.cc M +7 -10 krita/plugins/tools/selectiontools/kis_tool_select_similar.cc M +208 -209 krita/plugins/tools/tool_crop/kis_tool_crop.cc M +22 -5 krita/plugins/tools/tool_grid/kis_tool_grid.cc M +11 -1 krita/ui/canvas/kis_tool_proxy.cpp M +6 -1 krita/ui/canvas/kis_tool_proxy.h M +7 -6 krita/ui/input/kis_tool_invocation_action.cpp M +9 -9 krita/ui/tool/kis_tool_freehand.cc M +5 -1 krita/ui/tool/kis_tool_polyline_base.cpp M +6 -1 krita/ui/tool/kis_tool_rectangle_base.cpp http://commits.kde.org/calligra/753e3d5dc3c18858cc45ac56603cb5e047c86c59
*** Bug 328429 has been marked as a duplicate of this bug. ***
I figure it's best to post in the main bug, so yeah I still have this bug. I do have the latest version of Krita(versioning was set to 2.9 alpha recently, not? It's version 2.9 alpha, so.) and I do have this bug when painting on a locked layer.(As well as the eyedropper bug)
(In reply to comment #5) > I figure it's best to post in the main bug, so yeah I still have this bug. > I do have the latest version of Krita(versioning was set to 2.9 alpha > recently, not? It's version 2.9 alpha, so.) and I do have this bug when > painting on a locked layer.(As well as the eyedropper bug) Oh, sorry.. seems like that commit didn't reach the Krita Lime. Ok, I've just requested a new packages build, so the updated packages will be ready in about 6-8 hours. Please update and check when the are ready.
It's working now :) (And of course, the eyedropper being bugged was because of the adjustments to the canvas input settings :) )