Page MenuHome

Blender Crashes when Lock Object Modes is off, 2.93
Confirmed, NormalPublic


System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Worked: Unknown

Short description of error
Blender crashes when selecting off an object in Object mode to an object that's in Sculpt mode when Lock Object Modes is disabled, but only after saving and reloading file first (and any subsequent attempts after). Things I've tried: disabling all plugins, 2.93.0 (stable) and 3.0.0 (alpha), using different shapes (UV Sphere, Cube), using a different system (Asus ROG Zephyrus G14 laptop); but all have same issue at the moment.

Exact steps for others to reproduce the error
Exact same steps as

Duplicate default cube, or create two objects of choice.
Turn off Lock Object Modes in Edit menu
For one of the cubes switch to the Sculpt mode
Select the object that's in Object mode
Save file
Close Blender

This will give you file:

Open Blender and open the .blend file
Try to select the second cube (the one in Sculpt mode)
Blender crashes

Let me know if you need further info, appreciate your work Blender devs!

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Tue, Jun 8, 8:09 AM
Richard Antalik (ISS) updated the task description. (Show Details)

Crash on NULL dereference

>	blender.exe!imagecache_hashhash(const void * key_v) Line 371	C
 	[Inline Frame] blender.exe!stats_object_sculpt(Object *) Line 372	C
 	blender.exe!stats_update(Depsgraph * depsgraph, ViewLayer * view_layer) Line 429	C
 	blender.exe!format_stats(Main * bmain, Scene * scene, ViewLayer * view_layer, SceneStatsFmt * stats_fmt) Line 460	C
 	blender.exe!info_statusbar_string(Main * bmain, Scene * scene, ViewLayer * view_layer, unsigned char statusbar_flag) Line 608	C
 	[Inline Frame] blender.exe!rna_Screen_statusbar_info_get(bScreen * bmain, Main *) Line 323	C
 	blender.exe!Screen_statusbar_info_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 808	C
 	blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7582	C
 	blender.exe!pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6359	C
 	python39.dll!_PyObject_MakeTpCall(_ts * tstate, _object * callable, _object * const * args, __int64 nargs, _object * keywords) Line 192	C
 	[Inline Frame] python39.dll!PyObject_Vectorcall(_object *) Line 127	C
 	python39.dll!call_function(_ts * tstate, _object * * * pp_stack, __int64 oparg, _object * kwnames) Line 5078	C
 	python39.dll!_PyEval_EvalFrameDefault(_ts * tstate, _frame * f, int throwflag) Line 3489	C
 	[Inline Frame] python39.dll!_PyEval_EvalFrame(_ts *) Line 40	C
 	python39.dll!function_code_fastcall(_ts * tstate, PyCodeObject * co, _object * const * args, __int64 nargs, _object * globals) Line 332	C
 	python39.dll!_PyFunction_Vectorcall(_object * func, _object * const * stack, unsigned __int64 nargsf, _object * kwnames) Line 404	C
 	blender.exe!bpy_class_call(bContext * C, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 8572	C
 	blender.exe!header_draw(const bContext * C, Header * hdr) Line 748	C
 	blender.exe!ED_region_header_layout(const bContext * C, ARegion * region) Line 3289	C
 	blender.exe!ED_region_do_layout(bContext * C, ARegion * region) Line 525	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 678	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 867	C
 	blender.exe!wm_draw_update(bContext * C) Line 1066	C
 	blender.exe!WM_main(bContext * C) Line 654	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 524	C