Crash changing viewport shading mode while editing mesh #104242

Closed
opened 2023-01-30 23:49:19 +01:00 by Valentina · 19 comments

System Information
Operating system: macOS-13.2-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 83

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: 55485cb379

Short description of error
Get crash on random ways.
Seems to be linked to viewport render type in edit mode. I had the bug multiple times to confirm before sending it to you.
The crash seems to don't occur when the subdivision modifier is not visually activated. Proceed like it's described in the next part of the report.
I have also crashes randomly on the edit of the mesh while I'm using shortcut "GG" on multiple meshes but I don't know if it's linked.

I add the Apple report to you as apple-crash-report.txt file.

Exact steps for others to reproduce the error

  • Open the blend file crash.blend
  • Put the mesh in edit mode with TAB
  • Select viewport shading rendered with the mouse
  • Switch to viewport shading solid with mouse
  • Switch to viewport shading wireframe witch mouse
  • Try to rotate the viewport camera with the mouse
  • If not crashed yet :
    • Switch to viewport shading solid with mouse
    • Switch to viewport shading wireframe with mouse
    • (Rotate viewport camera with mouse)

crash.blend

apple-crash-report.txt

Thank you, have a nice day.

**System Information** Operating system: macOS-13.2-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Max Apple 4.1 Metal - 83 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `55485cb379` **Short description of error** Get crash on random ways. Seems to be linked to viewport render type in edit mode. I had the bug multiple times to confirm before sending it to you. The crash seems to don't occur when the subdivision modifier is not visually activated. Proceed like it's described in the next part of the report. I have also crashes randomly on the edit of the mesh while I'm using shortcut "GG" on multiple meshes but I don't know if it's linked. I add the Apple report to you as apple-crash-report.txt file. **Exact steps for others to reproduce the error** - Open the blend file crash.blend - Put the mesh in edit mode with TAB - Select viewport shading rendered with the mouse - Switch to viewport shading solid with mouse - Switch to viewport shading wireframe witch mouse - Try to rotate the viewport camera with the mouse - If not crashed yet : - Switch to viewport shading solid with mouse - Switch to viewport shading wireframe with mouse - (Rotate viewport camera with mouse) [crash.blend](https://archive.blender.org/developer/F14215554/crash.blend) [apple-crash-report.txt](https://archive.blender.org/developer/F14215555/apple-crash-report.txt) Thank you, have a nice day.
Author

Added subscriber: @v4l3ntina

Added subscriber: @v4l3ntina
Valentina changed title from Crash changing shading mode / editing mesh to Crash changing viewport shading mode while editing mesh 2023-01-30 23:50:07 +01:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Hi, thanks for the report. Does it crash in 3.5 with viewport metal backend?

Hi, thanks for the report. Does it crash in 3.5 with viewport metal backend?
Author

Hi thank you for your feedback.

Yes I enabled METAL for both APPLE M1 MAX (GPU - 32 cores) & APPLE M1 MAX.

Hi thank you for your feedback. Yes I enabled METAL for both APPLE M1 MAX (GPU - 32 cores) & APPLE M1 MAX.
Member

And did it crash?

And did it crash?
Author

Yes it is, I enabled this from the first install of Blender on this computer.

Yes it is, I enabled this from the first install of Blender on this computer.
Member

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Member

@mano-wii , can you replicate the crash in M1?

@mano-wii , can you replicate the crash in `M1`?

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

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

I can confirm the crash:

__pthread_kill (@__pthread_kill:5)
pthread_kill (@pthread_kill:75)
abort (@abort:48)
invocation function for block in GLDContextRec::flushContextInternal() (@__copy_helper_block_e8_32r40r48r56r:3)
MTLDispatchListApply (@MTLDispatchListApply:16)
-[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:] (@-[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:]:134)
-[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:] (@-[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:]:58)
-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] (@-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:]:30)
__62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44 (@__62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44:39)
IOGPUNotificationQueueDispatchAvailableCompletionNotifications (@IOGPUNotificationQueueDispatchAvailableCompletionNotifications:35)
__IOGPUNotificationQueueSetDispatchQueue_block_invoke (@__IOGPUNotificationQueueSetDispatchQueue_block_invoke:19)
_dispatch_client_callout4 (@_dispatch_client_callout4:8)
_dispatch_mach_msg_invoke (@_dispatch_mach_msg_invoke:120)
_dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97)
_dispatch_mach_invoke (@_dispatch_mach_invoke:115)
_dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97)
_dispatch_lane_invoke (@_dispatch_lane_invoke:112)
_dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97)
_dispatch_lane_invoke (@_dispatch_lane_invoke:99)
_dispatch_workloop_worker_thread (@_dispatch_workloop_worker_thread:166)
_pthread_wqthread (@_pthread_wqthread:75)

Happens in seemingly random places in Blender's code:

gleUseProgramObject (@gleUseProgramObject:29)
glUseProgramObjectARB_Exec (@glUseProgramObjectARB_Exec:59)
blender::gpu::GLShader::bind() (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/opengl/gl_shader.cc:1020)
::GPU_shader_bind(GPUShader *) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_shader.cc:512)
draw_shgroup (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1007)
drw_draw_pass_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1208)
DRW_draw_pass (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1248)
::OVERLAY_background_draw(OVERLAY_Data *) (/Users/germanocavalcante/blender-git/blender/source/blender/draw/engines/overlay/overlay_background.cc:112)
OVERLAY_draw_scene(void*) (/Users/germanocavalcante/blender-git/blender/source/blender/draw/engines/overlay/overlay_engine.cc:588)
drw_engines_draw_scene (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1109)
DRW_draw_render_loop_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1764)
DRW_draw_view (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1636)
view3d_draw_view(bContext const*, ARegion*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1551)
::view3d_main_region_draw(const bContext *, ARegion *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1585)
ED_region_do_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/screen/area.c:546)
wm_draw_window_offscreen (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:959)
wm_draw_window (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1124)
wm_draw_update (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1384)
WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:647)
main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585)

Also:

_platform_memmove (@_platform_memmove:3)
___lldb_unnamed_symbol1964 (@___lldb_unnamed_symbol1964:31)
___lldb_unnamed_symbol3073 (@___lldb_unnamed_symbol3073:234)
___lldb_unnamed_symbol2657 (@___lldb_unnamed_symbol2657:1881)
___lldb_unnamed_symbol2674 (@___lldb_unnamed_symbol2674:52)
gldRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*) (@gldRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*):3502)
glDrawArraysInstanced_ACC_GL3Exec (@glDrawArraysInstanced_ACC_GL3Exec:97)
blender::gpu::GLBatch::draw(int, int, int, int) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/opengl/gl_batch.cc:322)
::GPU_batch_draw_advanced(GPUBatch *, int, int, int, int) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_batch.cc:300)
::GPU_batch_draw(GPUBatch *) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_batch.cc:256)
icon_draw_texture(float, float, float, float, int, int, int, int, float, float const*, bool, IconTextOverlay const*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:1825)
icon_draw_size(float, float, int, float, float, eIconSizes, int, float, unsigned char const*, bool, IconTextOverlay const*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:1968)
::UI_icon_draw_ex(float, float, int, float, float, float, const uchar *, const bool, const IconTextOverlay *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:2530)
::UI_icon_draw_alpha(float, float, int, float) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:2500)
button2d_draw_intern (/Users/germanocavalcante/blender-git/blender/source/blender/editors/gizmo_library/gizmo_types/button2d_gizmo.c:268)
gizmo_button2d_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/gizmo_library/gizmo_types/button2d_gizmo.c:290)
gizmos_draw_list (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c:469)
WM_gizmomap_draw (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c:494)
DRW_draw_gizmo_2d (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_view.c:292)
DRW_draw_callbacks_post_scene (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1543)
DRW_draw_render_loop_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1775)
DRW_draw_view (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1636)
view3d_draw_view(bContext const*, ARegion*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1551)
::view3d_main_region_draw(const bContext *, ARegion *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1585)
ED_region_do_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/screen/area.c:546)
wm_draw_window_offscreen (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:959)
wm_draw_window (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1124)
wm_draw_update (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1384)
WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:647)
main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585)

It doesn't happen with the Metal backend.
Regression introduced in 3.4 between c5feb4e6fe(15 Aug ) and 109cc14dba(13 Sep)

I can confirm the crash: ```lines=10 __pthread_kill (@__pthread_kill:5) pthread_kill (@pthread_kill:75) abort (@abort:48) invocation function for block in GLDContextRec::flushContextInternal() (@__copy_helper_block_e8_32r40r48r56r:3) MTLDispatchListApply (@MTLDispatchListApply:16) -[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:] (@-[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:]:134) -[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:] (@-[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:]:58) -[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] (@-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:]:30) __62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44 (@__62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44:39) IOGPUNotificationQueueDispatchAvailableCompletionNotifications (@IOGPUNotificationQueueDispatchAvailableCompletionNotifications:35) __IOGPUNotificationQueueSetDispatchQueue_block_invoke (@__IOGPUNotificationQueueSetDispatchQueue_block_invoke:19) _dispatch_client_callout4 (@_dispatch_client_callout4:8) _dispatch_mach_msg_invoke (@_dispatch_mach_msg_invoke:120) _dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97) _dispatch_mach_invoke (@_dispatch_mach_invoke:115) _dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97) _dispatch_lane_invoke (@_dispatch_lane_invoke:112) _dispatch_lane_serial_drain (@_dispatch_lane_serial_drain:97) _dispatch_lane_invoke (@_dispatch_lane_invoke:99) _dispatch_workloop_worker_thread (@_dispatch_workloop_worker_thread:166) _pthread_wqthread (@_pthread_wqthread:75) ``` Happens in seemingly random places in Blender's code: ```lines=10 gleUseProgramObject (@gleUseProgramObject:29) glUseProgramObjectARB_Exec (@glUseProgramObjectARB_Exec:59) blender::gpu::GLShader::bind() (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/opengl/gl_shader.cc:1020) ::GPU_shader_bind(GPUShader *) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_shader.cc:512) draw_shgroup (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1007) drw_draw_pass_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1208) DRW_draw_pass (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager_exec.c:1248) ::OVERLAY_background_draw(OVERLAY_Data *) (/Users/germanocavalcante/blender-git/blender/source/blender/draw/engines/overlay/overlay_background.cc:112) OVERLAY_draw_scene(void*) (/Users/germanocavalcante/blender-git/blender/source/blender/draw/engines/overlay/overlay_engine.cc:588) drw_engines_draw_scene (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1109) DRW_draw_render_loop_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1764) DRW_draw_view (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1636) view3d_draw_view(bContext const*, ARegion*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1551) ::view3d_main_region_draw(const bContext *, ARegion *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1585) ED_region_do_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/screen/area.c:546) wm_draw_window_offscreen (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:959) wm_draw_window (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1124) wm_draw_update (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1384) WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:647) main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585) ``` Also: ```lines=10 _platform_memmove (@_platform_memmove:3) ___lldb_unnamed_symbol1964 (@___lldb_unnamed_symbol1964:31) ___lldb_unnamed_symbol3073 (@___lldb_unnamed_symbol3073:234) ___lldb_unnamed_symbol2657 (@___lldb_unnamed_symbol2657:1881) ___lldb_unnamed_symbol2674 (@___lldb_unnamed_symbol2674:52) gldRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*) (@gldRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*):3502) glDrawArraysInstanced_ACC_GL3Exec (@glDrawArraysInstanced_ACC_GL3Exec:97) blender::gpu::GLBatch::draw(int, int, int, int) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/opengl/gl_batch.cc:322) ::GPU_batch_draw_advanced(GPUBatch *, int, int, int, int) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_batch.cc:300) ::GPU_batch_draw(GPUBatch *) (/Users/germanocavalcante/blender-git/blender/source/blender/gpu/intern/gpu_batch.cc:256) icon_draw_texture(float, float, float, float, int, int, int, int, float, float const*, bool, IconTextOverlay const*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:1825) icon_draw_size(float, float, int, float, float, eIconSizes, int, float, unsigned char const*, bool, IconTextOverlay const*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:1968) ::UI_icon_draw_ex(float, float, int, float, float, float, const uchar *, const bool, const IconTextOverlay *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:2530) ::UI_icon_draw_alpha(float, float, int, float) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/interface/interface_icons.cc:2500) button2d_draw_intern (/Users/germanocavalcante/blender-git/blender/source/blender/editors/gizmo_library/gizmo_types/button2d_gizmo.c:268) gizmo_button2d_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/gizmo_library/gizmo_types/button2d_gizmo.c:290) gizmos_draw_list (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c:469) WM_gizmomap_draw (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c:494) DRW_draw_gizmo_2d (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_view.c:292) DRW_draw_callbacks_post_scene (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1543) DRW_draw_render_loop_ex (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1775) DRW_draw_view (/Users/germanocavalcante/blender-git/blender/source/blender/draw/intern/draw_manager.c:1636) view3d_draw_view(bContext const*, ARegion*) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1551) ::view3d_main_region_draw(const bContext *, ARegion *) (/Users/germanocavalcante/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.cc:1585) ED_region_do_draw (/Users/germanocavalcante/blender-git/blender/source/blender/editors/screen/area.c:546) wm_draw_window_offscreen (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:959) wm_draw_window (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1124) wm_draw_update (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:1384) WM_main (/Users/germanocavalcante/blender-git/blender/source/blender/windowmanager/intern/wm.c:647) main (/Users/germanocavalcante/blender-git/blender/source/creator/creator.c:585) ``` It doesn't happen with the `Metal` backend. Regression introduced in 3.4 between `c5feb4e6fe`(15 Aug ) and `109cc14dba`(13 Sep)

Added subscriber: @Michael-Parkin-White-Apple

Added subscriber: @Michael-Parkin-White-Apple
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

@mano-wii, what is not clear to me is if it is also reproducable in 3.5?

@mano-wii, what is not clear to me is if it is also reproducable in 3.5?

@Jeroen-Bakker, I have to check again. But it certainly is reproducible in 3.5 as I usually start testing from that one.
(The mention of the "introduced in 3.4 between c5feb4e6fe and 109cc14dba" is to facilitate the bisect that I can do later - or anyone else).

@Jeroen-Bakker, I have to check again. But it certainly is reproducible in 3.5 as I usually start testing from that one. (The mention of the "introduced in 3.4 between `c5feb4e6fe` and `109cc14dba`" is to facilitate the bisect that I can do later - or anyone else).
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:11:52 +01:00

I was able to reproduce this with the OpenGL backend in latest 3.5.0 branch, but not with the Metal backend. When debugging in OpenGL, the console reports Command buffer failures due to GPU hang:

2023-02-09 17:11:47.183928+0000 Blender[11529:109675] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang)

Stack traces may not always correlate to the problem, as GPU work execution wont always be in sync with the host CPU side, if crash occurs immediately. Otherwise, crash will occur at the next GPU command flush.

As for the actual error, likely occurs if the firmware detects an infinite loop within a shader. Or possibly a circular resource dependency which deadlocks commands. (e.g. two passes submitted which end up being dependent on each other).

Best current guess is an issue with OVERLAY_shader_wireframe in OpenGL. Possible causes could be OOB buffer reads/misformatted vertex buffers etc;

I was able to reproduce this with the OpenGL backend in latest 3.5.0 branch, but not with the Metal backend. When debugging in OpenGL, the console reports Command buffer failures due to GPU hang: ``` 2023-02-09 17:11:47.183928+0000 Blender[11529:109675] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (00000003:kIOGPUCommandBufferCallbackErrorHang) ``` Stack traces may not always correlate to the problem, as GPU work execution wont always be in sync with the host CPU side, if crash occurs immediately. Otherwise, crash will occur at the next GPU command flush. As for the actual error, likely occurs if the firmware detects an infinite loop within a shader. Or possibly a circular resource dependency which deadlocks commands. (e.g. two passes submitted which end up being dependent on each other). Best current guess is an issue with `OVERLAY_shader_wireframe` in OpenGL. Possible causes could be OOB buffer reads/misformatted vertex buffers etc;
Brecht Van Lommel added this to the 3.5 milestone 2023-02-15 10:26:16 +01:00

Any updates here? 3.5 enters Bcon4 (basically release candidate) in one week.

Any updates here? 3.5 enters Bcon4 (basically release candidate) in one week.

Can anyone confirm if this bug still exists in the latest daily 3.5 build?
https://builder.blender.org/download/daily/

It seems fixed for me there, testing with OpenGL backend on a Macbook Pro M1. It's been a month since the latest update and there have been a lot of fixes since. But I'm not able to reliably reproduce this so not sure. What I found:

macOS 13.0.1 macOS 13.2.1
Blender 3.4.1 ok crash
Blender 3.5 11b16c4ae3b9 ok ok
Can anyone confirm if this bug still exists in the latest daily 3.5 build? https://builder.blender.org/download/daily/ It seems fixed for me there, testing with OpenGL backend on a Macbook Pro M1. It's been a month since the latest update and there have been a lot of fixes since. But I'm not able to reliably reproduce this so not sure. What I found: | |macOS 13.0.1|macOS 13.2.1| |-|-|-| |Blender 3.4.1|ok|crash| |Blender 3.5 `11b16c4ae3b9`|ok|ok|

Also confirmed crash in 3.4.1 and no crash in 3.5 11b16c4ae3b9 on my Macbook Air M1 with macOS 13.0.0.

So I will assume this is fixed unless some can still get it to crash.

Also confirmed crash in 3.4.1 and no crash in 3.5 `11b16c4ae3b9` on my Macbook Air M1 with macOS 13.0.0. So I will assume this is fixed unless some can still get it to crash.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-03-17 22:57:36 +01:00
Brecht Van Lommel added
Status
Resolved
and removed
Status
Archived
labels 2023-03-17 22:57:56 +01:00
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#104242
No description provided.