Segmentation Fault when rendering with Cycles on 2.92 #87724

Closed
opened 2021-04-22 20:25:45 +02:00 by Francisco Medina · 16 comments

System Information
Operating system: Linux Mint 20.1 Cinnamon, Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD Radeon RX 570 Series ATI Technologies Inc. 4.5.14735 Core Profile Context 21.10 (Driver: amdgpu 21.10)

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: 2.83.13 LTS, 2.83.14-d35974cd870b, (all previous LTS at this date)

Short description of error
Blender crashes with "Segmentation Fault (core dumped)" when rendering using Cycles and GPU Rendering

Exact steps for others to reproduce the error

  1. Open Blender
  2. Go to "Render Properties" and switch the engine to Cycles
  3. Switch the "Device" option to GPU Compute
  4. Make sure your graphics card is selected and enabled on Preferences > System
  5. Switch to Viewport Shading or start a normal rendering of the actual default cube
  6. After a couple minutes while compiling the render kernels, Blender should crash with a Segmentation Fault on console

Below i'll leave the blender.crash.txt generated:
blender.crash.txt

And the console output (with the flags --debug and --debug-cycles):
blenderconsoledump2.92.txt

And my system-info.txt:
system-info.txt

What i have tried

  • Upgrading and downgrading my GPU Driver
  • Clearing cycles cache ($HOME/.cache/cycles) before rendering
  • Switching to Experimental on Cycles options under the Render Properties
  • Running as root

CPU Rendering with Cycles and EEVEE runs fine without problems, only when using GPU Rendering problems start to appear.
All LTS versions of Blender at this date runs fine without these problems at all.
I don't have a Windows PC with me right now for test, might update in a while when i have access to it.

On Blender 2.93 and 3.0.0 this bug doesn't take effect, but there's a new different bug by doing the same steps on those versions which you can see here

**System Information** Operating system: Linux Mint 20.1 Cinnamon, Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: AMD Radeon RX 570 Series ATI Technologies Inc. 4.5.14735 Core Profile Context 21.10 (Driver: amdgpu 21.10) **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: 2.83.13 LTS, 2.83.14-d35974cd870b, (all previous LTS at this date) **Short description of error** Blender crashes with "Segmentation Fault (core dumped)" when rendering using Cycles and GPU Rendering **Exact steps for others to reproduce the error** 1) Open Blender 2) Go to "Render Properties" and switch the engine to Cycles 3) Switch the "Device" option to GPU Compute 4) Make sure your graphics card is selected and enabled on Preferences > System 5) Switch to Viewport Shading or start a normal rendering of the actual default cube 6) After a couple minutes while compiling the render kernels, Blender should crash with a Segmentation Fault on console Below i'll leave the blender.crash.txt generated: [blender.crash.txt](https://archive.blender.org/developer/F10032814/blender.crash.txt) And the console output (with the flags --debug and --debug-cycles): [blenderconsoledump2.92.txt](https://archive.blender.org/developer/F10032815/blenderconsoledump2.92.txt) And my system-info.txt: [system-info.txt](https://archive.blender.org/developer/F10032817/system-info.txt) **What i have tried** - Upgrading and downgrading my GPU Driver - Clearing cycles cache ($HOME/.cache/cycles) before rendering - Switching to Experimental on Cycles options under the Render Properties - Running as root CPU Rendering with Cycles and EEVEE runs fine without problems, only when using GPU Rendering problems start to appear. All LTS versions of Blender at this date runs fine without these problems at all. I don't have a Windows PC with me right now for test, might update in a while when i have access to it. On Blender 2.93 and 3.0.0 this bug doesn't take effect, but there's a new different bug by doing the same steps on those versions which you can see [here ](https://developer.blender.org/T87726)

Added subscriber: @PANCHO7532

Added subscriber: @PANCHO7532
Francisco Medina changed title from Segmentation Fault when rendering with Cycles on 2.92+ to Segmentation Fault when rendering with Cycles on 2.92 2021-04-22 20:50:05 +02:00

Added subscriber: @zipy124

Added subscriber: @zipy124

I am also getting a segmentation fault when using cycles, however under CPU rendering not GPU. Running fedora 33 (kernel 5.11.13-200.fc33.x86_64) on an Intel® Core™ i5-8350U CPU under wayland.blender.crash.txt

I am also getting a segmentation fault when using cycles, however under CPU rendering not GPU. Running fedora 33 (kernel 5.11.13-200.fc33.x86_64) on an Intel® Core™ i5-8350U CPU under wayland.[blender.crash.txt](https://archive.blender.org/developer/F10047730/blender.crash.txt)

Added subscriber: @enenra

Added subscriber: @enenra

System Information
Operating system: Linux-5.12.1-custom-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-slackware-14.2 64 Bits
Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.12.1-custom, LLVM 11.1.0) AMD 4.6 (Core Profile) Mesa 21.0.3

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: (newest version of Blender that worked as expected)

Short description of error
I have the same issue.

./blender --debug-gpu
Read prefs: /home/sanjuro/.config/blender/2.92/config/userpref.blend
Cycles: compiling OpenCL program background...
Cycles: compiling OpenCL program background...
Writing: /tmp/blender.crash.txt
Segmentation fault
**System Information** Operating system: Linux-5.12.1-custom-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-slackware-14.2 64 Bits Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.12.1-custom, LLVM 11.1.0) AMD 4.6 (Core Profile) Mesa 21.0.3 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: (newest version of Blender that worked as expected) **Short description of error** I have the same issue. ``` ./blender --debug-gpu Read prefs: /home/sanjuro/.config/blender/2.92/config/userpref.blend Cycles: compiling OpenCL program background... Cycles: compiling OpenCL program background... Writing: /tmp/blender.crash.txt Segmentation fault ```

Added subscriber: @clusterlight

Added subscriber: @clusterlight

Added subscriber: @rohan.stevenson

Added subscriber: @rohan.stevenson

I am also getting the same fault rendering in command line mode rendering both cycles and eevee. (Cycles Scene 1, Eevee scene 2). I can render about 10 frames before blender crashes with this fault. The renders themselves - ie the rendered frames before the crash - are all fine.

I should add that the cycles render is using Optix GPU and CPU.

I have also been having problems with blender not rendering in UI mode and more recently not rendering at all - hanging on updating objects flags. I do not know if the are related: https://developer.blender.org/T88435

I have not tried the recent file (segmentation fault and core dump) on a different machine as yet. The machine I am running:

Ryzen 3950X, 64 Gb, NVIDIA RTX 3070, Linux Ubuntu (latest).
Blender 2.93

Crash text: 25 Minisub Chases Nautilus.crash.txt.zip

I am also getting the same fault rendering in command line mode rendering both cycles and eevee. (Cycles Scene 1, Eevee scene 2). I can render about 10 frames before blender crashes with this fault. The renders themselves - ie the rendered frames before the crash - are all fine. I should add that the cycles render is using Optix GPU and CPU. I have also been having problems with blender not rendering in UI mode and more recently not rendering at all - hanging on updating objects flags. I do not know if the are related: https://developer.blender.org/T88435 I have not tried the recent file (segmentation fault and core dump) on a different machine as yet. The machine I am running: Ryzen 3950X, 64 Gb, NVIDIA RTX 3070, Linux Ubuntu (latest). Blender 2.93 Crash text: [25 Minisub Chases Nautilus.crash.txt.zip](https://archive.blender.org/developer/F10162594/25_Minisub_Chases_Nautilus.crash.txt.zip)

I have more information on this problem.

I am not getting any segmentation faults on the machines running windows. This appears to be a problem with linux. I have updated the driver (clean install) to the latest 465 NVIDIA driver and the problem has improved but not gone away altogether. The machines running Windows are approximately half as powerful as my main machine in the post above. The 2 machines I tried were i7 8-core 128 Gb RAM RTX 2060, and a Ryzen 8-core 32 Gb, RTX 2070 Super.

I have more information on this problem. I am not getting any segmentation faults on the machines running windows. This appears to be a problem with linux. I have updated the driver (clean install) to the latest 465 NVIDIA driver and the problem has improved but not gone away altogether. The machines running Windows are approximately half as powerful as my main machine in the post above. The 2 machines I tried were i7 8-core 128 Gb RAM RTX 2060, and a Ryzen 8-core 32 Gb, RTX 2070 Super.

Hello, is there any update on this problem?

I am unable to render more than a few frames on linux using a 3950X Ryzen 16-core 64 Gb RAM and an RTX 3070, where as my old Windows machine i7 8-core with RTX 2060 is able render without crashing. I note that this bug is set to "needs triage" - do we have a time frame or any further information that might help us work around this until this is fixed?

I am going to have to re-install windows on the main machine....shame.

Hello, is there any update on this problem? I am unable to render more than a few frames on linux using a 3950X Ryzen 16-core 64 Gb RAM and an RTX 3070, where as my old Windows machine i7 8-core with RTX 2060 is able render without crashing. I note that this bug is set to "needs triage" - do we have a time frame or any further information that might help us work around this until this is fixed? I am going to have to re-install windows on the main machine....shame.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

The crash happens in the OpenCL driver, which is most likely fixed in 91c44fe885. Can you update your drivers and try 2.93?

The crash happens in the OpenCL driver, which is most likely fixed in 91c44fe885. Can you update your drivers and try 2.93?

Added subscriber: @brecht

Added subscriber: @brecht

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

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

The original report states that 2.93 works, but has a different problem reported elsewhere.

As we are no longer fixing bugs in 2.92, there is no point keeping this bug report open for that purpose.

There were potentially different bugs reported in the comments, those should be handled as their own bug report.

The original report states that 2.93 works, but has a different problem reported elsewhere. As we are no longer fixing bugs in 2.92, there is no point keeping this bug report open for that purpose. There were potentially different bugs reported in the comments, those should be handled as their own bug report.
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#87724
No description provided.