Delete Active Scene Freezes Blender #62076

Closed
opened 2019-03-01 10:16:03 +01:00 by Eric Imboden · 8 comments

System Information
Operating system: Windows 7
Graphics card: GTX 1080 and RTX 2080 Ti

Blender Version
Broken: 2.80 (sub 45), branch: master, commit date: 2019-03-01 00:39, hash: e5194835de, type: Release
Worked: (optional)

Short description of error
Deleting Scene from Browser Scene makes Blender freeze and you need to force quit to unfreeze.

Exact steps for others to reproduce the error
Room.zip

  1. Go to Scene Browser (top right of Blender)
  2. Select "Plan" from Scene Browser
  3. Delete Active Scene
  4. Freeze...

I am providing the file where I could repeat the crash/freeze easily. Maybe related to #61984 and #61763 because 1) I also had imported a DXF in this .blend and 2) the feature (Delete Active Scene) works with simple cubes.

I hope that helps.

**System Information** Operating system: Windows 7 Graphics card: GTX 1080 and RTX 2080 Ti **Blender Version** Broken: 2.80 (sub 45), branch: master, commit date: 2019-03-01 00:39, hash: e5194835de45, type: Release Worked: (optional) **Short description of error** Deleting Scene from Browser Scene makes Blender freeze and you need to force quit to unfreeze. **Exact steps for others to reproduce the error** [Room.zip](https://archive.blender.org/developer/F6734961/Room.zip) 1. Go to Scene Browser (top right of Blender) 2. Select "Plan" from Scene Browser 3. Delete Active Scene 4. Freeze... I am providing the file where I could repeat the crash/freeze easily. Maybe related to #61984 and #61763 because 1) I also had imported a DXF in this .blend and 2) the feature (Delete Active Scene) works with simple cubes. I hope that helps.
Author

Added subscriber: @EricImboden

Added subscriber: @EricImboden
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, checking...

And indeed seem tied to the Background Scene

DEG is complaining when trying to add an operation which already exists... add_operation: Operation already exists
BLI_assert failed: /blender/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc:227, add_operation_node(), at '!"Should not happen!"'

Could be tied to #61763, but since its asserting elsewhere, will not merge the reports (yet)

Interestingly, in this file the scene Salle has its background scene (scene->set) set to Salle as well? [at least it looks like this in the debugger here , the UI suggests it is set to Plan...]

Confirmed, checking... And indeed seem tied to the `Background Scene` DEG is complaining when trying to add an operation which already exists... `add_operation: Operation already exists` `BLI_assert failed: /blender/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc:227, add_operation_node(), at '!"Should not happen!"'` Could be tied to #61763, but since its asserting elsewhere, will not merge the reports (yet) Interestingly, in this file the scene `Salle` has its background scene (scene->set) set to `Salle` as well? [at least it looks like this in the debugger [here ](https://developer.blender.org/diffusion/B/browse/master/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc$167), the UI suggests it is set to `Plan`...]
Member

@EricImboden : reg. the DXF import: was this done with the Import DXF to new scene option?

@EricImboden : reg. the DXF import: was this done with the `Import DXF to new scene` option?
Bastien Montagne was assigned by Philipp Oeser 2019-03-01 15:50:28 +01:00
Member

Added subscriber: @mont29

Added subscriber: @mont29
Member

@EricImboden: nvm, doesnt seem related to the import process, can be reproduced with deleting any scene set as background scene elsewhere...

Looks like when remapping the scene (which is about to be deleted) to the scene_new, code will end up placing the scene_new as a background scene for itself... see here

This is all happening when while BKE_libblock_remap does its thing in ED_scene_delete()

@mont29: pretty sure this is not supposed to happen? (assigning to you since you are best familiar with any consequences to changes in that area, right?)

@EricImboden: nvm, doesnt seem related to the import process, can be reproduced with deleting any scene set as background scene elsewhere... Looks like when remapping the `scene` (which is about to be deleted) to the `scene_new`, code will end up placing the `scene_new` as a background scene **for itself**... see [here ](https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/library_remap.c$243) This is all happening when while `BKE_libblock_remap` does its thing in `ED_scene_delete()` @mont29: pretty sure this is not supposed to happen? (assigning to you since you are best familiar with any consequences to changes in that area, right?)

This issue was referenced by c7cf8282a6

This issue was referenced by c7cf8282a6ab9b9a627645564d19a8080edd2d09

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
4 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#62076
No description provided.