Blender error exits when deleting old scenes after creating a new scene #57132

Closed
opened 2018-10-10 09:15:38 +02:00 by maylog · 5 comments

System Information
Operating system and graphics card

Blender Version
Broken: 2.80 Alpha2 2018.10.09
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Blender error exits when deleting old scenes after creating a new scene.
I recorded a video{F5010390}

**System Information** Operating system and graphics card **Blender Version** Broken: 2.80 Alpha2 2018.10.09 Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Blender error exits when deleting old scenes after creating a new scene. I recorded a video{[F5010390](https://archive.blender.org/developer/F5010390/2018-10-10_15-09-34.mp4)}
Author

Added subscriber: @maylog

Added subscriber: @maylog
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Brecht Van Lommel was assigned by Philipp Oeser 2018-10-10 14:15:40 +02:00
Member

Can confirm the crash.

1   layer_collection_sync                         layer.c              651  0x299db88 
2   layer_collection_sync                         layer.c              656  0x299dbea 
3   BKE_layer_collection_sync                     layer.c              783  0x299e070 
4   BKE_scene_collection_sync                     layer.c              816  0x299e18a 
5   BKE_main_collection_sync                      layer.c              828  0x299e1c8 
6   BKE_main_collection_sync_remap                layer.c              853  0x299e307 
7   libblock_remap_data_postprocess_object_update library_remap.c      303  0x28cef34 
8   BKE_libblock_relink_ex                        library_remap.c      621  0x28cfaae 
9   BKE_libblock_free_ex                          library_remap.c      912  0x28d04f5 
10  BKE_libblock_free                             library_remap.c      940  0x28d05c6 
11  ED_scene_delete                               scene_edit.c         117  0x1fc6f59 
12  scene_delete_exec                             scene_edit.c         244  0x1fc742e 

CollectionChild->collection is NULL in that case
(and just continuing in case it is will later assert here BLI_assert(BLI_listbase_count(lb_scene) == BLI_listbase_count(lb_layer));)

I could do some further investigations, but I'm afraid that part of the code could end up being a time sink for me.

@brecht: could you take over? (feel free to throw back at me -- if it is OK that it might take some time to properly understand what's going on here)

Can confirm the crash. ``` 1 layer_collection_sync layer.c 651 0x299db88 2 layer_collection_sync layer.c 656 0x299dbea 3 BKE_layer_collection_sync layer.c 783 0x299e070 4 BKE_scene_collection_sync layer.c 816 0x299e18a 5 BKE_main_collection_sync layer.c 828 0x299e1c8 6 BKE_main_collection_sync_remap layer.c 853 0x299e307 7 libblock_remap_data_postprocess_object_update library_remap.c 303 0x28cef34 8 BKE_libblock_relink_ex library_remap.c 621 0x28cfaae 9 BKE_libblock_free_ex library_remap.c 912 0x28d04f5 10 BKE_libblock_free library_remap.c 940 0x28d05c6 11 ED_scene_delete scene_edit.c 117 0x1fc6f59 12 scene_delete_exec scene_edit.c 244 0x1fc742e ``` CollectionChild->collection is NULL in that case (and just continuing in case it is will later assert here `BLI_assert(BLI_listbase_count(lb_scene) == BLI_listbase_count(lb_layer));`) I could do some further investigations, but I'm afraid that part of the code could end up being a time sink for me. @brecht: could you take over? (feel free to throw back at me -- if it is OK that it might take some time to properly understand what's going on here)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This appears to be fixed.

This appears to be fixed.
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
3 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#57132
No description provided.