Blender crashes when clicking on Focus Generated from the Generate CloudRig menu #165

Closed
opened 2024-08-25 17:42:04 +02:00 by Marc-Hamamji · 1 comment

System Information
Operating system: Manjaro Linux - Linux 6.9.12-3-MANJARO

Blender Version: 4.2.0
CloudRig Version: 2.1.10

Short description of error
When generating a rig from any meta-rig, clicking on the Focus Generated button to turn it off crashes blender.

Here's the part of the log that shows the error:

Warning: Generation of RIG-pipo successful with 2 warnings.
Traceback (most recent call last):
  File "/home/marc/.config/blender/4.2/extensions/blender_org/cloudrig/generation/cloud_generator.py", line 1004, in execute
    elif self.focus_generated:
         ^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/blender/4.2/scripts/modules/bpy_types.py", line 935, in __getattribute__
    properties = StructRNA.path_resolve(self, "properties")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ReferenceError: StructRNA of type CLOUDRIG_OT_generate has been removed
Writing: /tmp/pipo.crash.txt
zsh: segmentation fault (core dumped)  blender
**System Information** Operating system: Manjaro Linux - Linux 6.9.12-3-MANJARO Blender Version: 4.2.0 CloudRig Version: 2.1.10 **Short description of error** When generating a rig from any meta-rig, clicking on the `Focus Generated` button to turn it off crashes blender. Here's the part of the log that shows the error: ``` Warning: Generation of RIG-pipo successful with 2 warnings. Traceback (most recent call last): File "/home/marc/.config/blender/4.2/extensions/blender_org/cloudrig/generation/cloud_generator.py", line 1004, in execute elif self.focus_generated: ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/blender/4.2/scripts/modules/bpy_types.py", line 935, in __getattribute__ properties = StructRNA.path_resolve(self, "properties") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ReferenceError: StructRNA of type CLOUDRIG_OT_generate has been removed Writing: /tmp/pipo.crash.txt zsh: segmentation fault (core dumped) blender ```

Thanks, should be prevented by b54d04efca. A proper fix may be difficult or impossible, and would probably require cooperation from a core Blender dev. Until then, I disabled the re-do panel for this operator, and you'd just have to Undo and re-execute the operator manually, or change the Ctrl+Alt+R hotkey entry if that's what you're using.

Thanks, should be prevented by https://projects.blender.org/Mets/CloudRig/commit/b54d04efca139e2958fcb7fa894e01858dd32cb2. A proper fix may be difficult or impossible, and would probably require cooperation from a core Blender dev. Until then, I disabled the re-do panel for this operator, and you'd just have to Undo and re-execute the operator manually, or change the Ctrl+Alt+R hotkey entry if that's what you're using.
Sign in to join this conversation.
No description provided.