Material preview and rendered buttons crashes the program. #101675

Closed
opened 2022-10-07 14:12:54 +02:00 by Tyler · 40 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits

Graphics card: Driver:
AMD Radeon RX 5500 4.5.0 Core Profile Context 22.20.16.04.220811
AMD Radeon RX 6600 XT 4.5.0 Core Profile Context 22.20.16.04.220811
AMD Radeon RX 6600 XT 4.5.0 Core Profile Context 22.20.18.220726
AMD Radeon RX 6800 XT 4.5.0 Core Profile Context 22.20.18.220726
blender_system_info.txt

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: (newest version of Blender that worked as expected)

Short description of error
Material preview and rendered buttons top right crashes the program.
Apparently the problem happens because the closure_eval function already has a body:

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile FragShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile FragShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

blender_debug_output.txt

Exact steps for others to reproduce the error

  • Open Blender's 2D animation template
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits |Graphics card:|Driver: |---|--- |AMD Radeon RX 5500 | 4.5.0 Core Profile Context 22.20.16.04.220811 |AMD Radeon RX 6600 XT | 4.5.0 Core Profile Context 22.20.16.04.220811 |AMD Radeon RX 6600 XT | 4.5.0 Core Profile Context 22.20.18.220726 |AMD Radeon RX 6800 XT | 4.5.0 Core Profile Context 22.20.18.220726 [blender_system_info.txt](https://archive.blender.org/developer/F13643912/blender_system_info.txt) **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: (newest version of Blender that worked as expected) **Short description of error** Material preview and rendered buttons top right crashes the program. Apparently the problem happens because the `closure_eval` function already has a body: ```lines=20 ERROR (gpu.shader): GPU_material_compile VertShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile FragShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile VertShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile FragShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ``` [blender_debug_output.txt](https://archive.blender.org/developer/F13643911/blender_debug_output.txt) **Exact steps for others to reproduce the error** - Open Blender's 2D animation template
Author

Added subscriber: @thisisananimator1

Added subscriber: @thisisananimator1

#103892 was marked as duplicate of this issue

#103892 was marked as duplicate of this issue

#103665 was marked as duplicate of this issue

#103665 was marked as duplicate of this issue

#102546 was marked as duplicate of this issue

#102546 was marked as duplicate of this issue

#102416 was marked as duplicate of this issue

#102416 was marked as duplicate of this issue

#102099 was marked as duplicate of this issue

#102099 was marked as duplicate of this issue

#102069 was marked as duplicate of this issue

#102069 was marked as duplicate of this issue

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

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

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

Cannot confirm a crash with latest master and a AMD 5500 XT.

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Cannot confirm a crash with latest master and a AMD 5500 XT. Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author

blender_system_info.txt

blender_debug_output.txt

after crash these were the two files that we got. I couldn't figure out how to find the crash log though. The reports that I'm sending are from the crash that happened when I pressed material preview. Three more problems occur with this crash. The rendered button top right next to material preview, the 2d animation tab doesn't work, and the shading tab closes it out too.

[blender_system_info.txt](https://archive.blender.org/developer/F13643912/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13643911/blender_debug_output.txt) after crash these were the two files that we got. I couldn't figure out how to find the crash log though. The reports that I'm sending are from the crash that happened when I pressed material preview. Three more problems occur with this crash. The rendered button top right next to material preview, the 2d animation tab doesn't work, and the shading tab closes it out too.

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

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

Added subscriber: @fclem

Added subscriber: @fclem

Thanks for the files. @fclem Hey, Is the log provided helpful? It contains an error on top:

ERROR (gpu.debug): : GL_INVALID_FRAMEBUFFER_OPERATION : Cubemap Workaround End9

Thanks for the files. @fclem Hey, Is the log provided helpful? It contains an error on top: `ERROR (gpu.debug): : GL_INVALID_FRAMEBUFFER_OPERATION : Cubemap Workaround End9`

The crash itself is caused by the compilation failing. Try to run with --debug-gpu-force-workarounds.

The crash itself is caused by the compilation failing. Try to run with `--debug-gpu-force-workarounds`.
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

Can you redo the steps above but with the blender_debug_gpu_glitchworkaround.cmd file instead?

Can you redo the steps above but with the `blender_debug_gpu_glitchworkaround.cmd` file instead?
Member

Added subscriber: @Chillibeen

Added subscriber: @Chillibeen
Member

Added subscriber: @persun

Added subscriber: @persun
Member

Added subscribers: @LilChins, @LazyDodo, @PratikPB2123

Added subscribers: @LilChins, @LazyDodo, @PratikPB2123
Pratik Borhade changed title from Crash to Material preview and rendered buttons crashes the program. 2022-11-14 04:56:35 +01:00

Omar, I didn't see a response to your message. Since I have the same problem I did it with my pc. This is what I got when I chose the glitchworkaround

blender_system_info.txt
blender_debug_output.txt

Hope this helps!!

Omar, I didn't see a response to your message. Since I have the same problem I did it with my pc. This is what I got when I chose the glitchworkaround [blender_system_info.txt](https://archive.blender.org/developer/F13921097/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13921101/blender_debug_output.txt) Hope this helps!!
Member

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

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

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

The last log revealed the compilation error:

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile FragShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

ERROR (gpu.shader): GPU_material_compile FragShader: 
      | 
    1 | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
      | Error: 'closure_eval' : function already has a body 
      | 
      | #version 430
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
      | Error: '' : compilation terminated 
      | 
    2 | #extension GL_ARB_conservative_depth : enable
      | 
      | Error: compilation errors.  No code generated.

Apparently the problem happens because the closure_eval function already has a body.

But this report is still missing the steps to reproduce the problem.

Does this crash happen with any file?

The last log revealed the compilation error: ```lines=20 ERROR (gpu.shader): GPU_material_compile VertShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile FragShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile VertShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ERROR (gpu.shader): GPU_material_compile FragShader: | 1 | #version 430 | ^ | Error: 'closure_eval' : function already has a body | | #version 430 | ^ | Error: '' : compilation terminated | 2 | #extension GL_ARB_conservative_depth : enable | | Error: compilation errors. No code generated. ``` Apparently the problem happens because the `closure_eval` function already has a body. But this report is still missing the steps to reproduce the problem. Does this crash happen with any file?

I have found that It crashes when I try to open a 2D Animation file.

I have found that It crashes when I try to open a 2D Animation file.

Is there more or different information that is needed?

Is there more or different information that is needed?

In #101675#1448437, @LilChins wrote:
I have found that It crashes when I try to open a 2D Animation file.

Any 2D Animation file or would it be some specific file?
A guideline for making bug reports can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

> In #101675#1448437, @LilChins wrote: > I have found that It crashes when I try to open a 2D Animation file. Any 2D Animation file or would it be some specific file? A guideline for making bug reports can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

Any file. I start up blender and select 2D animation file. It then shuts down. But not to any specific file. Ive tried to open different 3D animation files and it crashes when I do the steps.

Any file. I start up blender and select 2D animation file. It then shuts down. But not to any specific file. Ive tried to open different 3D animation files and it crashes when I do the steps.
Contributor

In #101675#1453752, @LilChins wrote:
Any file. I start up blender and select 2D animation file. It then shuts down. But not to any specific file.

The 2D Animation template starts with Viewport Shading mode, so I think this is probably not about 2D Animation template but EEVEE.


Personally I don't experience any crash (Windows 10, RX570, driver: 22.10.1 & 22.11.1) but my report about volume artifact (#102099) was merged into this. Still not sure how these are related though.

Actually, looking at system info files (F13892502, F13769759, F13643912) everyone here experiencing the crash is using driver version 22.20.16. I guess this is for newer cards?

> In #101675#1453752, @LilChins wrote: > Any file. I start up blender and select 2D animation file. It then shuts down. But not to any specific file. The 2D Animation template starts with Viewport Shading mode, so I think this is probably not about 2D Animation template but EEVEE. --- Personally I don't experience any crash (Windows 10, RX570, driver: 22.10.1 & 22.11.1) but my report about volume artifact (#102099) was merged into this. Still not sure how these are related though. Actually, looking at system info files ([F13892502](https://archive.blender.org/developer/F13892502/blender_system_info.txt), [F13769759](https://archive.blender.org/developer/F13769759/blender_system_info.txt), [F13643912](https://archive.blender.org/developer/F13643912/blender_system_info.txt)) everyone here experiencing the crash is using driver version 22.20.16. I guess this is for newer cards?

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

I've updated the description, it seems to be enough information.

All that remains now is to test other versions of Blender. Preferably the latest daily build:
https://builder.blender.org/download/

And as this seems like a graphic driver issue. Please double-check if the drivers are up to date.
To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

I've updated the description, it seems to be enough information. All that remains now is to test other versions of Blender. Preferably the latest daily build: https://builder.blender.org/download/ And as this seems like a graphic driver issue. Please double-check if the drivers are up to date. To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

Added subscriber: @Phillipe-L

Added subscriber: @Phillipe-L

that seemed to work. updating my driver solved the problem. Thanks!

that seemed to work. updating my driver solved the problem. Thanks!

Updating drivers did in fact solve my problem! For anyone else having future problems, I DID NOT go to the drivers on my computer and click "update drivers" because in many cases that will tell you that the drivers are already up to date. I went to my product makers website and downloaded the latest graphic drivers and processor updates from there. its a common mix up, thankfully Germano gives a link to the different product maker websites so use that, hope this helps.

Updating drivers did in fact solve my problem! For anyone else having future problems, I DID NOT go to the drivers on my computer and click "update drivers" because in many cases that will tell you that the drivers are already up to date. I went to my product makers website and downloaded the latest graphic drivers and processor updates from there. its a common mix up, thankfully Germano gives a link to the different product maker websites so use that, hope this helps.
Member

Added subscribers: @That1Guy592, @EAW

Added subscribers: @That1Guy592, @EAW
Member

Added subscriber: @PreparedSoap

Added subscriber: @PreparedSoap
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Pratik Borhade self-assigned this 2023-01-16 06:30:27 +01:00
Member

From multiple comments It seems upgrading drivers has fixed the crash. I'll close this ticket for now. If problem persists. feel free to comment or reopen the report.

From multiple comments It seems upgrading drivers has fixed the crash. I'll close this ticket for now. If problem persists. feel free to comment or reopen the report.
Pratik Borhade removed their assignment 2023-01-16 06:30:35 +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
11 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#101675
No description provided.