Maniphest T76512

Sculpt mode: crash when applying base
Closed, ResolvedBUG

Assigned To
Sergey Sharybin (sergey)
Authored By
Erick Tukuniata (erickblender)
May 7 2020, 6:01 PM
Tags
  • BF Blender
  • Sculpt, Paint & Texture
  • Modifiers
Subscribers
Ankit Meel (ankitm)
Erick Tukuniata (erickblender)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 550 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 376.54

Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-05-07 13:14, hash: rB7181342e6285
Worked: (newest version of Blender that worked as expected)

Short description of error
crash when applying base

Exact steps for others to reproduce the error

With default settings:

  • Go to sculpt mode
  • Add Multires on the Cube
  • Subdivide it 3 times
  • Click on rebuild subdivision, then
  • Click on apply base, it should here.

Revisions and Commits

rB Blender
D7663

Event Timeline

Erick Tukuniata (erickblender) created this task.May 7 2020, 6:01 PM
Eitan Traurig (EitanSomething) added a project: Sculpt, Paint & Texture.May 7 2020, 7:16 PM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).May 7 2020, 7:30 PM

Cannot reproduce here.

Subdivide it 3 times

You mean in editmode? Or via the Multires modifier? (doing it via the Multires modifier wouldnt make sense? rebuilding subdivisions on the default cube [with modifier] gives me "Not valid subdivisions found to rebuild lower levels")
If I do it in editmode [or apply the multires subdivisions, add another Multires modifier], then rebuild subdivision, then apply base, I dont get a crash.

Erick Tukuniata (erickblender) added a comment.May 7 2020, 7:54 PM
In T76512#926269, @Philipp Oeser (lichtwerk) wrote:

Cannot reproduce here.

I assume that you cannot reproduce after you have done your second scenario ( Subdivide in edit mode ) I am correct? If yes did you try it with multires. subdivision?

You mean in editmode? Or via the Multires modifier?

In sculpt mode with multires subdivision.
For the reasoning behind the crash. The step defined above are not logical at all because i have discovered it by mistake. While working i clicked, by mistake, rebuild subdivision when i was planning to click apply base and then just after it click the Apply Base then the crash.

Erick Tukuniata (erickblender) updated the task description.May 7 2020, 7:57 PM
Ankit Meel (ankitm) added a subscriber: Ankit Meel (ankitm).May 7 2020, 8:03 PM
Ankit Meel (ankitm) added a comment.May 7 2020, 8:05 PM

Just checked your reply (hadn't refreshed)
Yes I get a crash, despite

"Not valid subdivisions found to rebuild lower levels")

at step "rebuild subdivisions"

Ankit Meel (ankitm) changed the task status from Needs Triage to Confirmed.May 7 2020, 8:10 PM
Ankit Meel (ankitm) added a project: Modifiers.
#0	 in pbvh_iter_begin at 		blender/source/blender/blenkernel/intern/pbvh.c:735
#1	 in BKE_pbvh_search_gather at 		blender/source/blender/blenkernel/intern/pbvh.c:846
#2	 in sculpt_undo_push_all_grids at 		blender/source/blender/editors/sculpt_paint/sculpt_undo.c:1571
#3	 in ED_sculpt_undo_push_multires_mesh_begin at 		blender/source/blender/editors/sculpt_paint/sculpt_undo.c:1593
#4	 in multires_base_apply_exec at 		blender/source/blender/editors/object/object_modifier.c:1729
#5	 in multires_base_apply_invoke at 		blender/source/blender/editors/object/object_modifier.c:1744
#6	 in wm_operator_invoke at 		blender/source/blender/windowmanager/intern/wm_event_system.c:1271
#7	 in wm_operator_call_internal at 		blender/source/blender/windowmanager/intern/wm_event_system.c:1519
#8	 in WM_operator_name_call_ptr at 		blender/source/blender/windowmanager/intern/wm_event_system.c:1533
#9	 in ui_apply_but_funcs_after at 		blender/source/blender/editors/interface/interface_handlers.c:887
#10	 in ui_handler_region_menu at 		blender/source/blender/editors/interface/interface_handlers.c:10692
#11	 in wm_handler_ui_call at 		blender/source/blender/windowmanager/intern/wm_event_system.c:617
#12	 in wm_handlers_do_intern at 		blender/source/blender/windowmanager/intern/wm_event_system.c:2725
#13	 in wm_handlers_do at 		blender/source/blender/windowmanager/intern/wm_event_system.c:2836
#14	 in wm_event_do_handlers at 		blender/source/blender/windowmanager/intern/wm_event_system.c:3231
#15	 in WM_main at 		blender/source/blender/windowmanager/intern/wm.c:450
#16	 in main at 		blender/source/creator/creator.c:528
Philipp Oeser (lichtwerk) added a comment.May 7 2020, 8:12 PM

ok, get it now, too [was not in sculptmode...]

Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".May 7 2020, 8:12 PM
Sergey Sharybin (sergey) claimed this task.May 8 2020, 3:29 PM
Sergey Sharybin (sergey) added a revision: D7663: Fix T76512: Sculpt mode: crash when applying base.
Sergey Sharybin (sergey) closed this task as Resolved by committing rB86a16e7381ae: Fix T76512: Sculpt mode: crash when applying base.May 11 2020, 3:32 PM
Sergey Sharybin (sergey) added a commit: rB86a16e7381ae: Fix T76512: Sculpt mode: crash when applying base.