https://bugs.kde.org/show_bug.cgi?id=363846
--- Comment #9 from Boudewijn Rempt <b...@valdyas.org> --- Let's keep the backtrace in a stable place: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. KisBrush::scale (this=0x0) at /home/nim/Programs/QtKrita/krita/libs/brush/kis_brush.cpp:616 616 return d->scale; (gdb) bt #0 KisBrush::scale (this=0x0) at /home/nim/Programs/QtKrita/krita/libs/brush/kis_brush.cpp:616 #1 0x00007fffd844754c in KisBrushBasedPaintOpSettings::brushOutlineImpl (this=0x2043e20, info=..., mode=KisPaintOpSettings::CursorIsOutline, additionalScale=additionalScale@entry=1, forceOutline=forceOutline@entry=false) at /home/nim/Programs/QtKrita/krita/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp:80 #2 0x00007fffd8447848 in KisBrushBasedPaintOpSettings::brushOutline (this=<optimized out>, info=..., mode=<optimized out>) at /home/nim/Programs/QtKrita/krita/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp:108 #3 0x00007ffff780345a in KisToolFreehandHelper::paintOpOutline (this=0x6353b10, savedCursorPos=..., event=event@entry=0x0, globalSettings=<optimized out>, mode=mode@entry=KisPaintOpSettings::CursorIsOutline) at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_freehand_helper.cpp:171 #4 0x00007ffff77fd5b1 in KisToolFreehand::getOutlinePath (this=0x71c9f10, documentPos=..., event=0x0, outlineMode=KisPaintOpSettings::CursorIsOutline) at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_freehand.cc:442 #5 0x00007ffff780a82a in KisToolPaint::requestUpdateOutline (this=0x71c9f10, outlineDocPoint=..., event=0x0) at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_paint.cc:715 #6 0x00007ffff780cf66 in KisToolPaint::activatePrimaryAction (this=0x71c9f10) at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_paint.cc:622 #7 0x00007ffff76198c9 in KisToolProxy::activateToolAction (this=0x6cbe610, action=action@entry=KisTool::Primary) at /home/nim/Programs/QtKrita/krita/libs/ui/canvas/kis_tool_proxy.cpp:220 #8 0x00007ffff78830d4 in KisToolInvocationAction::activate (this=this@entry=0x60719e0, shortcut=<optimized out>) at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_tool_invocation_action.cpp:72 #9 0x00007ffff788e3bf in KisShortcutMatcher::tryActivateReadyShortcut (this=0x604f320) at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_shortcut_matcher.cpp:458 #10 0x00007ffff788ead2 in KisShortcutMatcher::enterEvent (this=<optimized out>) at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_shortcut_matcher.cpp:256 #11 0x00007ffff787c853 in KisInputManager::eventFilterImpl (this=0x60c23c0, event=0x7fffffff91d0) at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_input_manager.cpp:388 #12 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x6cd04d0, event=0x7fffffff91d0) at kernel/qcoreapplication.cpp:1099 #13 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x6cd04d0, e=0x7fffffff91d0) at kernel/qapplication.cpp:3795 #14 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x6cd04d0, e=0x7fffffff91d0) at kernel/qapplication.cpp:3762 #15 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x6cd04d0, event=0x7fffffff91d0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #16 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x6cd04d0, event=0x7fffffff91d0) at kernel/qcoreapplication.cpp:988 #17 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x6cd04d0, event=0x7fffffff91d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #18 0x00007ffff65554fb in QApplicationPrivate::dispatchEnterLeave (enter=0x6cd04d0, leave=0x6091310, globalPosF=...) at kernel/qapplication.cpp:2409 #19 0x00007ffff65567be in QApplicationPrivate::sendMouseEvent (receiver=0x6cd04d0, event=0x7fffffff9410, alienWidget=0x6cd04d0, nativeWidget=0x5fbef40, buttonDown=0x7ffff6c5ece0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751 #20 0x00007ffff6556ecb in QApplicationPrivate::sendSyntheticEnterLeave (this=0xb86080, widget=0x718d110) at kernel/qapplication.cpp:2848 #21 0x00007ffff65af33a in QWidget::setVisible (this=0x718d110, visible=true) at kernel/qwidget.cpp:8210 #22 0x00007ffff67489d7 in QMdiSubWindowPrivate::setMaximizeMode (this=0x73504f0) at widgets/qmdisubwindow.cpp:1398 #23 0x00007ffff674f018 in QMdiSubWindow::changeEvent (this=0x718d110, changeEvent=0x7fffffff9dc0) at widgets/qmdisubwindow.cpp:3018 #24 0x00007ffff65b1410 in QWidget::event (this=0x718d110, event=0x7fffffff9dc0) at kernel/qwidget.cpp:9043 #25 0x00007ffff674eb8e in QMdiSubWindow::event (this=0x718d110, event=0x7fffffff9dc0) at widgets/qmdisubwindow.cpp:2921 #26 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x718d110, e=0x7fffffff9dc0) at kernel/qapplication.cpp:3799 #27 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x718d110, e=0x7fffffff9dc0) at kernel/qapplication.cpp:3762 #28 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x718d110, event=0x7fffffff9dc0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #29 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x718d110, event=0x7fffffff9dc0) at kernel/qcoreapplication.cpp:988 #30 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x718d110, event=0x7fffffff9dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #31 0x00007ffff65a0dab in QWidget::setWindowState (this=0x718d110, newstate=...) at kernel/qwidget.cpp:3104 #32 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x718d110) at kernel/qwidget.cpp:3187 #33 0x00007ffff67358b7 in QMdiAreaPrivate::emitWindowActivated (this=0x6051f30, activeWindow=0x718d110) at widgets/qmdiarea.cpp:1063 #34 0x00007ffff6733fbd in QMdiAreaPrivate::_q_processWindowStateChanged (this=0x6051f30, oldState=..., newState=...) at widgets/qmdiarea.cpp:761 #35 0x00007ffff673b643 in QMdiArea::qt_static_metacall (_o=0x60786b0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffa1a0) at .moc/moc_qmdiarea.cpp:182 ---Type <return> to continue, or q <return> to quit--- #36 0x00007ffff593a47e in QMetaObject::activate (sender=0x718d110, signalOffset=7, local_signal_index=0, argv=0x7fffffffa1a0) at kernel/qobject.cpp:3740 #37 0x00007ffff5939c4e in QMetaObject::activate (sender=0x718d110, m=0x7ffff6c3b3c0 <QMdiSubWindow::staticMetaObject>, local_signal_index=0, argv=0x7fffffffa1a0) at kernel/qobject.cpp:3602 #38 0x00007ffff6751a38 in QMdiSubWindow::windowStateChanged (this=0x718d110, _t1=..., _t2=...) at .moc/moc_qmdisubwindow.cpp:230 #39 0x00007ffff6748cbb in QMdiSubWindowPrivate::setActive (this=0x73504f0, activate=true, changeFocus=true) at widgets/qmdisubwindow.cpp:1438 #40 0x00007ffff674dcb9 in QMdiSubWindow::eventFilter (this=0x718d110, object=0x732f190, event=0x7fffffffa8c0) at widgets/qmdisubwindow.cpp:2730 #41 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x732f190, event=0x7fffffffa8c0) at kernel/qcoreapplication.cpp:1099 #42 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x732f190, e=0x7fffffffa8c0) at kernel/qapplication.cpp:3795 #43 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x732f190, e=0x7fffffffa8c0) at kernel/qapplication.cpp:3762 #44 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x732f190, event=0x7fffffffa8c0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #45 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x732f190, event=0x7fffffffa8c0) at kernel/qcoreapplication.cpp:988 #46 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x732f190, event=0x7fffffffa8c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #47 0x00007ffff65ae419 in QWidgetPrivate::show_helper (this=0x74e0fa0) at kernel/qwidget.cpp:7912 #48 0x00007ffff65af31b in QWidget::setVisible (this=0x732f190, visible=true) at kernel/qwidget.cpp:8208 #49 0x00007ffff65add1d in QWidget::show (this=0x732f190) at kernel/qwidget.cpp:7760 #50 0x00007ffff65af79f in QWidgetPrivate::showChildren (this=0x73504f0, spontaneous=false) at kernel/qwidget.cpp:8291 #51 0x00007ffff65ae264 in QWidgetPrivate::show_helper (this=0x73504f0) at kernel/qwidget.cpp:7859 #52 0x00007ffff65af31b in QWidget::setVisible (this=0x718d110, visible=true) at kernel/qwidget.cpp:8208 #53 0x00007ffff674ee41 in QMdiSubWindow::changeEvent (this=0x718d110, changeEvent=0x7fffffffb340) at widgets/qmdisubwindow.cpp:3006 #54 0x00007ffff65b1410 in QWidget::event (this=0x718d110, event=0x7fffffffb340) at kernel/qwidget.cpp:9043 #55 0x00007ffff674eb8e in QMdiSubWindow::event (this=0x718d110, event=0x7fffffffb340) at widgets/qmdisubwindow.cpp:2921 #56 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x718d110, e=0x7fffffffb340) at kernel/qapplication.cpp:3799 #57 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x718d110, e=0x7fffffffb340) at kernel/qapplication.cpp:3762 #58 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x718d110, event=0x7fffffffb340) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #59 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x718d110, event=0x7fffffffb340) at kernel/qcoreapplication.cpp:988 #60 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x718d110, event=0x7fffffffb340) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #61 0x00007ffff65a0dab in QWidget::setWindowState (this=0x718d110, newstate=...) at kernel/qwidget.cpp:3104 #62 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x718d110) at kernel/qwidget.cpp:3187 #63 0x00007ffff674de5a in QMdiSubWindow::eventFilter (this=0x718d110, object=0x732f190, event=0x7fffffffba70) at widgets/qmdisubwindow.cpp:2745 #64 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x732f190, event=0x7fffffffba70) at kernel/qcoreapplication.cpp:1099 #65 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x732f190, e=0x7fffffffba70) at kernel/qapplication.cpp:3795 #66 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x732f190, e=0x7fffffffba70) at kernel/qapplication.cpp:3762 #67 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x732f190, event=0x7fffffffba70) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #68 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x732f190, event=0x7fffffffba70) at kernel/qcoreapplication.cpp:988 #69 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x732f190, event=0x7fffffffba70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #70 0x00007ffff65a0dab in QWidget::setWindowState (this=0x732f190, newstate=...) at kernel/qwidget.cpp:3104 #71 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x732f190) at kernel/qwidget.cpp:3187 #72 0x00007ffff7911b75 in KisMainWindow::showView (this=0x5fbef40, imageView=0x732f190) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:618 #73 0x00007ffff790f8e2 in KisMainWindow::addView (this=this@entry=0x5fbef40, view=0x732f190) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:569 #74 0x00007ffff790f9cf in KisMainWindow::addViewAndNotifyLoadingCompleted (this=this@entry=0x5fbef40, document=document@entry=0x611e4b0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:832 #75 0x00007ffff790fa1b in KisMainWindow::slotLoadCompleted (this=0x5fbef40) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:852 #76 0x00007ffff791ed49 in KisMainWindow::qt_static_metacall (_o=0x5fbef40, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffbe10) at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisMainWindow.cpp:335 #77 0x00007ffff593a47e in QMetaObject::activate (sender=0x611e4b0, signalOffset=3, local_signal_index=10, argv=0x0) at kernel/qobject.cpp:3740 #78 0x00007ffff5939c4e in QMetaObject::activate (sender=0x611e4b0, m=0x7ffff7d9c200 <KisDocument::staticMetaObject>, local_signal_index=10, ---Type <return> to continue, or q <return> to quit--- argv=0x0) at kernel/qobject.cpp:3602 #79 0x00007ffff79991a3 in KisDocument::completed (this=<optimized out>) at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisDocument.cpp:422 #80 0x00007ffff78f3dc9 in KisDocument::Private::openLocalFile (this=0x75eb790) at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:389 #81 KisDocument::openUrlInternal (this=this@entry=0x611e4b0, url=...) at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:2259 #82 0x00007ffff78f415b in KisDocument::openUrl (this=this@entry=0x611e4b0, _url=..., flags=flags@entry=KisDocument::OPEN_URL_FLAG_NONE) at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:1189 #83 0x00007ffff790f6f0 in KisMainWindow::openDocumentInternal (this=this@entry=0x5fbef40, url=..., newdoc=0x611e4b0, newdoc@entry=0x0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:814 #84 0x00007ffff7916bf5 in KisMainWindow::openDocument (this=this@entry=0x5fbef40, url=...) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:796 #85 0x00007ffff79170e8 in KisMainWindow::slotFileOpen (this=0x5fbef40) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:1440 #86 0x00007ffff791ec6b in KisMainWindow::qt_static_metacall (_o=0x5fbef40, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffc3d0) at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisMainWindow.cpp:316 #87 0x00007ffff593a47e in QMetaObject::activate (sender=0x699a0c0, signalOffset=3, local_signal_index=1, argv=0x7fffffffc3d0) at kernel/qobject.cpp:3740 #88 0x00007ffff5939c4e in QMetaObject::activate (sender=0x699a0c0, m=0x7ffff6c2f940 <QAction::staticMetaObject>, local_signal_index=1, argv=0x7fffffffc3d0) at kernel/qobject.cpp:3602 #89 0x00007ffff6547f49 in QAction::triggered (this=0x699a0c0, _t1=false) at .moc/moc_qaction.cpp:372 #90 0x00007ffff6547001 in QAction::activate (this=0x699a0c0, event=QAction::Trigger) at kernel/qaction.cpp:1170 #91 0x00007ffff67595b3 in QMenuPrivate::activateCausedStack (this=0x6acd870, causedStack=..., action=0x699a0c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1136 #92 0x00007ffff67599d6 in QMenuPrivate::activateAction (this=0x6acd870, action=0x699a0c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1213 #93 0x00007ffff675e50d in QMenu::mouseReleaseEvent (this=0x6acd6c0, e=0x7fffffffcf20) at widgets/qmenu.cpp:2682 #94 0x00007ffff65b06a7 in QWidget::event (this=0x6acd6c0, event=0x7fffffffcf20) at kernel/qwidget.cpp:8778 #95 0x00007ffff675ede4 in QMenu::event (this=0x6acd6c0, e=0x7fffffffcf20) at widgets/qmenu.cpp:2796 #96 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x6acd6c0, e=0x7fffffffcf20) at kernel/qapplication.cpp:3799 #97 0x00007ffff6557f0d in QApplication::notify (this=0x7fffffffdcd0, receiver=0x6acd6c0, e=0x7fffffffcf20) at kernel/qapplication.cpp:3273 #98 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x6acd6c0, event=0x7fffffffcf20) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #99 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x6acd6c0, event=0x7fffffffcf20) at kernel/qcoreapplication.cpp:988 #100 0x00007ffff655d344 in QCoreApplication::sendSpontaneousEvent (receiver=0x6acd6c0, event=0x7fffffffcf20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #101 0x00007ffff65567fb in QApplicationPrivate::sendMouseEvent (receiver=0x6acd6c0, event=0x7fffffffcf20, alienWidget=0x0, nativeWidget=0x6acd6c0, buttonDown=0x7ffff6c5ece0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2769 #102 0x00007ffff65df8cf in QWidgetWindow::handleMouseEvent (this=0x66b57c0, event=0x7fffffffd5f0) at kernel/qwidgetwindow.cpp:507 #103 0x00007ffff65dec7a in QWidgetWindow::event (this=0x66b57c0, event=0x7fffffffd5f0) at kernel/qwidgetwindow.cpp:239 #104 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x66b57c0, e=0x7fffffffd5f0) at kernel/qapplication.cpp:3799 #105 0x00007ffff65576b8 in QApplication::notify (this=0x7fffffffdcd0, receiver=0x66b57c0, e=0x7fffffffd5f0) at kernel/qapplication.cpp:3159 #106 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x66b57c0, event=0x7fffffffd5f0) at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510 #107 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x66b57c0, event=0x7fffffffd5f0) at kernel/qcoreapplication.cpp:988 #108 0x00007ffff5db1e48 in QCoreApplication::sendSpontaneousEvent (receiver=0x66b57c0, event=0x7fffffffd5f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #109 0x00007ffff5daa32b in QGuiApplicationPrivate::processMouseEvent (e=0x6c57000) at kernel/qguiapplication.cpp:1909 #110 0x00007ffff5da9741 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x6c57000) at kernel/qguiapplication.cpp:1693 #111 0x00007ffff5d8a8e3 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:654 #112 0x00007fffe9453c27 in QUnixEventDispatcherQPA::processEvents (this=0xbc5bb0, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:69 #113 0x00007ffff58f122e in QEventLoop::processEvents (this=0x7fffffffd8d0, flags=...) at kernel/qeventloop.cpp:134 #114 0x00007ffff58f1565 in QEventLoop::exec (this=0x7fffffffd8d0, flags=...) at kernel/qeventloop.cpp:210 #115 0x00007ffff58f537b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261 #116 0x00007ffff5da9562 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639 #117 0x00007ffff655705f in QApplication::exec () at kernel/qapplication.cpp:2975 #118 0x0000000000404d26 in main (argc=1, argv=<optimized out>) at /home/nim/Programs/QtKrita/krita/krita/main.cc:234 -- You are receiving this mail because: You are watching all bug changes.