Page MenuHome

Blender 2.8 and 2.81 (ab519b91b2c4) has high chance of crashing when using Python to create a new node-tree link.
Open, Confirmed, MediumPublic


System Information
Operating system: Windows 10 (x64) v1903 Build 18362.356
Graphics card: Nvidia GeForce GTX 1060 6GB
CPU: Intel Core i5 7600K

Blender Version
Broken: 2.81-ab519b91b2c4 AND 2.80 release

Short description of error
Creating a new node-tree link via Python sometimes causes Blender to crash with the error "EXCEPTION_ACCESS_VIOLATION".
I have attached a .blend file that will cause the crash, just by clicking "Run Script" once or twice.
When I found the bug, I spent some time making the script as small as possible while still causing the crash, so the script is less than 30 lines.

I also installed Blender 2.81-ab519b91b2c4 on a Windows 10 laptop that had never seen Blender before, and the bug was present on there too, so I'm confident the issue isn't specifically due to my hardware.
I've also included blender_debug_output.txt and blender_system_info.txt, generated by the blender_debug_log.cmd file included in the Blender 2.81 download.

Exact steps for others to reproduce the error

  1. Open the attached .blend file.
  2. Click "Run Script" in the bottom right of the text editor pane.
  3. Repeat 2 until crash (should only take 1 or 2 tries)



Event Timeline

Germano Cavalcante (mano-wii) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

It doesn't look like a regression, in blender 2.79 the file crashed too.