Page MenuHome

Crash after deleting driver with script
Open, Needs Information from UserPublic

Description

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 https://github.com/amirpavlo/manuelbastionilab 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

Details

Type
Bug

Event Timeline

Brecht Van Lommel (brecht) triaged this task as Needs Information from User priority.Jan 15 2019, 6:52 PM

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:
https://www.youtube.com/watch?v=5LWtYGLLlb4

Make sure to download the manuelbastionilab from the right link: https://github.com/amirpavlo/manuelbastionilab

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

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