Spooky EXCEPTION_ACCESS_VIOLATION crash when executing python #69566

Closed
opened 2019-09-06 03:37:09 +02:00 by LapisSea · 4 comments

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: 08991c01f0

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:
2019-09-06_02-12-03.mp4

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

**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: `08991c01f0` **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: [2019-09-06_02-12-03.mp4](https://archive.blender.org/developer/F7719126/2019-09-06_02-12-03.mp4) 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** - Download script files (also aviable on https://github.com/LapisSea/rigpp/tree/spooky-auto-execute-crash ) [Rigpp.zip](https://archive.blender.org/developer/F7719179/Rigpp.zip) - Add downloaded files as addon - open testing-1.blend file [testing-1.blend](https://archive.blender.org/developer/F7719149/testing-1.blend) - Turn on "Auto execute" in shown node tree in tool panel - Change any visible value such as a number, boolean, string or color
Author

Added subscriber: @LapisSea

Added subscriber: @LapisSea

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Dalai Felinto self-assigned this 2019-09-12 16:39:15 +02:00

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

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
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#69566
No description provided.