Various scenes crash on F12 rendering in newer builds of master. #56655

Closed
opened 2018-09-02 01:45:56 +02:00 by Adam Friesen · 10 comments

System Information
Win10 64 bit; 32 gigs RAM; Ryzen 2700X CPU; Nvidia 1060 6 GB GPU.

Blender Version
Broken: Hash 8a3b548cb2
Worked: Hash 5078b9d2d0 (July 18)

Short description of error
On newer builds, I'm finding it not possible to render some existing scenes in Cycles because they are crashing when the actual rendering starts. The stats will get stuck on calculating the normals and Blender will then close. This is with CPU rendering and the underlying cause seems to be random (but the scene will crash 100 percent of the time). Whether or not denoising is on has no impact.

Exact steps for others to reproduce the error
Download the .blend file and press F12 (this is a production file, use only for testing).

.blend
Cycles_test26.blend

**System Information** Win10 64 bit; 32 gigs RAM; Ryzen 2700X CPU; Nvidia 1060 6 GB GPU. **Blender Version** Broken: Hash 8a3b548cb2b Worked: Hash 5078b9d2d08 (July 18) **Short description of error** On newer builds, I'm finding it not possible to render some existing scenes in Cycles because they are crashing when the actual rendering starts. The stats will get stuck on calculating the normals and Blender will then close. This is with CPU rendering and the underlying cause seems to be random (but the scene will crash 100 percent of the time). Whether or not denoising is on has no impact. **Exact steps for others to reproduce the error** Download the .blend file and press F12 (this is a production file, use only for testing). **.blend** [Cycles_test26.blend](https://archive.blender.org/developer/F4512143/Cycles_test26.blend)
Author

Added subscriber: @Ace_Dragon

Added subscriber: @Ace_Dragon

Added subscriber: @janb-1

Added subscriber: @janb-1

I can confirm the crash on intel cpu with this one and on windows 8.1. There indeed a lot of known crashers in master. I know 550 bugs is a lot, but at least fixing all the bug reports about crash would make the user experience much better for buildbot users, while making a more stable base for 2.8 I feel.

I can confirm the crash on intel cpu with this one and on windows 8.1. There indeed a lot of known crashers in master. I know 550 bugs is a lot, but at least fixing all the bug reports about crash would make the user experience much better for buildbot users, while making a more stable base for 2.8 I feel.

Added subscriber: @brecht

Added subscriber: @brecht

Please leave triaging reports to developers, confirmed means a developer can reproduce the issue.

Please leave triaging reports to developers, confirmed means a developer can reproduce the issue.

ok, sorry, thought it would help.

ok, sorry, thought it would help.

Added subscriber: @mont29

Added subscriber: @mont29
Brecht Van Lommel was assigned by Bastien Montagne 2018-09-03 15:21:11 +02:00

Can confirm the crash here with current master, happens at start of actual tiles rendering (i.e. after whole init processes, tessellation, BVH building etc.). Just set very small rendering size to avoid spending hours waiting in a debug build. ;)

QTCreator gives me following backtrace:

1  ccl::path_radiance_clamp_and_sum                                                                                                                                                             kernel_accumulate.h    593 0x561a6fabd71e 
2  ccl::kernel_write_result                                                                                                                                                                     kernel_passes.h        341 0x561a6fabd71e 
3  ccl::kernel_branched_path_trace                                                                                                                                                              kernel_path_branched.h 613 0x561a6fabd71e 
4  ccl::kernel_cpu_avx2_path_trace                                                                                                                                                              kernel_cpu_impl.h      88  0x561a6fb16633 
5  ccl::CPUDevice::path_trace                                                                                                                                                                   device_cpu.cpp         693 0x561a6b85e397 
6  ccl::CPUDevice::thread_render                                                                                                                                                                device_cpu.cpp         757 0x561a6b86022a 
7  ccl::CPUDevice::thread_run                                                                                                                                                                   device_cpu.cpp         445 0x561a6b85a62d 
8  std::__invoke_impl<void, void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&>                                                                 invoke.h               73  0x561a6b8796a5 
9  std::__invoke<void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&>                                                                            invoke.h               95  0x561a6b877c43 
10 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 0x561a6b875e9b 
11 std::_Bind<void (ccl::CPUDevice:: *(ccl::CPUDevice *, ccl::CPUDevice::CPUDeviceTask *))(ccl::DeviceTask *)>::operator()<int, void>(int&&)                                                    functional             484 0x561a6b8720e6 
12 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 0x561a6b86e88f 
13 std::function<void (int)>::operator()(int) const                                                                                                                                             std_function.h         687 0x561a7419f1c6 
14 ccl::TaskScheduler::thread_run                                                                                                                                                               util_task.cpp          314 0x561a7419c66b 
15 std::__invoke_impl<void, void ( *&)(int), int&>                                                                                                                                              invoke.h               60  0x561a741a4707 
16 std::__invoke<void ( *&)(int), int&>                                                                                                                                                         invoke.h               95  0x561a741a401b 
17 std::_Bind<void ( *(int))(int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)                                                                                                 functional             400 0x561a741a366a 
18 std::_Bind<void ( *(int))(int)>::operator()<, void>()                                                                                                                                        functional             484 0x561a741a25bd 
19 std::_Function_handler<void (), std::_Bind<void ( *(int))(int)>>::_M_invoke(std::_Any_data const&)                                                                                           std_function.h         297 0x561a741a1117 
20 std::function<void ()>::operator()() const                                                                                                                                                   std_function.h         687 0x561a6b2a1bfa 
21 ccl::thread::run                                                                                                                                                                             util_thread.cpp        56  0x561a741a6457 
22 std::__invoke_impl<void *, void * ( *)(void *), ccl::thread *>                                                                                                                               invoke.h               60  0x561a741a7091 
23 std::__invoke<void * ( *)(void *), ccl::thread *>                                                                                                                                            invoke.h               95  0x561a741a6b9d 
24 std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>::_M_invoke<0ul, 1ul>                                                                                                   thread                 244 0x561a741a77f3 
25 std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>::operator()                                                                                                            thread                 253 0x561a741a7765 
26 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>>::_M_run                                                                                      thread                 196 0x561a741a76d4 
27 ??                                                                                                                                                                                                                      0x7f0fd66fbaff 
28 start_thread                                                                                                                                                                                 pthread_create.c       463 0x7f0fdcf32f2a 
29 clone                                                                                                                                                                                        clone.S                95  0x7f0fd6a4eedf 
Can confirm the crash here with current master, happens at start of actual tiles rendering (i.e. after whole init processes, tessellation, BVH building etc.). Just set very small rendering size to avoid spending hours waiting in a debug build. ;) QTCreator gives me following backtrace: ```lines=20 1 ccl::path_radiance_clamp_and_sum kernel_accumulate.h 593 0x561a6fabd71e 2 ccl::kernel_write_result kernel_passes.h 341 0x561a6fabd71e 3 ccl::kernel_branched_path_trace kernel_path_branched.h 613 0x561a6fabd71e 4 ccl::kernel_cpu_avx2_path_trace kernel_cpu_impl.h 88 0x561a6fb16633 5 ccl::CPUDevice::path_trace device_cpu.cpp 693 0x561a6b85e397 6 ccl::CPUDevice::thread_render device_cpu.cpp 757 0x561a6b86022a 7 ccl::CPUDevice::thread_run device_cpu.cpp 445 0x561a6b85a62d 8 std::__invoke_impl<void, void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&> invoke.h 73 0x561a6b8796a5 9 std::__invoke<void (ccl::CPUDevice:: *&)(ccl::DeviceTask *), ccl::CPUDevice *&, ccl::CPUDevice::CPUDeviceTask *&> invoke.h 95 0x561a6b877c43 10 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 0x561a6b875e9b 11 std::_Bind<void (ccl::CPUDevice:: *(ccl::CPUDevice *, ccl::CPUDevice::CPUDeviceTask *))(ccl::DeviceTask *)>::operator()<int, void>(int&&) functional 484 0x561a6b8720e6 12 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 0x561a6b86e88f 13 std::function<void (int)>::operator()(int) const std_function.h 687 0x561a7419f1c6 14 ccl::TaskScheduler::thread_run util_task.cpp 314 0x561a7419c66b 15 std::__invoke_impl<void, void ( *&)(int), int&> invoke.h 60 0x561a741a4707 16 std::__invoke<void ( *&)(int), int&> invoke.h 95 0x561a741a401b 17 std::_Bind<void ( *(int))(int)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) functional 400 0x561a741a366a 18 std::_Bind<void ( *(int))(int)>::operator()<, void>() functional 484 0x561a741a25bd 19 std::_Function_handler<void (), std::_Bind<void ( *(int))(int)>>::_M_invoke(std::_Any_data const&) std_function.h 297 0x561a741a1117 20 std::function<void ()>::operator()() const std_function.h 687 0x561a6b2a1bfa 21 ccl::thread::run util_thread.cpp 56 0x561a741a6457 22 std::__invoke_impl<void *, void * ( *)(void *), ccl::thread *> invoke.h 60 0x561a741a7091 23 std::__invoke<void * ( *)(void *), ccl::thread *> invoke.h 95 0x561a741a6b9d 24 std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>::_M_invoke<0ul, 1ul> thread 244 0x561a741a77f3 25 std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>::operator() thread 253 0x561a741a7765 26 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void * ( *)(void *), ccl::thread *>>>::_M_run thread 196 0x561a741a76d4 27 ?? 0x7f0fd66fbaff 28 start_thread pthread_create.c 463 0x7f0fdcf32f2a 29 clone clone.S 95 0x7f0fd6a4eedf ```

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This seems to have gotten fixed at some point, maybe one of the BVH8 bugs.

This seems to have gotten fixed at some point, maybe one of the BVH8 bugs.
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#56655
No description provided.