Exit code 134 at "Updating Shaders" on CPU rendering #114103

Open
opened 2023-10-24 14:50:05 +02:00 by Curantil · 7 comments

System Information
Operating system: Fedora 38
Graphics card: GeForce GTX 1080 Ti

Blender Version
Broken: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: 21bfc5e7fe3f, 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e and from Fedora: blender-1:3.6.4-2.fc38.x86_64
Worked: On Ubuntu: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: 21bfc5e7fe3f, 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e

Short description of error
Rendering accompanying file sometimes causes a crash when "Updating Shaders"

Exact steps for others to reproduce the error
Executing the following command sometimes causes the render to crash at "Updating Shaders". It happens around 10% - 30% of the time.
blender -b scene0d.blend -o //test -F PNG -x 1 -f 0

  • Removing the BaseColor and Normal inputs from the Box_Material seems to mitigate the problem.
  • This only seems to happen when rendering on CPU. (Cycles)
  • It also happens when rendering from the GUI
  • Seems to happen on Fedora, but not Ubuntu
**System Information** Operating system: Fedora 38 Graphics card: GeForce GTX 1080 Ti **Blender Version** Broken: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: `21bfc5e7fe3f`, 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: `cf1e1ed46b7e` and from Fedora: blender-1:3.6.4-2.fc38.x86_64 Worked: On Ubuntu: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: `21bfc5e7fe3f`, 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: `cf1e1ed46b7e` **Short description of error** Rendering accompanying file sometimes causes a crash when "Updating Shaders" **Exact steps for others to reproduce the error** Executing the following command sometimes causes the render to crash at "Updating Shaders". It happens around 10% - 30% of the time. `blender -b scene0d.blend -o //test -F PNG -x 1 -f 0` - Removing the BaseColor and Normal inputs from the Box_Material seems to mitigate the problem. - This only seems to happen when rendering on CPU. (Cycles) - It also happens when rendering from the GUI - Seems to happen on Fedora, but not Ubuntu
Curantil added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-10-24 14:50:06 +02:00

Can't replicate
version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b, type: release
build date: 2023-10-19, 01:09:47
platform: 'Windows-10-10.0.23570-SP0'
CPU device capabilities: SSE2 SSE41 AVX2

Can't replicate version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e, type: release build date: 2023-10-19, 01:09:47 platform: 'Windows-10-10.0.23570-SP0' CPU device capabilities: SSE2 SSE41 AVX2
Member

Hi, thanks for the report. Unable to confirm either in 4.1
Does this happen without OSL option?
Could you share full logs, it may reveal few things: https://docs.blender.org/manual/en/dev/troubleshooting/crash.html#linux

**System Information**
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 532.03
Hi, thanks for the report. Unable to confirm either in 4.1 Does this happen without OSL option? Could you share full logs, it may reveal few things: https://docs.blender.org/manual/en/dev/troubleshooting/crash.html#linux ``` **System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 532.03 ```
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-11-03 11:54:36 +01:00
Author

It doesn't seem to happen without OSL.

Blender doesn't seem to log to /tmp as the documentation mentions it should do. There are some empty blender_ directories and a quit.blend in there.

Running it with --factory-startup --debug-all gives this as output tough:

$ blender -b scene0d.blend  -o //test -F PNG  -x 1 -f 0 --factory-startup --debug-all
Switching to fully guarded memory allocator.
Blender 3.6.4 (hash 21bfc5e7fe3f built 2023-09-25 23:31:10)
graph_id_tag_update: id=SCScene flags=BASE_FLAGS source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
... (cut for brevity) ...
[RENDER]: BKE_object_data_select_update on MECube.002 (0x7fb286635e38)
[RENDER]: BKE_object_select_update on OBground_shadow_catcher (0x7fb291e11838)
[RENDER]: BKE_object_data_select_update on MEPlane.001 (0x7fb282c1f538)
Depsgraph updated in 0.001406 seconds.
Depsgraph evaluation FPS: -nan
I1113 15:46:21.872357 2644956 device_impl.cpp:62] Using AVX2 CPU kernels.
I1113 15:46:21.873657 2644956 osl.cpp:304] Using shader search path: /usr/data/wlemkens/programs/blender-3.6.4-linux-x64/3.6/scripts/addons/cycles/shader
I1113 15:46:21.873883 2644956 device_impl.cpp:62] Using AVX2 CPU kernels.
Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | ground
Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | Cube
Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | Cube.002
Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Initializing
graph_id_tag_update: id=OBCamera flags=GEOMETRY source=USER_EDIT
graph_id_tag_update: id=OBCamera flags=GEOMETRY source=USER_EDIT
... (cut for brevity) ...
113 15:46:21.901995 2644997 scene.cpp:565] Use Volume False
I1113 15:46:21.902007 2644997 scene.cpp:566] Use Patch Evaluation False
I1113 15:46:21.902024 2644997 scene.cpp:568] Use Shadow Catcher True
Fra:0 Mem:23.08M (Peak 39.62M) | Time:00:00.03 | Mem:8.00M, Peak:8.00M | Scene, View Layer | Updating Scene
Fra:0 Mem:23.08M (Peak 39.62M) | Time:00:00.03 | Mem:8.00M, Peak:8.00M | Scene, View Layer | Updating Shaders
I1113 15:46:21.902063 2644997 osl.cpp:107] Total 8 shaders.
I1113 15:46:21.921154 2644997 image_oiio.cpp:21] File '' does not exist.
Aborted (core dumped)

The File '' does not exist. also happens in a successful run.
However, the I1113 15:46:21.873657 2644956 osl.cpp:304] Using shader search path: /usr/data/wlemkens/programs/blender-3.6.4-linux-x64/3.6/scripts/addons/cycles/shader doesn't seem to be in the output of a successful run.

[Edit] Added full output of failing run and successful run as attachment.

It doesn't seem to happen without OSL. Blender doesn't seem to log to /tmp as the documentation mentions it should do. There are some empty blender_<hash> directories and a quit.blend in there. Running it with `--factory-startup --debug-all` gives this as output tough: ``` $ blender -b scene0d.blend -o //test -F PNG -x 1 -f 0 --factory-startup --debug-all Switching to fully guarded memory allocator. Blender 3.6.4 (hash 21bfc5e7fe3f built 2023-09-25 23:31:10) graph_id_tag_update: id=SCScene flags=BASE_FLAGS source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT ... (cut for brevity) ... [RENDER]: BKE_object_data_select_update on MECube.002 (0x7fb286635e38) [RENDER]: BKE_object_select_update on OBground_shadow_catcher (0x7fb291e11838) [RENDER]: BKE_object_data_select_update on MEPlane.001 (0x7fb282c1f538) Depsgraph updated in 0.001406 seconds. Depsgraph evaluation FPS: -nan I1113 15:46:21.872357 2644956 device_impl.cpp:62] Using AVX2 CPU kernels. I1113 15:46:21.873657 2644956 osl.cpp:304] Using shader search path: /usr/data/wlemkens/programs/blender-3.6.4-linux-x64/3.6/scripts/addons/cycles/shader I1113 15:46:21.873883 2644956 device_impl.cpp:62] Using AVX2 CPU kernels. Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | ground Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | Cube Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Synchronizing object | Cube.002 Fra:0 Mem:15.62M (Peak 18.06M) | Time:00:00.00 | Mem:0.00M, Peak:0.00M | Scene, View Layer | Initializing graph_id_tag_update: id=OBCamera flags=GEOMETRY source=USER_EDIT graph_id_tag_update: id=OBCamera flags=GEOMETRY source=USER_EDIT ... (cut for brevity) ... 113 15:46:21.901995 2644997 scene.cpp:565] Use Volume False I1113 15:46:21.902007 2644997 scene.cpp:566] Use Patch Evaluation False I1113 15:46:21.902024 2644997 scene.cpp:568] Use Shadow Catcher True Fra:0 Mem:23.08M (Peak 39.62M) | Time:00:00.03 | Mem:8.00M, Peak:8.00M | Scene, View Layer | Updating Scene Fra:0 Mem:23.08M (Peak 39.62M) | Time:00:00.03 | Mem:8.00M, Peak:8.00M | Scene, View Layer | Updating Shaders I1113 15:46:21.902063 2644997 osl.cpp:107] Total 8 shaders. I1113 15:46:21.921154 2644997 image_oiio.cpp:21] File '' does not exist. Aborted (core dumped) ``` The `File '' does not exist.` also happens in a successful run. However, the `I1113 15:46:21.873657 2644956 osl.cpp:304] Using shader search path: /usr/data/wlemkens/programs/blender-3.6.4-linux-x64/3.6/scripts/addons/cycles/shader` doesn't seem to be in the output of a successful run. [Edit] Added full output of failing run and successful run as attachment.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-12-28 08:12:57 +01:00
Member

Can replicate a crash in 3.6.4 and 3.6.7 as well as 4.0.0 from the commandline during the Updating Shaders step

However 4.0.1 onwards seems to have fixed this

@Curantil : can you confirm this is fixed in recent versions of blender? You could also try a fresh 4.0 build from https://builder.blender.org/download/daily/

Can replicate a crash in 3.6.4 and 3.6.7 as well as 4.0.0 from the commandline during the `Updating Shaders` step However 4.0.1 onwards seems to have fixed this @Curantil : can you confirm this is fixed in recent versions of blender? You could also try a fresh 4.0 build from https://builder.blender.org/download/daily/
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-01-02 12:48:12 +01:00
Author

@lichtwerk I still can reproduce the problem in blender 4.0.0, 4.0.1, 4.0.2 and also on the 4.1.0 alpha nightly build (268f93d763)

@lichtwerk I still can reproduce the problem in blender 4.0.0, 4.0.1, 4.0.2 and also on the 4.1.0 alpha nightly build (268f93d7639b)
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-01-08 09:53:53 +01:00
Member

I assume this was closed by accident?

I assume this was closed by accident?
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2024-01-09 13:50:32 +01:00
Author

I assume this was closed by accident?

I probably clicked the wrong button for submitting my reply. Sorry.

> I assume this was closed by accident? I probably clicked the wrong button for submitting my reply. Sorry.
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
4 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#114103
No description provided.