Page MenuHome

Crash when trying to assign Automatic Weights to this particular mesh
Confirmed, NormalPublicBUG

Description

System Information
Operating system: Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-02 17:10, hash: rBf5e55c33378b

Short description of error
When trying to parent this mesh to the armature with Automatic Weights, Blender crashes.
Interestingly though, if you simply enter and leave edit mode beforehand, it doesn't crash!
I think the mesh was created with the Quadriflow remesher, maybe that's relevant?

Exact steps for others to reproduce the error

  • Download blend:
  • Ctrl+P -> Automatic Weights
  • Crash.

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Tue, Sep 8, 5:41 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm the crash:

>	blender.exe!blender::deg::ComponentNode::clear_operations() Line 227	C++
 	blender.exe!blender::deg::ComponentNode::~ComponentNode() Line 101	C++
 	[External Code]	
 	blender.exe!blender::deg::IDNode::destroy() Line 136	C++
 	blender.exe!blender::deg::IDNode::~IDNode() Line 127	C++
 	[External Code]	
 	blender.exe!blender::deg::Depsgraph::clear_id_nodes() Line 164	C++
 	blender.exe!blender::deg::Depsgraph::clear_all_nodes() Line 236	C++
 	blender.exe!blender::deg::DepsgraphNodeBuilder::begin_build() Line 356	C++
 	blender.exe!blender::deg::AbstractBuilderPipeline::build_step_nodes() Line 78	C++
 	blender.exe!blender::deg::AbstractBuilderPipeline::build() Line 58	C++
 	blender.exe!DEG_graph_build_from_view_layer(Depsgraph * graph) Line 217	C++
 	blender.exe!DEG_graph_relations_update(Depsgraph * graph) Line 270	C++
 	blender.exe!scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain, bool only_if_tagged) Line 1504	C
 	blender.exe!BKE_scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain) Line 1547	C
 	blender.exe!wm_event_do_depsgraph(bContext * C, bool is_after_open_file) Line 361	C
 	blender.exe!wm_event_do_refresh_wm_and_depsgraph(bContext * C) Line 388	C
 	blender.exe!wm_event_do_notifiers(bContext * C) Line 569	C
 	blender.exe!WM_main(bContext * C) Line 488	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 531	C
 	[External Code]

Strange that the mesh looks valid at first.
This may be related to the recent reports on corrupted mesh because in T80468 it was mentioned about connecting the armature to the mesh.
So I am confirming as a bug.

I can't reproduce it. I also find weird that that commit is the cause because that does not include any functionality that can be used from the UI to create a color datalayer in order to make it crash, it is just the datalayer definition.