Page MenuHome

Point Density causes Crash
Closed, DuplicatePublic

Description

System Information
Operating system: Windows 10, 64 bit, Version 10.0.17134 Build 17134
Graphics card: 4x Radeon VII, Driver Version 19.5.2
Processor: Threadripper 2990WX 32-Core on X399 Chipset (Gigabyte Designare Motherboard rev 1.0)
RAM: G.Skill Snyper 64GB (4x 16GB), 3200MhZ

Blender Version
Broken: 2.80, c13e10a7404d
Worked: Don't know, it's the first time I try using Point density in Blender 2.8

Short description of error
When Cycles Viewport preview is active, Blender tends to crash whenever I change settings in the Point Density Node.

Exact steps for others to reproduce the error

  • Make Start-Cube a Volume Scatter Material, don't plug anything into the Surface Output
  • Add Sphere, scale it down a bit
  • Add Point density node in the Cubes material and set it to Object Vertices
  • Set Sphere as Target Object in the point density node
  • Activate rendered preview with Cycles engine
  • Play around with the settings in the Point Density node, it won't take long until Blender crashes

Details

Type
Bug

Event Timeline

Jacques Lucke (JacquesLucke) triaged this task as Confirmed, Medium priority.

Simplified Stacktrace:

rna_Node_refine(struct PointerRNA * ptr) (/home/jacques/blender-git/blender/source/blender/makesrna/intern/rna_nodetree.c:1185)
RNA_pointer_create(ID * id, StructRNA * type, void * data, PointerRNA * r_ptr) (/home/jacques/blender-git/blender/source/blender/makesrna/intern/rna_access.c:168)
ccl::BlenderSession::builtin_image_float_pixels(ccl::BlenderSession * const this, const std::__cxx11::string & builtin_name, void * builtin_data, float * pixels, const size_t pixels_size, const bool free_cache) (/home/jacques/blender-git/blender/intern/cycles/blender/blender_session.cpp:1431)
ccl::ImageManager::file_load_image<(OpenImageIO_v1_8::TypeDesc::BASETYPE)11, float, ccl::float4>(ccl::ImageManager * const this, ccl::ImageManager::Image * img, ccl::ImageDataType type, int texture_limit, ccl::device_vector<ccl::float4> & tex_img) (/home/jacques/blender-git/blender/intern/cycles/render/image.cpp:631)
ccl::ImageManager::device_load_image(ccl::ImageManager * const this, ccl::Device * device, ccl::Scene * scene, ccl::ImageDataType type, int slot, ccl::Progress * progress) (/home/jacques/blender-git/blender/intern/cycles/render/image.cpp:807)
ccl::TaskScheduler::thread_run(int thread_id) (/home/jacques/blender-git/blender/intern/cycles/util/util_task.cpp:396)
ccl::thread::run(void * arg) (/home/jacques/blender-git/blender/intern/cycles/util/util_thread.cpp:52)
start_thread(void * arg) (/build/glibc-OTsEL5/glibc-2.27/nptl/pthread_create.c:463)
clone() (/build/glibc-OTsEL5/glibc-2.27/sysdeps/unix/sysv/linux/x86_64/clone.S:95)

Slightly simplified reproduction steps:

  1. Open the file.
  2. Enable cycles viewport rendering.
  3. Change the settings in the Point Density node until Blender crashes.

I was able to reproduce all three times I tried.

Same underlying issue as the smoke one, point density is just another volume synced to Cycles.