Summary: | crash when undo'ing the addition of a shape layer | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Richard Llom <richard.llom> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | dimula73, halla |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.6.2 | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Richard Llom
2013-03-22 15:49:38 UTC
Thanks for your report. The backtrace is a little puzzling, since the crash happens on removing a vector layer... Or rather, the qFatal. Did you use vector layers in the image when you had a crash? (In reply to comment #1) > Thanks for your report. The backtrace is a little puzzling, since the crash > happens on removing a vector layer... Or rather, the qFatal. Well, I had a vector layer before and just removed (undo'ed) it before. (In reply to comment #2) > Did you use vector layers in the image when you had a crash? There were some in my undo/redo history, but not in the image (AFAIK). Okay -- that helps. Thanks for getting back to us! I got such crash when playing with the Shape Layers and limited Undo Stack Thread 1 (Thread 0x7f4c10dcc7a0 (LWP 24456)): [KCrash Handler] #6 0x00007f4c07e42a1a in __dynamic_cast () from /usr/lib64/libstdc++.so.6 #7 0x00007f4c0cf239b4 in KoResourcePopupAction::updateIcon (this=0x7d6e970) at /home/devel/kde-src/calligra/libs/widgets/KoResourcePopupAction.cpp:168 #8 0x00007f4c0cf2458f in indexChanged (modelIndex=<optimized out>, this=<optimized out>) at /home/devel/kde-src/calligra/libs/widgets/KoResourcePopupAction.cpp:147 #9 KoResourcePopupAction::qt_metacall (this=0x7d6e970, _c=<optimized out>, _id=1, _a=<optimized out>) at /home/devel/kde-build/calligra/libs/widgets/KoResourcePopupAction.moc:81 #10 0x00007f4c1024159a in QMetaObject::activate (sender=0x7d63250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287 #11 0x00007f4c0cf10568 in KoColorPopupButton::resizeEvent (this=0x7d63250, e=0x7fff3e167f90) at /home/devel/kde-src/calligra/libs/widgets/KoColorPopupButton.cpp:61 #12 0x00007f4c08c5f29c in QWidget::event (this=0x7d63250, event=0x7fff3e167f90) at kernel/qwidget.cpp:8449 #13 0x00007f4c08c0ebe4 in notify_helper (e=0x7fff3e167f90, receiver=0x7d63250, this=0x813c20) at kernel/qapplication.cpp:4481 #14 QApplicationPrivate::notify_helper (this=0x813c20, receiver=0x7d63250, e=0x7fff3e167f90) at kernel/qapplication.cpp:4453 #15 0x00007f4c08c13a71 in QApplication::notify (this=0x7fff3e169da0, receiver=0x7d63250, e=0x7fff3e167f90) at kernel/qapplication.cpp:4360 #16 0x00007f4c0ee5550e in KoApplication::notify (this=<optimized out>, receiver=0x7d63250, event=0x7fff3e167f90) at /home/devel/kde-src/calligra/libs/main/KoApplication.cpp:556 #17 0x00007f4c1022e81c in QCoreApplication::notifyInternal (this=0x7fff3e169da0, receiver=0x7d63250, event=0x7fff3e167f90) at kernel/qcoreapplication.cpp:787 #18 0x00007f4c08c5aef5 in sendEvent (event=0x7fff3e167f90, receiver=0x7d63250) at ../../src/corelib/kernel/qcoreapplication.h:215 #19 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x7d64cc0, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7365 #20 0x00007f4c08c62c61 in QWidgetPrivate::show_helper (this=0x7d64cc0) at kernel/qwidget.cpp:7416 #21 0x00007f4c08c62b87 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7783 #22 0x00007f4c08c62c7d in QWidgetPrivate::show_helper (this=0x8c4440) at kernel/qwidget.cpp:7422 #23 0x00007f4c08c63082 in QWidget::setVisible (this=0x8c4400, visible=<optimized out>) at kernel/qwidget.cpp:7697 #24 0x00007f4c0eec0e0b in show (this=0x8c4400) at /usr/include/QtGui/qwidget.h:487 #25 KoToolDocker::Private::recreateLayout (this=0x3fc59d0, optionWidgetList=<optimized out>) at /home/devel/kde-src/calligra/libs/main/KoToolDocker_p.cpp:153 #26 0x00007f4c0ee5d2ed in KoDockerManager::qt_metacall (this=0x39258e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3e168540) at /home/devel/kde-build/calligra/libs/main/KoDockerManager.moc:75 #27 0x00007f4c1024159a in QMetaObject::activate (sender=0x640eeb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3e168540) at kernel/qobject.cpp:3287 #28 0x00007f4c0c821ab2 in KoCanvasControllerWidget::toolOptionWidgetsChanged (this=<optimized out>, _t1=<optimized out>) at /home/devel/kde-build/calligra/libs/flake/KoCanvasControllerWidget.moc:97 #29 0x00007f4c0c837c4a in KoToolManager::Private::postSwitchTool (this=0x4c1de90, temporary=true) at /home/devel/kde-src/calligra/libs/flake/KoToolManager.cpp:372 #30 0x00007f4c0c839807 in switchTool (temporary=false, tool=0x701a600, this=0x4c1de90) at /home/devel/kde-src/calligra/libs/flake/KoToolManager.cpp:262 #31 KoToolManager::Private::switchTool (this=0x4c1de90, tool=0x701a600, temporary=false) at /home/devel/kde-src/calligra/libs/flake/KoToolManager.cpp:249 #32 0x00007f4c0c83a6df in KoToolManager::Private::switchTool (this=0x4c1de90, id=..., temporary=false) at /home/devel/kde-src/calligra/libs/flake/KoToolManager.cpp:286 #33 0x00007f4c0c83a9c3 in KoToolManager::switchBackRequested (this=0x4b01710) at /home/devel/kde-src/calligra/libs/flake/KoToolManager.cpp:836 #34 0x00007f4c0c83bd6c in KoToolManager::qt_metacall (this=0x4b01710, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3e168960) at /home/devel/kde-build/calligra/libs/flake/KoToolManager.moc:121 #35 0x00007f4c1024159a in QMetaObject::activate (sender=0x75748d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287 #36 0x00007f4c0c840390 in KoToolProxy::tabletEvent (this=0x644d050, event=<optimized out>, point=...) at /home/devel/kde-src/calligra/libs/flake/KoToolProxy.cpp:181 #37 0x00007f4c0fb80944 in KisToolInvocationAction::end (this=0x644d6e0, event=0x7fff3e169240) at /home/devel/kde-src/calligra/krita/ui/input/kis_tool_invocation_action.cpp:97 #38 0x00007f4c0fb86f69 in KisShortcutMatcher::tryEndRunningShortcut (this=0x644d640, button=<optimized out>, event=0x7fff3e169240) at /home/devel/kde-src/calligra/krita/ui/input/kis_shortcut_matcher.cpp:332 #39 0x00007f4c0fb87db1 in KisShortcutMatcher::buttonReleased (this=0x644d640, button=Qt::LeftButton, event=<optimized out>) at /home/devel/kde-src/calligra/krita/ui/input/kis_shortcut_matcher.cpp:149 #40 0x00007f4c0fb7a913 in KisInputManager::eventFilter (this=0x644d470, object=<optimized out>, event=0x7fff3e169240) at /home/devel/kde-src/calligra/krita/ui/input/kis_input_manager.cpp:410 #41 0x00007f4c1022e9a8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x64518d0, event=0x7fff3e169240) at kernel/qcoreapplication.cpp:902 #42 0x00007f4c08c0ebaf in notify_helper (e=0x7fff3e169240, receiver=0x64518d0, this=0x813c20) at kernel/qapplication.cpp:4477 #43 QApplicationPrivate::notify_helper (this=0x813c20, receiver=0x64518d0, e=0x7fff3e169240) at kernel/qapplication.cpp:4453 #44 0x00007f4c08c1436b in QApplication::notify (this=<optimized out>, receiver=0x64518d0, e=0x7fff3e169240) at kernel/qapplication.cpp:4042 #45 0x00007f4c0ee5550e in KoApplication::notify (this=<optimized out>, receiver=0x64518d0, event=0x7fff3e169240) at /home/devel/kde-src/calligra/libs/main/KoApplication.cpp:556 #46 0x00007f4c1022e81c in QCoreApplication::notifyInternal (this=0x7fff3e169da0, receiver=0x64518d0, event=0x7fff3e169240) at kernel/qcoreapplication.cpp:787 #47 0x00007f4c08c0fbb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215 #48 QApplicationPrivate::sendMouseEvent (receiver=0x64518d0, event=0x7fff3e169240, alienWidget=0x64518d0, nativeWidget=0x640eeb0, buttonDown=0x64518d0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141 #49 0x00007f4c08c8bb55 in QETWidget::translateMouseEvent (this=0x640eeb0, event=<optimized out>) at kernel/qapplication_x11.cpp:4472 #50 0x00007f4c08c8aa2a in QApplication::x11ProcessEvent (this=0x7fff3e169da0, event=0x7fff3e169b10) at kernel/qapplication_x11.cpp:3598 #51 0x00007f4c08cb2cba in QEventDispatcherX11::processEvents (this=0x609b70, flags=...) at kernel/qeventdispatcher_x11.cpp:132 #52 0x00007f4c1022da22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #53 0x00007f4c1022dc1f in QEventLoop::exec (this=0x7fff3e169d60, flags=...) at kernel/qeventloop.cpp:201 #54 0x00007f4c10231de7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #55 0x00007f4c1079bead in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/devel/kde-src/calligra/krita/main.cc:79 #56 0x00007f4c075ac23d in __libc_start_main () from /lib64/libc.so.6 #57 0x0000000000400941 in _start () at ../sysdeps/x86_64/elf/start.S:113 Dmitry, then I guess we can confirm the bug. Ok, it seems like the bug has already been fixed. We did some changes to the Shape Layers this year, so probably removed the cause of it. I just tried to reproduce the bug for about 15 minutes and it didn't crash. Please reopen the bug if you still get the crash. |