Frequent render crashes in 3.5 #107110

Closed
opened 2023-04-19 01:02:59 +02:00 by Christopher Tyler · 17 comments

System Information
Operating system: macOS-12.3.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5500M 1.2

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: (newest version of Blender that worked as expected)

Short description of error
I've been encountering a lot of crashes in 3.5 when rendering in the background. Meaning I start a rendering, and move over to something like a browser. At random time Blender 3.5 just crashes. I've included a crash log file.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: macOS-12.3.1-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon Pro 5500M 1.2 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: (newest version of Blender that worked as expected) **Short description of error** I've been encountering a lot of crashes in 3.5 when rendering in the background. Meaning I start a rendering, and move over to something like a browser. At random time Blender 3.5 just crashes. I've included a crash log file. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
Christopher Tyler added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-19 01:03:00 +02:00

@Christopher-Tyler And when using Blender to render in the background, are you using the GUI approach which you may or may not have hidden using Cmd-H, or are you using the Terminal approach?

@Christopher-Tyler And when using Blender to render in the background, are you using the GUI approach which you may or may not have hidden using Cmd-H, or are you using the Terminal approach?
Member

Also, which render engine you're using?
Call stack from crashed thread:

Thread 63 Crashed:
0 libsystem_c.dylib 0x7ff80d1bcddc __abort + 169
1 libsystem_c.dylib 0x7ff80d1bcd33 abort + 138
2 libsystem_c.dylib 0x7ff80d1bc0cb __assert_rtn + 314
3 Metal 0x7ff815ccd244 MTLReportFailure.cold.1 + 43
4 Metal 0x7ff815cb7715 MTLReportFailure + 529
5 Metal 0x7ff815c0f411 -[_MTLCommandEncoder dealloc] + 123
6 libobjc.A.dylib 0x7ff80d10b14a 
AutoreleasePoolPage::releaseUntil(objc_object**) + 164
7 libobjc.A.dylib 0x7ff80d107f8f objc_autoreleasePoolPop + 168
8 libobjc.A.dylib 0x7ff80d10f1e1 
AutoreleasePoolPage::tls_dealloc(void*) + 91
9 libsystem_pthread.dylib 0x7ff80d26f567 _pthread_tsd_cleanup + 487
10 libsystem_pthread.dylib 0x7ff80d271b89 _pthread_exit + 70
11 libsystem_pthread.dylib 0x7ff80d2714ec _pthread_start + 136
12 libsystem_pthread.dylib 0x7ff80d26cf6b thread_start + 15
Also, which render engine you're using? Call stack from crashed thread: ``` Thread 63 Crashed: 0 libsystem_c.dylib 0x7ff80d1bcddc __abort + 169 1 libsystem_c.dylib 0x7ff80d1bcd33 abort + 138 2 libsystem_c.dylib 0x7ff80d1bc0cb __assert_rtn + 314 3 Metal 0x7ff815ccd244 MTLReportFailure.cold.1 + 43 4 Metal 0x7ff815cb7715 MTLReportFailure + 529 5 Metal 0x7ff815c0f411 -[_MTLCommandEncoder dealloc] + 123 6 libobjc.A.dylib 0x7ff80d10b14a AutoreleasePoolPage::releaseUntil(objc_object**) + 164 7 libobjc.A.dylib 0x7ff80d107f8f objc_autoreleasePoolPop + 168 8 libobjc.A.dylib 0x7ff80d10f1e1 AutoreleasePoolPage::tls_dealloc(void*) + 91 9 libsystem_pthread.dylib 0x7ff80d26f567 _pthread_tsd_cleanup + 487 10 libsystem_pthread.dylib 0x7ff80d271b89 _pthread_exit + 70 11 libsystem_pthread.dylib 0x7ff80d2714ec _pthread_start + 136 12 libsystem_pthread.dylib 0x7ff80d26cf6b thread_start + 15 ```
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-19 12:25:25 +02:00

Everything was done from the user interface. I was using Cycles. I will do some more testing today to see if I can find a specific pattern. But yesterday I crashed probably 5 times over a several hour period.

Everything was done from the user interface. I was using Cycles. I will do some more testing today to see if I can find a specific pattern. But yesterday I crashed probably 5 times over a several hour period.

It just happened again. I started a rendering, it went for several minutes. I hid Blender, went to a browser, then came back to Blender to look at the progress, then went back to the browser, but this time I didn't hide Blender. About 30 seconds later, I got the same crash. I've included that log.

It just happened again. I started a rendering, it went for several minutes. I hid Blender, went to a browser, then came back to Blender to look at the progress, then went back to the browser, but this time I didn't hide Blender. About 30 seconds later, I got the same crash. I've included that log.

Here it is again. I start a Cycles render, then move to a browser. In this case after about 5 or 6 minutes, it just crashed.

Here it is again. I start a Cycles render, then move to a browser. In this case after about 5 or 6 minutes, it just crashed.

I just had the same crash, but this time I started the rendering but decided to keep Blender in the foreground, without any application switching. The file crashed again several minutes into the rendering. I'll upload the actual blender file as maybe there's something specific about it, but it's a relatively simple file.

I just had the same crash, but this time I started the rendering but decided to keep Blender in the foreground, without any application switching. The file crashed again several minutes into the rendering. I'll upload the actual blender file as maybe there's something specific about it, but it's a relatively simple file.

Here's the file. I'm always invoking the rendering using F12.

Here's the file. I'm always invoking the rendering using F12.
Member

Thanks for the info. So crash is happening when you minimize the blender application during rendering, right?
Please check whether crash happens with CPU device rendering?


@mano-wii , can you reproduce it locally?

Thanks for the info. So crash is happening when you minimize the blender application during rendering, right? Please check whether crash happens with CPU device rendering? - - - @mano-wii , can you reproduce it locally?

Thanks for the info. So crash is happening when you minimize the blender application during rendering, right?

No, one of the reports I submitted happened without minimizing or switching to another application. I just started the rendering and then didn't do anything else. I kept Blender in the foreground. And then the crash just randomly happened after a few minutes.

> Thanks for the info. So crash is happening when you minimize the blender application during rendering, right? No, one of the reports I submitted happened without minimizing or switching to another application. I just started the rendering and then didn't do anything else. I kept Blender in the foreground. And then the crash just randomly happened after a few minutes.

@Christopher-Tyler, Is the crash consistent? Could you simplify the file (by removing most objects and disabling settings) in order to narrow down the problem?

I can't replicate the problem. Maybe it only happens with GPUs from AMD.

Could it be related to #106657?

@iss, can you reproduce it?

@Christopher-Tyler, Is the crash consistent? Could you simplify the file (by removing most objects and disabling settings) in order to narrow down the problem? I can't replicate the problem. Maybe it only happens with GPUs from AMD. Could it be related to #106657? @iss, can you reproduce it?

@Christopher-Tyler, Is the crash consistent? Could you simplify the file (by removing most objects and disabling settings) in order to narrow down the problem?

I can't replicate the problem. Maybe it only happens with GPUs from AMD.

I have been rendering in GPU mode and the crash was pretty consistent. I've just switched over to CPU mode and so far I haven't had a crash.

> @Christopher-Tyler, Is the crash consistent? Could you simplify the file (by removing most objects and disabling settings) in order to narrow down the problem? > > I can't replicate the problem. Maybe it only happens with GPUs from AMD. I have been rendering in GPU mode and the crash was pretty consistent. I've just switched over to CPU mode and so far I haven't had a crash.

Running render job for about 30 minutes and so far no crash, so can't confirm the issue.

Running render job for about 30 minutes and so far no crash, so can't confirm the issue.

I have Cycles crashing when rendering animations. After about 200 frames it crashes, so I have to force quit and continue render at the frame it crashed. I use GPU metal renderer. Im on a Mac Studio Ultra. This has happened on different projects.

It has also happened that it has gone through all the frames, but after like 200 the rest are blank or just corrupt files.

I have Cycles crashing when rendering animations. After about 200 frames it crashes, so I have to force quit and continue render at the frame it crashed. I use GPU metal renderer. Im on a Mac Studio Ultra. This has happened on different projects. It has also happened that it has gone through all the frames, but after like 200 the rest are blank or just corrupt files.

I can't render reliably in 3.5 using GPU on MacOS. Hoping 3.5.1 fixes whatever is going on.

I can't render reliably in 3.5 using GPU on MacOS. Hoping 3.5.1 fixes whatever is going on.
Member

Sorry this has been lying around.

Do the crashes persist in 3.6.7 LTS and/or 4.0.2?
(cont test this myself since I am not on MAC -- but give the fact we had fixes in this area might be worth checking newer blender versions here...)

Sorry this has been lying around. Do the crashes persist in 3.6.7 LTS and/or 4.0.2? (cont test this myself since I am not on MAC -- but give the fact we had fixes in this area might be worth checking newer blender versions here...)
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-01-02 14:40:47 +01:00

Hi! I would say Blender v4 renders just fine through all frames without crashing now. Mac Studio Ultra M1, Macos Sonoma 14.2.1
I just wish I had the M3 hardware raytracing now :-D

Hi! I would say Blender v4 renders just fine through all frames without crashing now. Mac Studio Ultra M1, Macos Sonoma 14.2.1 I just wish I had the M3 hardware raytracing now :-D
Member

Thx getting back!

I think we can close this now then? (will do but feel free to comment again if issues creep up again)

Thx getting back! I think we can close this now then? (will do but feel free to comment again if issues creep up again)
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-01-02 15:08:53 +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#107110
No description provided.