Rendering crashes cycles on a specific tile with segfault #72151

Closed
opened 2019-12-03 21:04:07 +01:00 by François Cerbelle · 16 comments

System Information
Operating system: Debian buster linux
Graphics card: none
Reproduced on several computers

Blender Version
Broken:

Open attached, should already be on scene 05/frame 405 with selected region, press F12

Thanks

**System Information** Operating system: Debian buster linux Graphics card: none Reproduced on several computers **Blender Version** Broken: - v2.80 official - v2.82 Alpha 2019-12-03 15:16 b81939716de8 [Redis06-DataScalability_v3.blend](https://archive.blender.org/developer/F8187840/Redis06-DataScalability_v3.blend) Crash on scene 05, frame 405 (faulty region selected in attached file), frame 450 Open attached, should already be on scene 05/frame 405 with selected region, press F12 Thanks

Added subscriber: @Fanfan

Added subscriber: @Fanfan

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can't reproduce the problem.
Rendered without crashing here.

Operating system: Windows-10-10.0.18941 64 Bits

Maybe the crash occurs only on Linux?

I can't reproduce the problem. Rendered without crashing here. **Operating system:** Windows-10-10.0.18941 64 Bits Maybe the crash occurs only on Linux?

Hi,
I don't have any non-linux machine to test. But, for sure, thecrash
occured always in the selected render region only (not before, at least)
If it can help, my machines are both i7 4cores/8Threads, using
auto-detect threads and auto-tile add-on.

Thank you

Regards
François

Hi, I don't have any non-linux machine to test. But, for sure, thecrash occured always in the selected render region only (not before, at least) If it can help, my machines are both i7 4cores/8Threads, using auto-detect threads and auto-tile add-on. Thank you Regards François

Added subscriber: @Macroni

Added subscriber: @Macroni

its crashing for me,on linux (ubuntu 18.10),with blender 2.81.

The scene is exceeding a fixed max limit BVH_OSTACK_SIZE = 768

causing assert failure 'kernel_assert(stack_ptr < BVH_OSTACK_SIZE);'

  • 0 __GI_raise() at /build/glibc-B9XfQf/glibc-2.28/sysdeps/unix/sysv/linux/raise.c:50
  • 1 __GI_abort() at /build/glibc-B9XfQf/glibc-2.28/stdlib/abort.c:79
  • 2 __assert_fail_base() at /build/glibc-B9XfQf/glibc-2.28/assert/assert.c:92
  • 3 __GI___assert_fail() at /build/glibc-B9XfQf/glibc-2.28/assert/assert.c:101
  • 4 ccl::OBVH_bvh_intersect_motion() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/obvh_traversal.h:249
  • 5 ccl::bvh_intersect_motion() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/bvh_traversal.h:348
  • 6 ccl::scene_intersect() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/bvh.h:257
  • 7 ccl::kernel_path_scene_intersect() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:68
  • 8 ccl::kernel_path_integrate() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:539
  • 9 ccl::kernel_path_trace() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:692
  • 10 ccl::kernel_cpu_avx2_path_trace() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h:90
  • 11 ccl::CPUDevice::path_trace() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:851
  • 12 ccl::CPUDevice::thread_render() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:933
  • 13 ccl::CPUDevice::thread_run() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:512
  • 14 std::__invoke_impl<void, void (ccl::CPUDevice::&)(ccl::DeviceTask), ccl::CPUDevice*&, ccl::CPUDevice::CPUDeviceTask*&>() at /usr/include/c++/7/bits/invoke.h:73
  • 15 std::__invoke<void (ccl::CPUDevice::&)(ccl::DeviceTask), ccl::CPUDevice*&, ccl::CPUDevice::CPUDeviceTask*&>() at /usr/include/c++/7/bits/invoke.h:95
  • 16 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>)() at /usr/include/c++/7/functional:467
  • 17 std::_Bind<void (ccl::CPUDevice::(ccl::CPUDevice, ccl::CPUDevice::CPUDeviceTask*))(ccl::DeviceTask*)>::operator()<int, void>(int&&)() at /usr/include/c++/7/functional:551
  • 18 std::_Function_handler<void (int), std::_Bind<void (ccl::CPUDevice::(ccl::CPUDevice, ccl::CPUDevice::CPUDeviceTask*))(ccl::DeviceTask*)> >::_M_invoke(std::_Any_data const&, int&&)() at /usr/include/c++/7/bits/std_function.h:316
  • 19 std::function<void (int)>::operator()(int) const() at /usr/include/c++/7/bits/std_function.h:706

20 ccl::TaskScheduler::thread_run() at /home/stuff6/blender/git/blender/intern/cycles/util/util_task.cpp:396

its crashing for me,on linux (ubuntu 18.10),with blender 2.81. The scene is exceeding a fixed max limit BVH_OSTACK_SIZE = 768 causing assert failure 'kernel_assert(stack_ptr < BVH_OSTACK_SIZE);' - 0 __GI_raise() at /build/glibc-B9XfQf/glibc-2.28/sysdeps/unix/sysv/linux/raise.c:50 - 1 __GI_abort() at /build/glibc-B9XfQf/glibc-2.28/stdlib/abort.c:79 - 2 __assert_fail_base() at /build/glibc-B9XfQf/glibc-2.28/assert/assert.c:92 - 3 __GI___assert_fail() at /build/glibc-B9XfQf/glibc-2.28/assert/assert.c:101 - 4 ccl::OBVH_bvh_intersect_motion() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/obvh_traversal.h:249 - 5 ccl::bvh_intersect_motion() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/bvh_traversal.h:348 - 6 ccl::scene_intersect() at /home/stuff6/blender/git/blender/intern/cycles/kernel/bvh/bvh.h:257 - 7 ccl::kernel_path_scene_intersect() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:68 - 8 ccl::kernel_path_integrate() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:539 - 9 ccl::kernel_path_trace() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernel_path.h:692 - 10 ccl::kernel_cpu_avx2_path_trace() at /home/stuff6/blender/git/blender/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h:90 - 11 ccl::CPUDevice::path_trace() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:851 - 12 ccl::CPUDevice::thread_render() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:933 - 13 ccl::CPUDevice::thread_run() at /home/stuff6/blender/git/blender/intern/cycles/device/device_cpu.cpp:512 - 14 std::__invoke_impl<void, void (ccl::CPUDevice::*&)(ccl::DeviceTask*), ccl::CPUDevice*&, ccl::CPUDevice::CPUDeviceTask*&>() at /usr/include/c++/7/bits/invoke.h:73 - 15 std::__invoke<void (ccl::CPUDevice::*&)(ccl::DeviceTask*), ccl::CPUDevice*&, ccl::CPUDevice::CPUDeviceTask*&>() at /usr/include/c++/7/bits/invoke.h:95 - 16 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>)() at /usr/include/c++/7/functional:467 - 17 std::_Bind<void (ccl::CPUDevice::*(ccl::CPUDevice*, ccl::CPUDevice::CPUDeviceTask*))(ccl::DeviceTask*)>::operator()<int, void>(int&&)() at /usr/include/c++/7/functional:551 - 18 std::_Function_handler<void (int), std::_Bind<void (ccl::CPUDevice::*(ccl::CPUDevice*, ccl::CPUDevice::CPUDeviceTask*))(ccl::DeviceTask*)> >::_M_invoke(std::_Any_data const&, int&&)() at /usr/include/c++/7/bits/std_function.h:316 - 19 std::function<void (int)>::operator()(int) const() at /usr/include/c++/7/bits/std_function.h:706 # 20 ccl::TaskScheduler::thread_run() at /home/stuff6/blender/git/blender/intern/cycles/util/util_task.cpp:396

i was able to render the full scene by subdividing the green ground plane mesh into 4x4 quads.

i thnk the bvh tree is crapping out because there is too many faces at one location + 1 larrge quad or something.

i was able to render the full scene by subdividing the green ground plane mesh into 4x4 quads. i thnk the bvh tree is crapping out because there is too many faces at one location + 1 larrge quad or something.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

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

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

I had it crashing once, but I think that was for an unrelated reason, and I also cannot reproduce it anymore.

@Macroni can you reproduce that crash reliably or does it only happen sometimes?

@Fanfan At one point you wrote frame 450 in your initial post, is that a typo?

I had it crashing once, but I think that was for an unrelated reason, and I also cannot reproduce it anymore. @Macroni can you reproduce that crash reliably or does it only happen sometimes? @Fanfan At one point you wrote `frame 450` in your initial post, is that a typo?

@JacquesLucke No, not a typo, It crashed also on this frame.
I don't have the laptop on which I discovered this crash anymore, I have a brand new computer, reinstalled from scratch, with Blender 2.80. I downloaded the attached file, opened it and pressed F12. It crashed. immediately (Scene 5, Frame 405, selected area). I tried to reopen, moved to scene 5, frame 450, removed the render area selection and pressed F12 : crash somewhere below the book in bookshelf "Le Misanthrope"

@JacquesLucke No, not a typo, It crashed also on this frame. I don't have the laptop on which I discovered this crash anymore, I have a brand new computer, reinstalled from scratch, with Blender 2.80. I downloaded the attached file, opened it and pressed F12. It crashed. immediately (Scene 5, Frame 405, selected area). I tried to reopen, moved to scene 5, frame 450, removed the render area selection and pressed F12 : crash somewhere below the book in bookshelf "Le Misanthrope"
Member

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

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

Crashes everytime for me on linux with 2.81a.
Splitting the single face of mesh 'Plane.000' into 4 quads fixes it for me.

However , blender-2.82-3e11c4e63b2f-linux-glibc217-x86_64 downloaded from https://builder.blender.org/download/
works fine.so maybe the bug is fixed in blender-2.82-3e11c4e63b2f

Crashes everytime for me on linux with 2.81a. Splitting the single face of mesh 'Plane.000' into 4 quads fixes it for me. However , blender-2.82-3e11c4e63b2f-linux-glibc217-x86_64 downloaded from https://builder.blender.org/download/ works fine.so maybe the bug is fixed in blender-2.82-3e11c4e63b2f
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Philipp Oeser self-assigned this 2020-01-21 15:17:55 +01:00
Member

Can reliably make it crash in 2.81a as well, but current master or current builbot builds are fine...
(not aware of any specific commit that changed there, or if some default changed, but will assume this is resolved for good...)

@Fanfan , @Macroni : feel free to comment again if this creeps up another time...

Can reliably make it crash in 2.81a as well, but current master or current builbot builds are fine... (not aware of any specific commit that changed there, or if some default changed, but will assume this is resolved for good...) @Fanfan , @Macroni : feel free to comment again if this creeps up another time...
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
5 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#72151
No description provided.