2.9x: Crash when editing curves with Cycles (Embree related?) #81861

Closed
opened 2020-10-19 18:05:20 +02:00 by Ilja Razinkov · 13 comments

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 48c484a22e
Worked: 2.83.0

Short description of error
See attached blend and video for reference

Screen Recording 2020-10-19 at 18.59.20.mov

CrashOnEditingCurves.crash.txt

Steps to reproduce
#81861.blend

  • Open file
  • Switch to rendered mode

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.

**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 [Screen Recording 2020-10-19 at 18.59.20.mov](https://archive.blender.org/developer/F9016626/Screen_Recording_2020-10-19_at_18.59.20.mov) [CrashOnEditingCurves.crash.txt](https://archive.blender.org/developer/F9016623/CrashOnEditingCurves.crash.txt) **Steps to reproduce** [#81861.blend](https://archive.blender.org/developer/F9026660/T81861.blend) - Open file - Switch to rendered mode # 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.
Author

Added subscriber: @IPv6

Added subscriber: @IPv6
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

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/)

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/)
Author

Checked:

  • 2.90: Yes, this indeed crashes in 2.90, almost immediately, crashlog attached
    CrashOnEditingCurves.crash.txt

  • 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)

Checked: - 2.90: Yes, this indeed crashes in 2.90, almost immediately, crashlog attached [CrashOnEditingCurves.crash.txt](https://archive.blender.org/developer/F9021668/CrashOnEditingCurves.crash.txt) - 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)
Member

In #81861#1037637, @IPv6 wrote:
// 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 a64b8aca39

> In #81861#1037637, @IPv6 wrote: > // 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 a64b8aca39
Philipp Oeser changed title from 2.91: Crash when editing curves with Cycles to 2.91: Crash when editing curves with Cycles (Embree related?) 2020-10-20 11:40:10 +02:00
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Philipp Oeser changed title from 2.91: Crash when editing curves with Cycles (Embree related?) to 2.9x: Crash when editing curves with Cycles (Embree related?) 2020-10-20 11:40:28 +02:00

Added subscriber: @iss

Added subscriber: @iss

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]	
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] ```

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Evan Wilson self-assigned this 2020-10-23 20:01:59 +02:00
Member

I reproduced this bug in the latest daily build e4728d0a16.
It has been fixed by 6d8e03ddd9, 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.

I reproduced this bug in the latest daily build e4728d0a16. It has been fixed by 6d8e03ddd9, 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.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#81861
No description provided.