Page MenuHome

crash in sculpt mode switching from two meshes after reload saved file
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-5.3.4-1-default-x86_64-with-glibc2.17 64 Bits
Graphics card: GeForce GTX 690/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-12 15:33, hash: rB95f020c853d6
Worked: i cannot reproduce this in Blender 2.80 stable release

Short description of error
after sculpt two object, loading saved file make Blender crash trying to sculp second mesh

Exact steps for others to reproduce the error
1 Open Blender 2.81 95f020c853d6-linux
2 File > Defaults > Load Default Settings
3 select default cube and Ctrl 4 to subdivide it and then apply subdivision modifier
4 duplicate and move it Shif D and drag
4 uncheck Edit > Lock Object Mode
5 enter sculpt mode and draw on duplicated cube
6 select other subdivided cube with Alt LMB
7 enter in sculpt mode and sculpt draw something
8 select duplicated cube and continue to sculpt
9 save file
10 reload factory setting File > Defaults > Load Default Settings or restart Blender
11 open previous saved file
12 continue to sculpt latest sculpted cube (duplicate one)
13 select other cube Alt LMB
14 try to sculpt it - i have a instant crash

i try to find older working Blender 2.81, all linux Blender from 15th September to 13th October dailybuild release still crashing


just open .blend, select left object Alt LMB and try to sculpt it

Event Timeline

I have also same crash in windows.

Jacques Lucke (JacquesLucke) lowered the priority of this task from Needs Triage by Developer to Confirmed, High.
BKE_pbvh_type(const PBVH * bvh) (/home/jacques/blender-git/blender/source/blender/blenkernel/intern/pbvh.c:1452)
sculpt_stroke_is_dynamic_topology(const SculptSession * ss, const Brush * brush) (/home/jacques/blender-git/blender/source/blender/editors/sculpt_paint/sculpt.c:855)
sculpt_automasking_enabled(SculptSession * ss, const Brush * br) (/home/jacques/blender-git/blender/source/blender/editors/sculpt_paint/sculpt.c:1221)
sculpt_needs_conectivity_info(const Brush * brush, SculptSession * ss, int stroke_mode) (/home/jacques/blender-git/blender/source/blender/editors/sculpt_paint/sculpt.c:6374)
sculpt_brush_stroke_init(bContext * C, wmOperator * op) (/home/jacques/blender-git/blender/source/blender/editors/sculpt_paint/sculpt.c:6741)
sculpt_brush_stroke_invoke(bContext * C, wmOperator * op, const wmEvent * event) (/home/jacques/blender-git/blender/source/blender/editors/sculpt_paint/sculpt.c:7063)
wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const _Bool poll_only, _Bool use_last_properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:1441)
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2281)
wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const _Bool do_debug_handler) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2598)
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2735)
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2997)
wm_event_do_handlers(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:3450)
WM_main(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm.c:417)
main(int argc, const char ** argv) (/home/jacques/blender-git/blender/source/creator/creator.c:491)