Maniphest T54375

Workspace crash with linked scene
Closed, Duplicate

Assigned To
None
Authored By
Dalai Felinto (dfelinto)
Mar 20 2018, 3:04 PM
Tags
  • BF Blender: 2.8
Subscribers
Dalai Felinto (dfelinto)

Description

Blender Version
Broken: 04b8b1a167c3
Worked: ?

Short description of error
Any file that has the active workspace with a linked scene leads to crash when opening the file.

Exact steps for others to reproduce the error

  • Save default file as copy somewhere
  • Link the scene from the saved file in the current file
  • Change the workspace scene to the linked scene
  • Save this file
  • Re-open it - crash
SUMMARY: AddressSanitizer: heap-use-after-free /home/dfelinto/src/blender/blender/source/blender/editors/util/ed_util.c:113 in ED_editors_init

Full ASAN backtrace: P642

Developer notes

The crash happens here:

ViewLayer *view_layer = BKE_view_layer_from_workspace_get(scene, workspace);
Object *obact = view_layer ? OBACT(view_layer) : NULL;

It seems view_layer is not NULL yet it is not a valid pointer either.

Related Objects

Mentioned Here
rB04b8b1a167c3: Merge branch 'master' into blender2.8
P642 (An Untitled Masterwork)

Event Timeline

Dalai Felinto (dfelinto) created this task.Mar 20 2018, 3:04 PM
Dalai Felinto (dfelinto) closed this task as a duplicate of T54140: WorkSpaces link to non-ID library data (ViewLayer).Mar 20 2018, 3:14 PM