Page MenuHome

Crash on Cycles render preview when using Volume objects
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 4400 Intel 4.3.0 - Build 20.19.15.5058

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-10-23 11:34, hash: rBe4728d0a167c
Worked: 2.83.0

Short description of error
Blender crash on cycles render preview mode when transforming volume object.

Steps to reproduce

  1. Open file
  2. Bake smoke domain
  3. Switch to rendered shading
  4. Play up to 20 frames
  5. Rotate domain

Event Timeline

I can confirm this to crash on exception:

OPENVDB_THROW(ValueError, "can't construct a dense grid with an empty bounding box");

 	ucrtbase.dll!00007fff0207287e()	Unknown
 	ucrtbase.dll!00007fff02071faf()	Unknown
 	vcruntime140_1.dll!00007ffeec181abf()	Unknown
 	vcruntime140_1.dll!00007ffeec18232b()	Unknown
 	vcruntime140_1.dll!00007ffeec1840e9()	Unknown
 	ntdll.dll!00007fff049510ef()	Unknown
 	ntdll.dll!00007fff048fb474()	Unknown
 	ntdll.dll!00007fff0494fc1e()	Unknown
 	KernelBase.dll!00007fff02573e49()	Unknown
 	vcruntime140.dll!00007ffedefa6220()	Unknown
>	blender.exe!openvdb::v7_0::tools::Dense<float,0>::Dense<float,0>(const openvdb::v7_0::math::CoordBBox & bbox, float * data) Line 221	C++
 	blender.exe!ccl::openvdb_grid_from_device_texture<openvdb::v7_0::Grid<openvdb::v7_0::tree::Tree<openvdb::v7_0::tree::RootNode<openvdb::v7_0::tree::InternalNode<openvdb::v7_0::tree::InternalNode<openvdb::v7_0::tree::LeafNode<float,3>,4>,5>>>>>(ccl::device_texture * image_memory, float volume_clipping, ccl::Transform transform_3d) Line 441	C++
 	blender.exe!ccl::GeometryManager::create_volume_mesh(ccl::Volume * volume, ccl::Progress & progress) Line 520	C++
 	blender.exe!ccl::GeometryManager::device_update_preprocess(ccl::Device * device, ccl::Scene * scene, ccl::Progress & progress) Line 1144	C++
 	blender.exe!ccl::Scene::device_update(ccl::Device * device_, ccl::Progress & progress) Line 248	C++
 	blender.exe!ccl::Scene::update(ccl::Progress & progress, bool & kernel_switch_needed) Line 500	C++
 	blender.exe!ccl::Session::update_scene() Line 943	C++
 	blender.exe!ccl::Session::run_cpu() Line 701	C++
 	blender.exe!ccl::Session::run() Line 776	C++
 	[Inline Frame] blender.exe!std::_Func_class<void>::operator()() Line 951	C++
 	blender.exe!ccl::thread::run(void * arg) Line 53	C++
 	[External Code]

I think I have handled similar report so I will look if this is duplicate

Those similar reports are similar indeed but marked as resolved.

@Berk Elyesa Yıldırım (04ely) please make new report for crash with play/stop case. These may have one root cause, but please try to make reports as minimal as possible and as quick to check as possible.
Having 3 .blend files makes it a lot worse to cross-check with what is being reported.

Richard Antalik (ISS) renamed this task from Crash on Cycles render preview when using Volume objects / Volume shaders on meshes. to Crash on Cycles render preview when using Volume objects.Oct 24 2020, 12:49 AM
Richard Antalik (ISS) triaged this task as High priority.
Richard Antalik (ISS) updated the task description. (Show Details)
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Oct 27 2020, 6:43 AM

Oops, forgot to confirm

Hi Brecht, can you assign this to the person maintaining this in Cycles? (I suspect it is either you or @Stefan Werner (swerner) - and maybe @Stefan Werner (swerner) could take that out of your desk?)

The crash here was already fixed along with another bugfix, now fixed the assert in debug builds as well.