This was a sculpt mode merge problem: the G_DRAWSHARP and G_SCULPTMODE flags had the same value, so Blender thought it was in sculpt mode when "Draw Sharp" was turned on, leading to segfaults. I have moved the G_SCULPTMODE flag to an unused value.
This was a sculpt mode merge problem: the G_DRAWSHARP and G_SCULPTMODE flags had the same value, so Blender thought it was in sculpt mode when "Draw Sharp" was turned on, leading to segfaults. I have moved the G_SCULPTMODE flag to an unused value.