The crash happens because the filter configuration dialog resets the filter configuration every time when a value in a form changes. At the same time updating threads can access this configuration.
*** Bug 308937 has been marked as a duplicate of this bug. ***
Git commit 629e86ed064b96b514e1d0d1a95cf30a001fc09d by Dmitry Kazakov. Committed on 01/11/2012 at 18:39. Pushed by dkazakov into branch 'master'. Fixed a bug in storing the filter configuration in filter-based layers The storage of the filter configuration in now implemented in KisNodeFilterInterface and is done by means of external shared pointers (QSharedPointer). This makes the use of this configuration thread safe. This patch also fixes various memory leaks in KisLayerManager and KisMaskManager. M +1 -0 krita/image/CMakeLists.txt M +51 -19 krita/image/commands/kis_change_filter_command.h D +0 -66 krita/image/commands/kis_change_generator_command.h M +0 -1 krita/image/commands/kis_node_commands.h M +15 -30 krita/image/generator/kis_generator_layer.cpp M +2 -18 krita/image/generator/kis_generator_layer.h M +23 -37 krita/image/kis_adjustment_layer.cc M +1 -13 krita/image/kis_adjustment_layer.h M +2 -2 krita/image/kis_async_merger.cpp M +22 -42 krita/image/kis_filter_mask.cpp M +1 -7 krita/image/kis_filter_mask.h A +54 -0 krita/image/kis_node_filter_interface.cpp [License: GPL (v2+)] M +26 -6 krita/image/kis_node_filter_interface.h M +5 -2 krita/image/kis_selection_based_layer.cpp M +2 -1 krita/image/kis_selection_based_layer.h M +44 -33 krita/ui/kis_layer_manager.cc M +34 -25 krita/ui/kis_mask_manager.cc M +3 -3 krita/ui/kra/kis_kra_load_visitor.cpp M +8 -7 krita/ui/kra/kis_kra_save_visitor.cpp M +2 -2 krita/ui/kra/kis_kra_savexml_visitor.cpp http://commits.kde.org/calligra/629e86ed064b96b514e1d0d1a95cf30a001fc09d
Git commit 5620b92e2a7380210fa7dae85ad16cfdc7499aea by Dmitry Kazakov. Committed on 01/11/2012 at 18:39. Pushed by dkazakov into branch 'calligra/2.6'. Fixed a bug in storing the filter configuration in filter-based layers The storage of the filter configuration in now implemented in KisNodeFilterInterface and is done by means of external shared pointers (QSharedPointer). This makes the use of this configuration thread safe. This patch also fixes various memory leaks in KisLayerManager and KisMaskManager. M +1 -0 krita/image/CMakeLists.txt M +51 -19 krita/image/commands/kis_change_filter_command.h D +0 -66 krita/image/commands/kis_change_generator_command.h M +0 -1 krita/image/commands/kis_node_commands.h M +15 -30 krita/image/generator/kis_generator_layer.cpp M +2 -18 krita/image/generator/kis_generator_layer.h M +23 -37 krita/image/kis_adjustment_layer.cc M +1 -13 krita/image/kis_adjustment_layer.h M +2 -2 krita/image/kis_async_merger.cpp M +22 -42 krita/image/kis_filter_mask.cpp M +1 -7 krita/image/kis_filter_mask.h A +54 -0 krita/image/kis_node_filter_interface.cpp [License: GPL (v2+)] M +26 -6 krita/image/kis_node_filter_interface.h M +5 -2 krita/image/kis_selection_based_layer.cpp M +2 -1 krita/image/kis_selection_based_layer.h M +44 -33 krita/ui/kis_layer_manager.cc M +34 -25 krita/ui/kis_mask_manager.cc M +3 -3 krita/ui/kra/kis_kra_load_visitor.cpp M +8 -7 krita/ui/kra/kis_kra_save_visitor.cpp M +2 -2 krita/ui/kra/kis_kra_savexml_visitor.cpp http://commits.kde.org/calligra/5620b92e2a7380210fa7dae85ad16cfdc7499aea