Page MenuHome

Spooky EXCEPTION_ACCESS_VIOLATION crash when executing python
Closed, InvalidPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.15

Blender Version
Broken: version: 2.81 (sub 8), branch: master, commit date: 2019-09-05 17:48, hash: rB08991c01f01c

Short description of error
While writing an addon I came across a "spooky" illegal access exception. I was unable to isolate any specific line(s) of python code but it looks like this is more related to the order of the execution or where it is called from.
The crash does not seem to be bound to any single peace of code and sadly, that is why I can not write 1 file python script to cause the crash. (but was only able to clean up all unnecessary py files unrelated to the crash)

The crash is caused when automatic execution of the custom node tree is turned on and a property is changed. (automatic execution = on any property update callback, execute_bone_tree operator is called)

Demonstration:

The crash seems to be caused on any and all property changes but sometimes the crash does not happen until the code was called multiple times (easily produced by dragging color value or sliding a number)

If needed, please ask anything about the script files, I would give some pointers if I knew where the problem likely resides but I was unable to narrow it down.

Exact steps for others to reproduce the error

  • Add downloaded files as addon
  • open testing-1.blend file

  • Turn on "Auto execute" in shown node tree in tool panel
  • Change any visible value such as a number, boolean, string or color

Details

Type
Bug

Event Timeline

Dalai Felinto (dfelinto) claimed this task.

Thanks for the report. Unfortunately the scenario you describe is too complex for us to track down without spending an amount of time we cannot afford at the moment.

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug