Crash When Running Custom Gizmo Template Script #67245

Closed
opened 2019-07-19 18:04:39 +02:00 by Dan Norris · 9 comments

System Information
Operating system: Windows 10
Graphics card: NVidia GTX980ti & NVidia GTX1080

Blender Version
Broken: v2.80 RC 2
Worked: -

When running template script gizmo_custom_geometry.py and clicking on Texture Paint workspace tab, Blender will crash. Also, an error in Gizmo template script itself as the gizmo widget is positioned far from the light it's supposed to control. I don't know if this is a script issue or an issue with the gizmo itself.

Exact steps for others to reproduce the error

  1. Open Blender navigate to Scripting Workspace and open Templates->Python->Gizmo Custom Geometry. Run the script, then click on Texture Paint. Blender crashes.
  2. Open Blender navigate to Scripting Workspace and open Templates->Python->Gizmo Custom Geometry. Run the script and look in the 3D viewport. The gizmo is in a strange place.Blender 19_07_2019 16_49_20.png

NOTE: I've tried the same steps on the other gizmo python scripts and they do not cause a crash.

**System Information** Operating system: Windows 10 Graphics card: NVidia GTX980ti & NVidia GTX1080 **Blender Version** Broken: v2.80 RC 2 Worked: - When running template script gizmo_custom_geometry.py and clicking on Texture Paint workspace tab, Blender will crash. Also, an error in Gizmo template script itself as the gizmo widget is positioned far from the light it's supposed to control. I don't know if this is a script issue or an issue with the gizmo itself. **Exact steps for others to reproduce the error** 1. Open Blender navigate to Scripting Workspace and open Templates->Python->Gizmo Custom Geometry. Run the script, then click on Texture Paint. Blender crashes. 2. Open Blender navigate to Scripting Workspace and open Templates->Python->Gizmo Custom Geometry. Run the script and look in the 3D viewport. The gizmo is in a strange place.![Blender 19_07_2019 16_49_20.png](https://archive.blender.org/developer/F7618361/Blender_19_07_2019_16_49_20.png) NOTE: I've tried the same steps on the other gizmo python scripts and they do not cause a crash.
Author

Added subscriber: @DanNorris

Added subscriber: @DanNorris

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I could not reproduce the problem.
Operating system: Windows-10-10.0.18936 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13570 Core Profile Context 19.7.2 26.20.13001.16003

I could not reproduce the problem. Operating system: Windows-10-10.0.18936 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13570 Core Profile Context 19.7.2 26.20.13001.16003
Author

Are you trying it this way?
Blender 2_80 Crash Gizmo.mp4

Are you trying it this way? [Blender 2_80 Crash Gizmo.mp4](https://archive.blender.org/developer/F7618702/Blender_2_80_Crash_Gizmo.mp4)
Author

I've just changed the name of the MyCustomShapeWidget bl_idname, in the script and running it no longer crashes blender. So I think there was probably a corrupt version still registered.

This is still an issue though, as Blender has been closed multiple times, so should have cleared this. I don't know how Blender deals with this internally but maybe an old run of the registered gizmo has been cached and is not being removed when Blender closes.

I've just changed the name of the MyCustomShapeWidget bl_idname, in the script and running it no longer crashes blender. So I think there was probably a corrupt version still registered. This is still an issue though, as Blender has been closed multiple times, so should have cleared this. I don't know how Blender deals with this internally but maybe an old run of the registered gizmo has been cached and is not being removed when Blender closes.

I've tried both Blender v2.80 RC 2 and last buildbot build but I have not been able to reproduce the problem yet.
Without being able to reproduce, investigating this becomes unproductive and not worth it.
You need to find and describe the exact steps.

I've tried both Blender v2.80 RC 2 and last buildbot build but I have not been able to reproduce the problem yet. Without being able to reproduce, investigating this becomes unproductive and not worth it. You need to find and describe the exact steps.
Author

It's a strange one. Maybe we should close this for now and I'll keep trying to re-create. I'll write a new bug report if I can figure out what's going on.

It's a strange one. Maybe we should close this for now and I'll keep trying to re-create. I'll write a new bug report if I can figure out what's going on.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Germano Cavalcante self-assigned this 2019-07-20 16:03:21 +02:00

Feel free to reopen when you figure out what's going on.

Feel free to reopen when you figure out what's going on.
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
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#67245
No description provided.