Page MenuHome

Crash after deleting driver with script
Closed, ResolvedPublic


System Information
Operating system: Ubuntu 18.04
Graphics card: 2x GTX1060

Blender Version
Broken: 2.80

Short description of error
After running a script to delete drivers from shape keys, any attempt to access the shape keys crashes blender

Exact steps for others to reproduce the error

  1. Install by cloning and placing the directory in blender add-ons directory. Then enable the add-on
  2. Open the attached file
  3. Select the human mesh
  4. Click on the ManuelBastioniLab Tab in the N-Panel and click the "Delete Face Rig" button
  5. Try to manipulate the face rig in pose-mode or try to access the shape-keys of the human mesh.
  6. Blender crashes

---Initial debugging shows crash in:

#0 0x0000555557e393c0 in BKE_animsys_eval_driver (depsgraph=0x7fffe6096808, id=0x7fffbcf66708, driver_index=65, driver_orig=0x7fffb2220588)

at /home/ashehata/Software/blender_git/blender/source/blender/blenkernel/intern/anim_sys.c:3482

(gdb) p fcu
$1 = (FCurve *) 0x0



Event Timeline

Brecht Van Lommel (brecht) triaged this task as Needs Information from User priority.

I don't see a "Delete Face Rig" button, only "Create Face Rig".

I guess that was a typo, but then I don't get the crash after and the bug description talks about deleting drivers?

Hi Brecht,

I created a video to show you how I reproduce:

Make sure to download the manuelbastionilab from the right link:

Also if you want to look a the code which deletes the drivers you can take a look at "" in the addon.

I also found out that if you delete the rig itself after deleting the drivers the crash doesn't happen.

Yes it is.

If you "git clone"

then "git checkout -b tmp 7ce26bf42ad4c4179ff1513f48e0e9882ba4e00f"
to get to: "7ce26bf42ad4c4179ff1513f48e0e9882ba4e00f manuelbastionilab: Delete face rig"

Put the cloned directory in the blender add-on directory

Start blender.
click create Character
click finalize tools
uncheck "Save images...
click finalize
Click "Create face Rig"
Move a couple of the bones
Click "Delete face Rig"
Try moving any of the bones
Blender crashes.

Jacques Lucke (JacquesLucke) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Mar 18 2019, 8:48 AM
Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.

I'm getting script errors when I try to delete the face rig, but no crashes on my end.
Do you still get crashes?

I tired the above steps with the latest blender and it appears like the issue has been resolved. Thanks for all the great work on Blender

Sebastian Parborg (zeddb) closed this task as Resolved.Jun 9 2019, 9:48 PM
Sebastian Parborg (zeddb) claimed this task.