Drivers Editor: Crash when Selecting Object with Existing Drivers #103446

Closed
opened 2022-12-24 00:35:47 +01:00 by Jannai · 5 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.37

Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2022-12-23 00:56, hash: f803a0a95b
Worked: 3.5.0 Alpha, branch: master, commit date: 2022-12-21 20:25, hash: cef5841e12

Short description of error
When the Drivers Editor loads/displays existing driver information Blender crashes immediately. If the selected object does not have any drivers configured the Editor gets displayed as usual. However as soon as a driver is added Blender crashes with the following Error shown in PowerShell:

ERROR (gpu.shader): gpu_shader_2D_point_uniform_size_uniform_color_aa FragShader:
     |
92   |   if (srgbTarget) {
     | 
     | gpu_shader_colorspace_lib.glsl:11:0: Error: C1503: undefined variable "srgbTarget"
                                                                                                                                                                                                                                                                                                  Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6B09AA40B
Module  : blender.exe
Thread  : 00002680

I'll attach the crash log generated by blender.

Exact steps for others to reproduce the error

  • Select the Default Cube (or any other object).
  • Open the Drivers Editor by right-clicking on any "drivable(?)" attribute and hitting 'O' or the "Open Drivers Editor" menu item (I've tested it with Location, Rotation and Shape Key Value).
  • Add a new driver.
  • It crashes.

The order of steps 3 and 4 can also be switched.
In the attached .blend file the a driver is assigned to a Shape Key of the Default Cube. The driver sets the X-Location of an animated Empty as the influence value of the Shape Key.
A prepared Blend-File:
Driver-Editor_Crash.blend
The crash log:
Driver-Editor_Crash.crash.txt

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.37 **Blender Version** Broken: version: 3.5.0 Alpha, branch: master, commit date: 2022-12-23 00:56, hash: `f803a0a95b` Worked: 3.5.0 Alpha, branch: master, commit date: 2022-12-21 20:25, hash: `cef5841e12` **Short description of error** When the Drivers Editor loads/displays existing driver information Blender crashes immediately. If the selected object does not have any drivers configured the Editor gets displayed as usual. However as soon as a driver is added Blender crashes with the following Error shown in PowerShell: ``` ERROR (gpu.shader): gpu_shader_2D_point_uniform_size_uniform_color_aa FragShader: | 92 | if (srgbTarget) { | | gpu_shader_colorspace_lib.glsl:11:0: Error: C1503: undefined variable "srgbTarget" Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6B09AA40B Module : blender.exe Thread : 00002680 ``` I'll attach the crash log generated by blender. **Exact steps for others to reproduce the error** - Select the Default Cube (or any other object). - Open the Drivers Editor by right-clicking on any "drivable(?)" attribute and hitting 'O' or the "Open Drivers Editor" menu item (I've tested it with Location, Rotation and Shape Key Value). - Add a new driver. - It crashes. The order of steps 3 and 4 can also be switched. In the attached .blend file the a driver is assigned to a Shape Key of the Default Cube. The driver sets the X-Location of an animated Empty as the influence value of the Shape Key. **A prepared Blend-File:** [Driver-Editor_Crash.blend](https://archive.blender.org/developer/F14087430/Driver-Editor_Crash.blend) **The crash log:** [Driver-Editor_Crash.crash.txt](https://archive.blender.org/developer/F14087429/Driver-Editor_Crash.crash.txt)
Author

Added subscriber: @Truhvanor

Added subscriber: @Truhvanor
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Appears to be fixed already: a521960fdd
I'll close this report as I can not repro this in current master 4701421dbe239e5d02a5ee367c442b14660c49c0

Appears to be fixed already: a521960fdd I'll close this report as I can not repro this in current master `4701421dbe239e5d02a5ee367c442b14660c49c0`
Member

Closed as duplicate of #103426

Closed as duplicate of #103426
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#103446
No description provided.