Multi window measure crash #63694
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#63694
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Version
Broken:
e80cbdac33
Short description of error
Using Measuring tool on a project that has more than one window causes a crash.
Exact steps for others to reproduce the error
Open
Select Measure from a toolbar
Measure in 3D view
Crash
Multi Measure Crash.blend
Exact steps for others to reproduce the error from scratch
Factory Startup
Add New Workspace --> Layout
Window --> New Main Window
(In new window) switch to Layout.001
Measure in 3D View
Crash
Added subscriber: @ChristopherAnderssarian
#64998 was marked as duplicate of this issue
Added subscriber: @ZedDB
Backtrace:
Added subscriber: @dfelinto
Basically
WM_gizmomap_group_find(gzmap, view3d_gzgt_ruler_id)
is returning NULL inview3d_ruler_add_invoke()
in this case.Added subscribers: @peticel, @ideasman42, @brecht, @Gvgeo-1, @Leon95
@ChristopherAnderssarian can you still reproduce it from scratch?
Although I can reproduce with your file, I cannot reproduce it if I start from a blank file.
Which steps did you take to create it? (there are many ways of creating a new window).
Note: I could not reproduce even in the old Blender mentioned in the report (
5d8030b8f3
). So it would definitively help to get the exact steps to reproduce it in a new file.Apologies for not detailing the steps...
I still get a crash with
blender-2.80.0-git.c13e10a7404d-windows64
from scratch...Got to reproduce with your steps from scratch, thanks.
Added subscriber: @JulianEisel
So, this seems to happen when the windows have a mismatching active tool.
In
ED_gizmo_poll_or_unlink_delayed_from_tool_ex
we test iftref_rt->gizmo_group != VIEW3D_GGT_ruler
.If any window doesn't have the tool, will call the free routines that will remove the ruler group from gzmap.
I still don't understand in our design why ruler and spin are added on the fly and removed. While other tools and gizmos are there permanently.
All in all the design or implementation of this poll/unlink delayed doesn't play well with multi-window.
Some comments by @ideasman42:
I have a fix for this however there is another issue relating to multi-window support which needs to be fixed for multiple windows to be working properly. Once #66200 is resolved, I'll commit the fix for this issue.
This issue was referenced by
9bcab8050f
Changed status from 'Open' to: 'Resolved'