Crash bug in blender.exe
Open, ConfirmedPublic

Description

System Information
Windows 10, intel iris 540

Blender Version
Broken: 2.80 Alpha 2 - 11/7/2018 build

Appended Object from a previous release. Appended fine. Saved.
Duplicated rig. Crashed.
Reloaded 2.8 blender, loaded save - crashed instantly.

Crashing blend attached.

To duplicate, load blend.

Details

Type
Bug
Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.Fri, Nov 9, 12:34 PM

Can confirm the crash on file load.
Looks like this was saved with multiple objects in editmode.
One of them doesnt have an edit_bmesh though (not sure if this is because it is actually hidden?)

P821 makes the file load (you can also check which object is failing), but I would kindly ask @Campbell Barton (campbellbarton) to take over here...

1   undomesh_from_editmesh          editmesh_undo.c   514  0x2033c16 
2   mesh_undosys_step_encode        editmesh_undo.c   720  0x2034306 
3   undosys_step_encode             undo_system.c     151  0x2bdeb63 
4   BKE_undosys_step_push_with_type undo_system.c     472  0x2be00e7 
5   BKE_undosys_step_push           undo_system.c     492  0x2be020c 
6   ED_undo_push                    ed_undo.c         103  0x1c86342 
7   ED_undo_push_op                 ed_undo.c         250  0x1c86a08 
8   wm_operator_finished            wm_event_system.c 884  0x1c48306 
9   wm_operator_invoke              wm_event_system.c 1356 0x1c4993f 
10  wm_operator_call_internal       wm_event_system.c 1530 0x1c49df9 
11  WM_operator_name_call_ptr       wm_event_system.c 1578 0x1c4a01c 
12  WM_operator_name_call           wm_event_system.c 1584 0x1c4a070 
13  ED_object_mode_toggle           object_modes.c    164  0x211a007 
14  ED_editors_init                 ed_util.c         125  0x22cc12c 
15  wm_file_read_post               wm_files.c        494  0x1c52334 
16  WM_file_read                    wm_files.c        629  0x1c526ac 
17  wm_file_read_opwrap             wm_files.c        1817 0x1c55185 
18  wm_open_mainfile_exec           wm_files.c        1877 0x1c553e6

there was rBcc7460eaa491ed020acdc8f863cd521688fad01c as well (might be related, not sure though...)