Page MenuHome

Cycles crash deleting (all) geometry in editmode [no bvh rebuild, tries to refit bvh instead]
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.17134-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.83 (sub 4), branch: master, commit date: 2020-02-17 17:52, hash: rB37cdfac6b9bd
Worked: (optional)

Short description of error
Blender crashes when delete all faces from an object during the rendered mode is active in Cycles

Exact steps for others to reproduce the error

  1. Select Render Cycles Engine
  2. switch to Rendered mode
  3. from default cube select all faces and
  4. Delete only faces
  5. BUM!!!

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Feb 24 2020, 3:25 PM
Richard Antalik (ISS) added a project: Cycles.

On assert(i < datasize_);
datasize_ was 0

>	blender.exe!ccl::array<int,16>::operator[](unsigned __int64 i) Line 212	C++
 	blender.exe!ccl::Mesh::get_triangle(unsigned __int64 i) Line 85	C++
 	blender.exe!ccl::BVH::pack_triangle(int idx, ccl::float4 * tri_verts) Line 286	C++
 	blender.exe!ccl::BVH::pack_primitives() Line 323	C++
 	blender.exe!ccl::BVH::refit(ccl::Progress & progress) Line 202	C++
 	blender.exe!ccl::Geometry::compute_bvh(ccl::Device * device, ccl::DeviceScene * dscene, ccl::SceneParams * params, ccl::Progress * progress, int n, int total) Line 203	C++
 	[Externí kód]	
 	blender.exe!ccl::TaskPool::wait_work(ccl::TaskPool::Summary * stats) Line 101	C++
 	blender.exe!ccl::GeometryManager::device_update(ccl::Device * device, ccl::DeviceScene * dscene, ccl::Scene * scene, ccl::Progress & progress) Line 1374	C++
 	blender.exe!ccl::Scene::device_update(ccl::Device * device_, ccl::Progress & progress) Line 240	C++
 	blender.exe!ccl::Session::update_scene() Line 1007	C++
 	blender.exe!ccl::Session::run_cpu() Line 679	C++
 	blender.exe!ccl::Session::run() Line 859	C++
 	[Externí kód]	
 	blender.exe!ccl::thread::run(void * arg) Line 53	C++
 	[Externí kód]
Philipp Oeser (lichtwerk) triaged this task as High priority.Feb 25 2020, 9:58 AM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

Looks like Cycles goes into Refitting BVH instead of Building BVH, checking...

Philipp Oeser (lichtwerk) renamed this task from Delete only faces in cycles rendered not working to Cycles crash deleting (all) geometry in editmode [no bvh rebuild, tries to refit bvh instead].Feb 25 2020, 10:04 AM