Page MenuHome

2.9x: Crash when editing curves with Cycles (Embree related?)
Closed, ResolvedPublic

Description

System Information
Operating system: MacOs Catalina 10.15.7
Graphics card: Radeon Pro 570X 4 GB

Blender Version
Broken: Blender 2.91.0, Commit date: 2020-10-18 20:27, Hash 48c484a22e0d
Worked: 2.83.0

Short description of error
See attached blend and video for reference

Steps to reproduce

  1. Open file
  2. Switch to rendered mode
  3. Grab vertices move them in circular trajectory with as big radius as you can

if you move the viewport camera the crash may not happen. Provided setup seem to crash for me in every case though.

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Oct 20 2020, 9:37 AM

Cannot reproduce here

**System Information**
Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66
version: 2.91.0 Alpha, branch: master (modified), commit date: 2020-10-19 13:01, hash: `rB29dbe0071981`

Seems Embree related, can you confirm this also crashes in 2.90 / 2.90.1 but does not crash in 2.83? (you can get the releases here https://download.blender.org/release/)

Checked:

  • 2.90: Yes, this indeed crashes in 2.90, almost immediately, crashlog attached

  • 2.83.7: Yes, this indeed DOES NOT crash, tried for a minute.

// But proportinal editing works only on active curve in multiedit mode (in 2.90 it works on both objects and all points - as it should according to tool settings)

// But proportinal editing works only on active curve in multiedit mode (in 2.90 it works on both objects and all points - as it should according to tool settings)

Yes, this is new in 2.9x, see rBa64b8aca394f: Fix T61777: Proportional editing doesn't work with multi edit-mode

Philipp Oeser (lichtwerk) renamed this task from 2.91: Crash when editing curves with Cycles to 2.91: Crash when editing curves with Cycles (Embree related?).Oct 20 2020, 11:40 AM
Philipp Oeser (lichtwerk) renamed this task from 2.91: Crash when editing curves with Cycles (Embree related?) to 2.9x: Crash when editing curves with Cycles (Embree related?).
Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Information from Developers.

Can confirm, but it may be tricky to reproduce. I will upload file hopefully in a state, that will crash for 100%

 	blender.exe!embree::avx2::TriangleMi<4>::loadTriangle(int,class embree::Scene const * const)	C++
 	blender.exe!embree::avx::BVHNIntersector1<4,1,1,struct embree::avx::ArrayIntersector1<struct embree::avx::TriangleMiIntersector1Pluecker<4,4,1> > >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *)	C++
 	blender.exe!embree::avx2::InstanceIntersector1::intersect(struct embree::avx2::InstanceIntersector1::Precalculations const &,struct embree::RayHitK<1> &,struct embree::IntersectContext *,struct embree::InstancePrimitive const &)	C++
 	blender.exe!embree::avx2::BVHNIntersector1<4,1,0,struct embree::avx2::ArrayIntersector1<struct embree::avx2::InstanceIntersector1> >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *)	C++
 	blender.exe!rtcIntersect1()	C++
>	blender.exe!ccl::kernel_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 692	C++
 	blender.exe!ccl::kernel_cpu_avx2_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 99	C++
 	blender.exe!ccl::CPUDevice::render(ccl::DeviceTask & task, ccl::RenderTile & tile, ccl::KernelGlobals * kg) Line 937	C++
 	[Inline Frame] blender.exe!std::_Func_class<void,ccl::RenderTile &>::_Empty() Line 965	C++
 	[Inline Frame] blender.exe!std::_Func_class<void,ccl::RenderTile &>::operator()(ccl::RenderTile &) Line 947	C++
 	blender.exe!ccl::CPUDevice::thread_render(ccl::DeviceTask & task) Line 1291	C++
 	blender.exe!ccl::CPUDevice::thread_run(ccl::DeviceTask & task) Line 552	C++
 	[External Code]	
 	[Inline Frame] blender.exe!std::_Func_class<void>::operator()() Line 951	C++
 	blender.exe!tbb::internal::function_task<std::function<void __cdecl(void)>>::execute() Line 1049	C++
 	[External Code]
Richard Antalik (ISS) changed the task status from Needs Information from Developers to Confirmed.Oct 21 2020, 9:22 AM
Richard Antalik (ISS) updated the task description. (Show Details)
Evan Wilson (EAW) closed this task as Resolved.Oct 23 2020, 8:01 PM
Evan Wilson (EAW) claimed this task.

I reproduced this bug in the latest daily build rBe4728d0a167c.
It has been fixed by rB6d8e03ddd991: Fix T81102: Cycles crashes in interactive 3D viewport rendering after Embree, which will be in tomorrow's daily build at the following link:
https://builder.blender.org/download/

If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.