Page MenuHome

Blender 2.83 will crash while rendering with amd rx 590 and hidding the meshes
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 590 Series ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: rB211b6c29f771
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender 2.83 will crash while being on render view and hidding mesh.

Exact steps for others to reproduce the error
1.- Enable OpenCl and enable the amd card.
2.- On the viewport go to render view.
3.- While being on render view, just go to the "view object types" menu and hide Mesh, blender will crash.

This will also happen on 2.82, but the viewport will just get corrupted and can be restored, also con 2.90 with an opencl error.

Event Timeline

Arturo Rangel (AranMoreno) renamed this task from Blender will crash while rendering with amd gpu and hidding the meshes to Blender 2.83 will crash while rendering with amd gpu and hidding the meshes.Thu, Jun 18, 4:21 AM
Arturo Rangel (AranMoreno) created this task.
Arturo Rangel (AranMoreno) renamed this task from Blender 2.83 will crash while rendering with amd gpu and hidding the meshes to Blender 2.83 will crash while rendering with amd rx 590 and hidding the meshes.Thu, Jun 18, 4:28 AM
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.EditedThu, Jun 18, 7:45 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm the crash on:
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.10.19.02 27.20.1019.2002

Exception thrown at 0x00007FF87ACB4259 (amdocl64.dll) in blender.exe: 0xC0000005: Access violation reading location 0x000000C1FFFFFFF0.
 	amdocl64.dll!00007ff87acb4259()	Unknown
>	blender.exe!ccl::OpenCLDevice::kernel_set_args(_cl_kernel * kernel, int start_argument_index, const ccl::OpenCLDevice::ArgumentWrapper & arg1, const ccl::OpenCLDevice::ArgumentWrapper & arg2, const ccl::OpenCLDevice::ArgumentWrapper & arg3, const ccl::OpenCLDevice::ArgumentWrapper & arg4, const ccl::OpenCLDevice::ArgumentWrapper & arg5, const ccl::OpenCLDevice::ArgumentWrapper & arg6, const ccl::OpenCLDevice::ArgumentWrapper & arg7, const ccl::OpenCLDevice::ArgumentWrapper & arg8, const ccl::OpenCLDevice::ArgumentWrapper & arg9, const ccl::OpenCLDevice::ArgumentWrapper & arg10, const ccl::OpenCLDevice::ArgumentWrapper & arg11, const ccl::OpenCLDevice::ArgumentWrapper & arg12, const ccl::OpenCLDevice::ArgumentWrapper & arg13, const ccl::OpenCLDevice::ArgumentWrapper & arg14, const ccl::OpenCLDevice::ArgumentWrapper & arg15, const ccl::OpenCLDevice::ArgumentWrapper & arg16, const ccl::OpenCLDevice::ArgumentWrapper & arg17, const ccl::OpenCLDevice::ArgumentWrapper & arg18, const ccl::OpenCLDevice::ArgumentWrapper & arg19, const ccl::OpenCLDevice::ArgumentWrapper & arg20, const ccl::OpenCLDevice::ArgumentWrapper & arg21, const ccl::OpenCLDevice::ArgumentWrapper & arg22, const ccl::OpenCLDevice::ArgumentWrapper & arg23, const ccl::OpenCLDevice::ArgumentWrapper & arg24, const ccl::OpenCLDevice::ArgumentWrapper & arg25, const ccl::OpenCLDevice::ArgumentWrapper & arg26, const ccl::OpenCLDevice::ArgumentWrapper & arg27, const ccl::OpenCLDevice::ArgumentWrapper & arg28, const ccl::OpenCLDevice::ArgumentWrapper & arg29, const ccl::OpenCLDevice::ArgumentWrapper & arg30, const ccl::OpenCLDevice::ArgumentWrapper & arg31, const ccl::OpenCLDevice::ArgumentWrapper & arg32, const ccl::OpenCLDevice::ArgumentWrapper & arg33) Line 2067	C++
 	blender.exe!ccl::MemoryManager::set_kernel_arg_buffers(_cl_kernel * kernel, unsigned int * narg) Line 249	C++
 	blender.exe!ccl::OpenCLSplitKernel::enqueue_split_kernel_data_init(const ccl::KernelDimensions & dim, ccl::RenderTile & rtile, int num_global_elements, ccl::device_memory & kernel_globals, ccl::device_memory & kernel_data, ccl::device_memory & split_data, ccl::device_memory & ray_state, ccl::device_memory & queue_index, ccl::device_memory & use_queues_flag, ccl::device_memory & work_pool_wgs) Line 490	C++
 	blender.exe!ccl::DeviceSplitKernel::path_trace(ccl::DeviceTask * task, ccl::RenderTile & tile, ccl::device_memory & kgbuffer, ccl::device_memory & kernel_data) Line 245	C++
 	blender.exe!ccl::OpenCLDevice::thread_run(ccl::DeviceTask * task) Line 1357	C++
 	[External Code]	
 	[Inline Frame] blender.exe!std::_Func_class<void,int>::operator()(int <_Args_0>) Line 958	C++
 	blender.exe!ccl::DedicatedTaskPool::thread_run() Line 566	C++
 	[External Code]	
 	[Inline Frame] blender.exe!std::_Func_class<void>::operator()() Line 958	C++
 	blender.exe!ccl::thread::run(void * arg) Line 53	C++
 	[External Code]