Segfault on random frame in render animation hangs Blender or system #72684
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#72684
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 18.04, also observed problem on Ubuntu 16.04
Graphics card: RTX2080, tried Cuda driver 410 & 440.44; also observed problem using CPU render
Blender Version
Broken: tried 2.80, 2.81a from website, and also 2.82 Alpha build (built from source)
Hash:
33eabb8220
Render animation will cause Blender to hang when it advances to a new frame. Sometimes it results in the whole system hanging. It freezes on a random frame, although it seems to be frame 5 or 7 most often.
Happens both with & without CUDA. The 3D models of the human body were imported using "Append..." into a collection. Then Shift-D was used to duplicate the individual collections titled "Player."
To reproduce:
Simply start Render Animation and wait until it freezes. It usually freezes by frame 7 or 8 on my system. If it makes it through all 10 frames (rare occurrence) then just close the render window and go back to 'Render Animation' to restart. It will usually fail by frame 7 the second time.
I tried a few things to see if it would change the situation:
(1) changing or reinstalling CUDA drivers did not help; problem also occurs with CPU rendering
(2) fails in both release and debug on latest build; went so far as to build the latest version from source and caught the segfault with gdb (text with full backtrace attached)
(3) upgraded ubuntu to see if it was something kernel related, did not help
(4) tried blender 2.80, 2.81a, and also source build and it affects all
(5) In some situations it hangs my whole system forcing me to hard reset (not just Blender)
gdb_backtrace.txt
gdb_backtrace_2nd_time
system-info.txt
stadium_minimal1.blend
Added subscriber: @GabrielM
To save some time looking through the gdb_backtrace_2nd_time, here is where the thread fails:
I've been able to narrow it down to something about one of the modifiers on the meshes in the 'Player collection.' Each Armature in each "Player" collection has two mesh elements prefixed "human_male_baseXX.YYY". These apparently have several modifiers on them, including subdivision, displacement, etc. I removed these extra modifiers on all these submeshes in the scene. Now the scene renders fine without the crash, so the crash must be related to one of the modifiers on these meshes under the "Player" collections.
Added subscriber: @mano-wii
From your log the problem seems to be related to
OpenSubdiv
, so it is very likely an effect of Adaptive Subdivision .This type of subdivision is experimental and can be quite slow in some settings.
I haven't checked the file yet to make sure it's a bug or a known limitation.
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
Got no crash here.
@GabrielM can you re-try with latest dev build?
Added subscriber: @brecht
The backtrace is in the Blender side usage of OpenSubdiv, not adaptive subdivision in Cycles. There may be some weird interaction between them, but most likely this is just not a Cycles bug.
Added subscriber: @dfelinto
Changed status from 'Needs User Info' to: 'Archived'
No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
@GabrielM if the problem persists please re-submit the report with the simplified file this time. From what you said you can probably narrow this down to a single modifier in a single object. From that you can simplify its geometry even further usually.