Page MenuHome

Second full scene copy crashes on deletion
Closed, ResolvedPublic

Description

Current Blender2.8 branch.

  1. Add a full copy of a scene
  2. Add a full copy of the first copied scene.
  3. Delete that second copy.

Related/reported in T57361.

Again an issue of CollectionChild having NULL collection pointer...

1   layer_collection_sync                             layer.c              651  0x558966ad2647 
2   layer_collection_sync                             layer.c              656  0x558966ad26f1 
3   BKE_layer_collection_sync                         layer.c              783  0x558966ad367e 
4   BKE_scene_collection_sync                         layer.c              816  0x558966ad3a5f 
5   BKE_main_collection_sync                          layer.c              828  0x558966ad3ae5 
6   BKE_main_collection_sync_remap                    layer.c              853  0x558966ad3dd1 
7   BKE_collections_child_remove_nulls                collection.c         682  0x55896666f0cd 
8   libblock_remap_data_postprocess_collection_update library_remap.c      337  0x55896688a06a 
9   BKE_libblock_relink_ex                            library_remap.c      637  0x55896688b92b 
10  BKE_libblock_free_ex                              library_remap.c      925  0x55896688c749 
11  BKE_libblock_free                                 library_remap.c      953  0x55896688c83e 
12  ED_scene_delete                                   scene_edit.c         117  0x5589651343f9 
13  scene_delete_exec                                 scene_edit.c         244  0x558965134bf1 
14  wm_operator_invoke                                wm_event_system.c    1333 0x55896424b02c 
15  wm_operator_call_internal                         wm_event_system.c    1530 0x55896424c015 
16  WM_operator_name_call_ptr                         wm_event_system.c    1578 0x55896424c2a4 
17  ui_apply_but_funcs_after                          interface_handlers.c 767  0x558964a56142 
18  ui_handler_region_menu                            interface_handlers.c 9793 0x558964a9f341 
19  wm_handler_ui_call                                wm_event_system.c    569  0x558964245448 
20  wm_handlers_do_intern                             wm_event_system.c    2386 0x558964251521 
... <plus>