Blender 2.92 crash on selecting a mesh after opening a project #88309

Closed
opened 2021-05-15 14:19:34 +02:00 by Maicol · 26 comments

System Information
Operating system: windows 10
Graphics card: ATI 6700 XT

Blender Version
Broken: 3.0 (original report said, that 2.92 was broken, but I couldn't reproduce any crash)
Worked: 2.92.0

Yesterday i've created a project and worked on it for some hours without problems, Today whenever i select a mesh blender crashes.

Exact steps for others to reproduce the error
gnome.blend

  • Open file
  • In outliner, click on Icosphere.004
**System Information** Operating system: windows 10 Graphics card: ATI 6700 XT **Blender Version** Broken: 3.0 (original report said, that 2.92 was broken, but I couldn't reproduce any crash) Worked: 2.92.0 Yesterday i've created a project and worked on it for some hours without problems, Today whenever i select a mesh blender crashes. **Exact steps for others to reproduce the error** [gnome.blend](https://archive.blender.org/developer/F10107327/gnome.blend) - Open file - In outliner, click on Icosphere.004
Author

Added subscriber: @kasram

Added subscriber: @kasram
Author

I've tried to append the file in another project and it works fine but the original file still has the problem. So i found a workaround but still not the optimal solution

I've tried to append the file in another project and it works fine but the original file still has the problem. So i found a workaround but still not the optimal solution
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot reproduce here.

**System Information**
Operating system: Linux-5.11.16-200.fc33.x86_64-x86_64-with-fedora-33-Thirty_Three 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.67
version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `rB02948a2cab44`

Just to make sure: please also try in a fresh build from https://builder.blender.org/download/

Please also attach crash logs https://docs.blender.org/manual/en/2.92/troubleshooting/crash.html

Cannot reproduce here. ``` **System Information** Operating system: Linux-5.11.16-200.fc33.x86_64-x86_64-with-fedora-33-Thirty_Three 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.67 version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `rB02948a2cab44` ``` Just to make sure: please also try in a fresh build from https://builder.blender.org/download/ Please also attach crash logs https://docs.blender.org/manual/en/2.92/troubleshooting/crash.html
Author

I've tried also 2-93.0 beta and i've got the same results. i've attached the logs
blender_debug_output.txt

blender_debug_output_gpu.txt

blender_system_info.txt

I've tried also 2-93.0 beta and i've got the same results. i've attached the logs [blender_debug_output.txt](https://archive.blender.org/developer/F10122832/blender_debug_output.txt) [blender_debug_output_gpu.txt](https://archive.blender.org/developer/F10122833/blender_debug_output_gpu.txt) [blender_system_info.txt](https://archive.blender.org/developer/F10122835/blender_system_info.txt)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member
WARN (gpu.shader): OVERLAY_shader_armature_sphere_410 FragShader: 
      | 
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_sphere_397 FragShader: 
      | 
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_shape_435 GeomShader: 
      | 
    5 | #endif

@fclem: can this be ignored? ^^

``` WARN (gpu.shader): OVERLAY_shader_armature_sphere_410 FragShader: | 6 | #extension GL_ARB_shader_draw_parameters : enable | ^ | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported WARN (gpu.shader): OVERLAY_shader_armature_sphere_397 FragShader: | 6 | #extension GL_ARB_shader_draw_parameters : enable | ^ | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported WARN (gpu.shader): OVERLAY_shader_armature_shape_435 GeomShader: | 5 | #endif ``` @fclem: can this be ignored? ^^

Added subscriber: @iss

Added subscriber: @iss

I was able to reproduce something, not sure whether this is the same problem as reported:

  • Open file
  • In outliner, click on Icosphere.004

@kasram does these steps describe your report?


crash on null dereference in imagecache_hashhash

>	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 799	C
 	blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7570	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
 	[External Code]	
I was able to reproduce something, not sure whether this is the same problem as reported: - Open file - In outliner, click on Icosphere.004 @kasram does these steps describe your report? --- crash on null dereference in `imagecache_hashhash` ``` > 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 799 C blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7570 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 [External Code] ```

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

yes but it doesn't need to necessarily be Icosphere.004. Just one more thing that maybe helps, i turned off "Lock Objects Mode" in the Edit menu.

yes but it doesn't need to necessarily be Icosphere.004. Just one more thing that maybe helps, i turned off "Lock Objects Mode" in the Edit menu.
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

So, sounds like @iss could reproduce (I still cannot), will set to confirmed though.

So, sounds like @iss could reproduce (I still cannot), will set to confirmed though.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Cannot reproduce here on Windows. Version: 2.92.0, Hash: 02948a2cab, commit date: 2021-02-24.

Cannot reproduce here on Windows. Version: 2.92.0, Hash: `02948a2cab`, commit date: `2021-02-24`.

Added subscriber: @ChristopherLeeThomas

Added subscriber: @ChristopherLeeThomas

I could verify this issue and I run into the same yesterday while modelling. In my case the file won't crash Blender on a Windows 10 or a Linux system I have at my disposal but did on a Windows 11 system. I have tried Blender 2.93.2, 2.93.3 and 3.00 Alpha (from 30.08.21). I can provide a much smaller file with the same issue:

Crashing Ogre.blend
Just click the upper arm or shoulder to reproduce the issue.

I also have turned off "Lock Objects Modes". I found it has something to do with sculpt mode if several objects are in sculpt mode and you switch between them after the file has been saved and reloaded. You just have to click on an inactive object which has been saved while in sculpt mode.

You can work around the issue when you toggle "exclude from view mode" twice. When you save your file while all objects are in "object mode", the problem does not occur.

I could verify this issue and I run into the same yesterday while modelling. In my case the file won't crash Blender on a Windows 10 or a Linux system I have at my disposal but did on a Windows 11 system. I have tried Blender 2.93.2, 2.93.3 and 3.00 Alpha (from 30.08.21). I can provide a much smaller file with the same issue: [Crashing Ogre.blend](https://archive.blender.org/developer/F10356539/Crashing_Ogre.blend) Just click the upper arm or shoulder to reproduce the issue. I also have turned off "Lock Objects Modes". I found it has something to do with sculpt mode if several objects are in sculpt mode and you switch between them after the file has been saved and reloaded. You just have to click on an inactive object which has been saved while in sculpt mode. You can work around the issue when you toggle "exclude from view mode" twice. When you save your file while all objects are in "object mode", the problem does not occur.

Got different trace this time - pbvh was nullptr. But seems to be same issue.

>	blender.exe!BKE_pbvh_type(const PBVH * pbvh) Line 1663	C

 	blender.exe!stats_object_sculpt(const Object * ob, SceneStats * stats) Line 379	C
 	blender.exe!stats_update(Depsgraph * depsgraph, ViewLayer * view_layer, View3D * v3d_local, SceneStats * stats) Line 455	C
 	blender.exe!format_stats(Main * bmain, Scene * scene, ViewLayer * view_layer, View3D * v3d_local, SceneStatsFmt * stats_fmt) Line 504	C
 	blender.exe!info_statusbar_string(Main * bmain, Scene * scene, ViewLayer * view_layer, unsigned char statusbar_flag) Line 649	C
 	blender.exe!ED_info_statusbar_string(Main * bmain, Scene * scene, ViewLayer * view_layer) Line 700	C
 	blender.exe!rna_Screen_statusbar_info_get(bScreen * UNUSED_screen, Main * bmain, bContext * C) Line 324	C
 	blender.exe!Screen_statusbar_info_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 806	C
 	blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7520	C
 	blender.exe!pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6299	C
 	python39_d.dll!_PyObject_MakeTpCall(_ts * tstate, _object * callable, _object * const * args, __int64 nargs, _object * keywords) Line 191	C
 	python39_d.dll!_PyObject_VectorcallTstate(_ts * tstate, _object * callable, _object * const * args, unsigned __int64 nargsf, _object * kwnames) Line 116	C
 	[Inline Frame] python39_d.dll!PyObject_Vectorcall(_object *) Line 127	C
 	python39_d.dll!call_function(_ts * tstate, _object * * * pp_stack, __int64 oparg, _object * kwnames) Line 5075	C
 	python39_d.dll!_PyEval_EvalFrameDefault(_ts * tstate, _frame * f, int throwflag) Line 3489	C
 	python39_d.dll!function_code_fastcall(_ts * tstate, PyCodeObject * co, _object * const * args, __int64 nargs, _object * globals) Line 330	C
 	python39_d.dll!_PyFunction_Vectorcall(_object * func, _object * const * stack, unsigned __int64 nargsf, _object * kwnames) Line 367	C
 	python39_d.dll!PyVectorcall_Call(_object * callable, _object * tuple, _object * kwargs) Line 231	C
 	python39_d.dll!_PyObject_Call(_ts * tstate, _object * callable, _object * args, _object * kwargs) Line 266	C
 	python39_d.dll!PyObject_Call(_object * callable, _object * args, _object * kwargs) Line 294	C
 	blender.exe!bpy_class_call(bContext * C, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 8550	C
 	blender.exe!header_draw(const bContext * C, Header * hdr) Line 764	C
 	blender.exe!ED_region_header_layout(const bContext * C, ARegion * region) Line 3307	C
 	blender.exe!ED_region_do_layout(bContext * C, ARegion * region) Line 531	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 679	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 880	C
 	blender.exe!wm_draw_update(bContext * C) Line 1079	C
 	blender.exe!WM_main(bContext * C) Line 654	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562	C
 	[External Code]	
Got different trace this time - pbvh was nullptr. But seems to be same issue. ``` > blender.exe!BKE_pbvh_type(const PBVH * pbvh) Line 1663 C blender.exe!stats_object_sculpt(const Object * ob, SceneStats * stats) Line 379 C blender.exe!stats_update(Depsgraph * depsgraph, ViewLayer * view_layer, View3D * v3d_local, SceneStats * stats) Line 455 C blender.exe!format_stats(Main * bmain, Scene * scene, ViewLayer * view_layer, View3D * v3d_local, SceneStatsFmt * stats_fmt) Line 504 C blender.exe!info_statusbar_string(Main * bmain, Scene * scene, ViewLayer * view_layer, unsigned char statusbar_flag) Line 649 C blender.exe!ED_info_statusbar_string(Main * bmain, Scene * scene, ViewLayer * view_layer) Line 700 C blender.exe!rna_Screen_statusbar_info_get(bScreen * UNUSED_screen, Main * bmain, bContext * C) Line 324 C blender.exe!Screen_statusbar_info_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 806 C blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7520 C blender.exe!pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6299 C python39_d.dll!_PyObject_MakeTpCall(_ts * tstate, _object * callable, _object * const * args, __int64 nargs, _object * keywords) Line 191 C python39_d.dll!_PyObject_VectorcallTstate(_ts * tstate, _object * callable, _object * const * args, unsigned __int64 nargsf, _object * kwnames) Line 116 C [Inline Frame] python39_d.dll!PyObject_Vectorcall(_object *) Line 127 C python39_d.dll!call_function(_ts * tstate, _object * * * pp_stack, __int64 oparg, _object * kwnames) Line 5075 C python39_d.dll!_PyEval_EvalFrameDefault(_ts * tstate, _frame * f, int throwflag) Line 3489 C python39_d.dll!function_code_fastcall(_ts * tstate, PyCodeObject * co, _object * const * args, __int64 nargs, _object * globals) Line 330 C python39_d.dll!_PyFunction_Vectorcall(_object * func, _object * const * stack, unsigned __int64 nargsf, _object * kwnames) Line 367 C python39_d.dll!PyVectorcall_Call(_object * callable, _object * tuple, _object * kwargs) Line 231 C python39_d.dll!_PyObject_Call(_ts * tstate, _object * callable, _object * args, _object * kwargs) Line 266 C python39_d.dll!PyObject_Call(_object * callable, _object * args, _object * kwargs) Line 294 C blender.exe!bpy_class_call(bContext * C, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 8550 C blender.exe!header_draw(const bContext * C, Header * hdr) Line 764 C blender.exe!ED_region_header_layout(const bContext * C, ARegion * region) Line 3307 C blender.exe!ED_region_do_layout(bContext * C, ARegion * region) Line 531 C blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 679 C blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 880 C blender.exe!wm_draw_update(bContext * C) Line 1079 C blender.exe!WM_main(bContext * C) Line 654 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562 C [External Code] ```

Added subscriber: @bujirokun

Added subscriber: @bujirokun

u

u
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

@iss Can you still reproduce this crash? I can't on my end.

@iss Can you still reproduce this crash? I can't on my end.

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Also can't reproduce anymore, so will close.

Also can't reproduce anymore, so will close.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#88309
No description provided.