Page MenuHome

CRASH - Render crashes Blender when you use AO Bounces in certain scenes, not in simple or empty scenes.
Closed, ResolvedPublic


System Information (various systems)
All the systems have Windows 10 Pro V1803

i7-5960X with 64Gb of RAM, GTX1080
AMD Threadripper 2990WX with 64Gb of RAM and a GTX1080
i7-5820K with 32Gb of RAM and a GTX 970

Blender Version
Broken: 2.79.6 e732c6af3bb
Worked: At some point before in the daily builds and in the 2.79 releaseversion

Short description of error

In certain scenes, when you enable AO bounces in Simplify and you render the scene, it crashes.
I managed to prepare the scene that crashes everytime you press F12 (or render it)

If you disable AO Bounces then it renders

Here is the file:

Exact steps for others to reproduce the error
Open the .blend and press F12 or render it

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.Nov 14 2018, 9:38 AM

Seems like the file is missing

Sorry, fixed the file link.


Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Nov 14 2018, 11:33 AM
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.Nov 14 2018, 11:49 AM

crash confirmed, need to run through Debug build still...

# Blender 2.79 (sub 6), Commit date: 2018-11-10 22:37, Hash 89c2ff31d93
bpy.context.space_data.context = 'RENDER_LAYER'  # Property
bpy.context.space_data.context = 'SCENE'  # Property

# backtrace
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(BLI_system_backtrace+0x1d) [0x1bb732d]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender() [0x118fc19]
/lib64/ [0x7f4d6b7a4f70]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender() [0x25f1b50]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender() [0x26ca3fb]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(_ZN3ccl9CPUDevice13thread_renderERNS_10DeviceTaskE+0xe38) [0x2046dc8]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(_ZN3ccl8TaskPool9wait_workEPNS0_7SummaryE+0x141) [0x2c81cf1]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(_ZN3ccl7Session7run_cpuEv+0x33c) [0x214398c]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(_ZN3ccl7Session3runEv+0x43d) [0x2144afd]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender(_ZN3ccl6thread3runEPv+0xe) [0x2c82cfe]
/blender-2.79-89c2ff31d93-linux-glibc224-x86_64/blender() [0x65b79cf]
/lib64/ [0x7f4d6b79a58e]
/lib64/ [0x7f4d6b232593]

crashes here

else if(*num_hits == max_hits) {
(and num_hits is NULL? -- havent looked further)

1   ccl::ray_triangle_intersect8                                        geom_triangle_intersect.h 376 0x4a57773 
2   ccl::triangle_intersect8                                                geom_triangle_intersect.h 531 0x4a57773 
3   ccl::OBVH_bvh_intersect_instancing                       obvh_traversal.h          463 0x4a57773 
4   ccl::bvh_intersect_instancing                                      bvh_traversal.h           435 0x4e883ec 
5   ccl::scene_intersect                                                       bvh.h                     227 0x4e883ec 
6   ccl::kernel_path_scene_intersect                               kernel_path.h             82  0x4e883ec 
7   ccl::kernel_path_integrate                                            kernel_path.h             585 0x4e883ec 
8   ccl::kernel_path_trace                                                    kernel_path.h             751 0x4e883ec 
9   ccl::kernel_cpu_avx2_path_trace                                kernel_cpu_impl.h         98  0x4eedffd 
10  ccl::CPUDevice::path_trace                                        device_cpu.cpp            722 0x363cb82 
11  ccl::CPUDevice::thread_render                                 device_cpu.cpp            789 0x363d47c 
12  ccl::CPUDevice::thread_run                                       device_cpu.cpp            460 0x363b51e 
13  std::__invoke_impl<void, void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&>              invoke.h                  73  0x364c005 
14  std::__invoke<void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&>                                   invoke.h                  95  0x364acb5 
15  std::_Bind<void (ccl::CPUDevice:: *(ccl::CPUDevice *, ccl::CPUDevice::CPUDeviceTask *))(ccl::DeviceTask *)>::__call<void, int&&, 0ul, 1ul>(std::tuple<int&&>&&, std::_Index_tuple<0ul, 1ul>) functional                400 0x3649c73 
16  std::_Bind<void (ccl::CPUDevice:: *(ccl::CPUDevice *, ccl::CPUDevice::CPUDeviceTask *))(ccl::DeviceTask *)>::operator()<int, void>(int&&)       functional                484 0x364745b 
17  std::_Function_handler<void (int), std::_Bind<void (ccl::CPUDevice:: *(ccl::CPUDevice *, ccl::CPUDevice::CPUDeviceTask *))(ccl::DeviceTask *)>>::_M_invoke(std::_Any_data const&, int&&)     std_function.h            297 0x36455ac 
18  std::function<void (int)>::operator()(int) const          std_function.h            687 0x6747f9a 
19  ccl::TaskScheduler::thread_run                                                                                                                                                               util_task.cpp             314 0x6747168 
20  std::__invoke_impl<void, void ( *&)(int), int&>                                                                                                                                              invoke.h                  60  0x674a93f 
... <More>

@Sergey Sharybin (sergey): since you added BVH8, mind checking on this one?