• Dmitry Kazakov's avatar
    Fix crash when creating a bezier curve · 1e5db24a
    Dmitry Kazakov authored
    The patch basically makes KoShapeManager thread safe by adding
    a simple mutex. The problem is that both,
    KoCreatePathTool::Private::endPointAtPosition() and
    KisRepaintShapeLayerLayerJob access the shape manager in different
    threads concurrently, which obviously causes a crash.
    
    BUG:410572
    BACKPORT:krita/4.2
    1e5db24a
Name
Last commit
Last update
..
commands Loading commit data...
html Loading commit data...
pics Loading commit data...
resources Loading commit data...
styles Loading commit data...
svg Loading commit data...
tests Loading commit data...
text Loading commit data...
tools Loading commit data...
CMakeLists.txt Loading commit data...
FlakeDebug.cpp Loading commit data...
FlakeDebug.h Loading commit data...
KisGamutMaskViewConverter.cpp Loading commit data...
KisGamutMaskViewConverter.h Loading commit data...
KoBakedShapeRenderer.h Loading commit data...
KoCanvasBase.cpp Loading commit data...
KoCanvasBase.h Loading commit data...
KoCanvasController.cpp Loading commit data...
KoCanvasController.h Loading commit data...
KoCanvasControllerWidget.cpp Loading commit data...
KoCanvasControllerWidget.h Loading commit data...
KoCanvasControllerWidgetViewport_p.cpp Loading commit data...
KoCanvasControllerWidgetViewport_p.h Loading commit data...
KoCanvasControllerWidget_p.h Loading commit data...
KoCanvasObserverBase.cpp Loading commit data...
KoCanvasObserverBase.h Loading commit data...
KoCanvasResourceProvider.cpp Loading commit data...
KoCanvasResourceProvider.h Loading commit data...
KoCanvasSupervisor.cpp Loading commit data...
KoCanvasSupervisor.h Loading commit data...
KoClipMask.cpp Loading commit data...
KoClipMask.h Loading commit data...
KoClipMaskPainter.cpp Loading commit data...
KoClipMaskPainter.h Loading commit data...
KoClipPath.cpp Loading commit data...
KoClipPath.h Loading commit data...
KoColorBackground.cpp Loading commit data...
KoColorBackground.h Loading commit data...
KoConnectionPoint.cpp Loading commit data...
KoConnectionPoint.h Loading commit data...
KoConnectionShape.cpp Loading commit data...
KoConnectionShape.h Loading commit data...
KoConnectionShapeConfigWidget.cpp Loading commit data...
KoConnectionShapeConfigWidget.h Loading commit data...
KoConnectionShapeConfigWidget.ui Loading commit data...
KoConnectionShapeFactory.cpp Loading commit data...
KoConnectionShapeFactory.h Loading commit data...
KoConnectionShapeLoadingUpdater.cpp Loading commit data...
KoConnectionShapeLoadingUpdater.h Loading commit data...
KoConnectionShape_p.h Loading commit data...
KoCurveFit.cpp Loading commit data...
KoCurveFit.h Loading commit data...
KoDataCenterBase.cpp Loading commit data...
KoDataCenterBase.h Loading commit data...
KoDeferredShapeFactoryBase.cpp Loading commit data...
KoDeferredShapeFactoryBase.h Loading commit data...
KoDerivedResourceConverter.cpp Loading commit data...
KoDerivedResourceConverter.h Loading commit data...
KoDockFactoryBase.cpp Loading commit data...
KoDockFactoryBase.h Loading commit data...
KoDockRegistry.cpp Loading commit data...
KoDockRegistry.h Loading commit data...
KoDocumentResourceManager.cpp Loading commit data...
KoDocumentResourceManager.h Loading commit data...
KoDrag.cpp Loading commit data...
KoDrag.h Loading commit data...
KoDragOdfSaveHelper.cpp Loading commit data...
KoDragOdfSaveHelper.h Loading commit data...
KoDragOdfSaveHelper_p.h Loading commit data...
KoFilterEffect.cpp Loading commit data...
KoFilterEffect.h Loading commit data...
KoFilterEffectConfigWidgetBase.cpp Loading commit data...
KoFilterEffectConfigWidgetBase.h Loading commit data...
KoFilterEffectFactoryBase.cpp Loading commit data...
KoFilterEffectFactoryBase.h Loading commit data...
KoFilterEffectLoadingContext.cpp Loading commit data...
KoFilterEffectLoadingContext.h Loading commit data...
KoFilterEffectRegistry.cpp Loading commit data...
KoFilterEffectRegistry.h Loading commit data...
KoFilterEffectRenderContext.cpp Loading commit data...
KoFilterEffectRenderContext.h Loading commit data...
KoFilterEffectStack.cpp Loading commit data...
KoFilterEffectStack.h Loading commit data...
KoFlake.cpp Loading commit data...
KoFlake.h Loading commit data...
KoFlakeCoordinateSystem.h Loading commit data...
KoFlakeTypes.h Loading commit data...
KoFlakeUtils.h Loading commit data...
KoFrameShape.cpp Loading commit data...
KoFrameShape.h Loading commit data...
KoGradientBackground.cpp Loading commit data...
KoGradientBackground.h Loading commit data...
KoGradientHelper.cpp Loading commit data...
KoGradientHelper.h Loading commit data...
KoHatchBackground.cpp Loading commit data...
KoHatchBackground.h Loading commit data...
KoImageCollection.cpp Loading commit data...
KoImageCollection.h Loading commit data...
KoImageData.cpp Loading commit data...
KoImageData.h Loading commit data...
KoImageData_p.cpp Loading commit data...
KoImageData_p.h Loading commit data...
KoInputDevice.cpp Loading commit data...
KoInputDevice.h Loading commit data...
KoInputDeviceHandler.cpp Loading commit data...
KoInputDeviceHandler.h Loading commit data...
KoInputDeviceHandlerEvent.cpp Loading commit data...
KoInputDeviceHandlerEvent.h Loading commit data...
KoInputDeviceHandlerRegistry.cpp Loading commit data...
KoInputDeviceHandlerRegistry.h Loading commit data...
KoInsets.cpp Loading commit data...
KoInsets.h Loading commit data...
KoLoadingShapeUpdater.cpp Loading commit data...
KoLoadingShapeUpdater.h Loading commit data...
KoMarker.cpp Loading commit data...
KoMarker.h Loading commit data...
KoMarkerCollection.cpp Loading commit data...
KoMarkerCollection.h Loading commit data...
KoOdfGradientBackground.cpp Loading commit data...
KoOdfGradientBackground.h Loading commit data...
KoOdfWorkaround.cpp Loading commit data...
KoOdfWorkaround.h Loading commit data...
KoParameterShape.cpp Loading commit data...
KoParameterShape.h Loading commit data...
KoParameterShape_p.h Loading commit data...
KoPathPoint.cpp Loading commit data...
KoPathPoint.h Loading commit data...
KoPathPointData.h Loading commit data...
KoPathSegment.cpp Loading commit data...
KoPathSegment.h Loading commit data...
KoPathShape.cpp Loading commit data...
KoPathShape.h Loading commit data...
KoPathShapeFactory.cpp Loading commit data...
KoPathShapeFactory.h Loading commit data...
KoPathShapeLoader.cpp Loading commit data...
KoPathShapeLoader.h Loading commit data...
KoPathShape_p.h Loading commit data...
KoPatternBackground.cpp Loading commit data...
KoPatternBackground.h Loading commit data...
KoPointerEvent.cpp Loading commit data...
KoPointerEvent.h Loading commit data...
KoPostscriptPaintDevice.cpp Loading commit data...
KoPostscriptPaintDevice.h Loading commit data...
KoRTree.h Loading commit data...
KoResourceManager_p.cpp Loading commit data...
KoResourceManager_p.h Loading commit data...
KoResourceUpdateMediator.cpp Loading commit data...
KoResourceUpdateMediator.h Loading commit data...
KoSelectedShapesProxy.cpp Loading commit data...
KoSelectedShapesProxy.h Loading commit data...
KoSelectedShapesProxySimple.cpp Loading commit data...
KoSelectedShapesProxySimple.h Loading commit data...
KoSelection.cpp Loading commit data...
KoSelection.h Loading commit data...
KoSelection_p.h Loading commit data...
KoShape.cpp Loading commit data...
KoShape.h Loading commit data...
KoShapeAnchor.cpp Loading commit data...
KoShapeAnchor.h Loading commit data...
KoShapeApplicationData.cpp Loading commit data...
KoShapeApplicationData.h Loading commit data...
KoShapeBackground.cpp Loading commit data...
KoShapeBackground.h Loading commit data...
KoShapeConfigWidgetBase.cpp Loading commit data...
KoShapeConfigWidgetBase.h Loading commit data...
KoShapeContainer.cpp Loading commit data...
KoShapeContainer.h Loading commit data...
KoShapeContainerModel.cpp Loading commit data...
KoShapeContainerModel.h Loading commit data...
KoShapeContainer_p.h Loading commit data...
KoShapeController.cpp Loading commit data...
KoShapeController.h Loading commit data...
KoShapeControllerBase.cpp Loading commit data...
KoShapeControllerBase.h Loading commit data...
KoShapeFactoryBase.cpp Loading commit data...
KoShapeFactoryBase.h Loading commit data...
KoShapeFillResourceConnector.cpp Loading commit data...
KoShapeFillResourceConnector.h Loading commit data...
KoShapeFillWrapper.cpp Loading commit data...
KoShapeFillWrapper.h Loading commit data...
KoShapeGroup.cpp Loading commit data...
KoShapeGroup.h Loading commit data...
KoShapeLayer.cpp Loading commit data...
KoShapeLayer.h Loading commit data...
KoShapeLoadingContext.cpp Loading commit data...
KoShapeLoadingContext.h Loading commit data...
KoShapeManager.cpp Loading commit data...
KoShapeManager.h Loading commit data...
KoShapeManager_p.h Loading commit data...
KoShapeOdfSaveHelper.cpp Loading commit data...
KoShapeOdfSaveHelper.h Loading commit data...
KoShapePaintingContext.cpp Loading commit data...
KoShapePaintingContext.h Loading commit data...
KoShapeRegistry.cpp Loading commit data...
KoShapeRegistry.h Loading commit data...
KoShapeSavingContext.cpp Loading commit data...
KoShapeSavingContext.h Loading commit data...
KoShapeShadow.cpp Loading commit data...
KoShapeShadow.h Loading commit data...
KoShapeStroke.cpp Loading commit data...
KoShapeStroke.h Loading commit data...
KoShapeStrokeModel.cpp Loading commit data...
KoShapeStrokeModel.h Loading commit data...
KoShapeUserData.cpp Loading commit data...
KoShapeUserData.h Loading commit data...
KoShape_p.h Loading commit data...
KoSharedLoadingData.cpp Loading commit data...
KoSharedLoadingData.h Loading commit data...
KoSharedSavingData.cpp Loading commit data...
KoSharedSavingData.h Loading commit data...
KoSnapData.cpp Loading commit data...
KoSnapData.h Loading commit data...
KoSnapGuide.cpp Loading commit data...
KoSnapGuide.h Loading commit data...
KoSnapProxy.cpp Loading commit data...
KoSnapProxy.h Loading commit data...
KoSnapStrategy.cpp Loading commit data...
KoSnapStrategy.h Loading commit data...
KoSvgPaste.cpp Loading commit data...
KoSvgPaste.h Loading commit data...
KoTextShapeDataBase.cpp Loading commit data...
KoTextShapeDataBase.h Loading commit data...
KoTextShapeDataBase_p.h Loading commit data...
KoToolBase.cpp Loading commit data...
KoToolBase.h Loading commit data...
KoToolBase_p.h Loading commit data...
KoToolFactoryBase.cpp Loading commit data...
KoToolFactoryBase.h Loading commit data...
KoToolManager.cpp Loading commit data...
KoToolManager.h Loading commit data...
KoToolManager_p.cpp Loading commit data...
KoToolManager_p.h Loading commit data...
KoToolProxy.cpp Loading commit data...
KoToolProxy.h Loading commit data...
KoToolProxy_p.h Loading commit data...
KoToolRegistry.cpp Loading commit data...
KoToolRegistry.h Loading commit data...
KoToolSelection.cpp Loading commit data...
KoToolSelection.h Loading commit data...
KoTosContainer.cpp Loading commit data...
KoTosContainer.h Loading commit data...
KoTosContainerModel.cpp Loading commit data...
KoTosContainerModel.h Loading commit data...
KoTosContainer_p.h Loading commit data...
KoVectorPatternBackground.cpp Loading commit data...
KoVectorPatternBackground.h Loading commit data...
KoViewConverter.cpp Loading commit data...
KoViewConverter.h Loading commit data...
Mainpage.dox Loading commit data...
SimpleShapeContainerModel.h Loading commit data...
flake.qrc Loading commit data...