Undo crash in UV/Image Editor when using linked image
Closed, ResolvedPublic

Description

System Information
Linux Ubuntu 17.10
Nvidia Quadro GP100

Blender Version
Broken: Blender 2.79 4461be1b722

Short description of error
When a linked image from another file is applied to a mesh in UV/Image Editor and when editing the UVs and using undo, Blender crashes.

Exact steps for others to reproduce the error
Select the sphere and switch to edit mode. Select parts of the UVs, move them & then hit Ctrl + Z. Blender should then crash and close.

Blend. file

Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.May 16 2018, 1:53 PM

Can confirm this.

MeshUndoStep->id_map->refs->ptr is NULL in this case

1  BKE_undosys_ID_map_lookup            undo_system.c     813  0x276f3e9 
2  BKE_undosys_ID_map_lookup_with_prev  undo_system.c     834  0x276f54b 
3  mesh_undosys_step_decode_restore_ids editmesh_undo.c   737  0x1c6af1f 
4  mesh_undosys_step_decode             editmesh_undo.c   771  0x1c6b10c 
5  undosys_step_decode                  undo_system.c     174  0x276d14f 
6  BKE_undosys_step_undo_with_data_ex   undo_system.c     529  0x276e656 
7  BKE_undosys_step_undo_with_data      undo_system.c     544  0x276e78a 
8  BKE_undosys_step_undo                undo_system.c     549  0x276e7b7 
9  BKE_undosys_step_undo_compat_only    undo_system.c     626  0x276ed1a 
10 ed_undo_step                         ed_undo.c         129  0x186d730 
11 ed_undo_exec                         ed_undo.c         222  0x186d98d