Page MenuHome

Blender error exits when deleting old scenes after creating a new scene
Closed, ResolvedPublic


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}



Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.Oct 10 2018, 2:15 PM

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 Van Lommel (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)

Brecht Van Lommel (brecht) closed this task as Resolved.Dec 6 2018, 7:49 PM

This appears to be fixed.