Crash while rendering short evee animation to ffmpeg video. #57560

Closed
opened 2018-11-01 16:48:11 +01:00 by Hasan Ratavat · 12 comments

System Information
Windows 10 1609 Build NVidia 1050 Ti OC 4Gb

Blender Version
Broken: blender-2.80.0-git.ae87adc73a2-windows64

Short description of error

Doing some Animation and setting Tests with the evee engine. Finaly I was trying to do a short video out of it. Near finish of the animation rendering in Evee, Blender simply just Closed completly.

animationTest.blend

Exact steps for others to reproduce the error
See upper description.

**System Information** Windows 10 1609 Build NVidia 1050 Ti OC 4Gb **Blender Version** Broken: blender-2.80.0-git.ae87adc73a2-windows64 **Short description of error** Doing some Animation and setting Tests with the evee engine. Finaly I was trying to do a short video out of it. Near finish of the animation rendering in Evee, Blender simply just Closed completly. [animationTest.blend](https://archive.blender.org/developer/F5325600/animationTest.blend) **Exact steps for others to reproduce the error** See upper description.
Author

Added subscriber: @Zyankali

Added subscriber: @Zyankali
Member

Added subscribers: @Sergey, @lichtwerk

Added subscribers: @Sergey, @lichtwerk
Sergey Sharybin was assigned by Philipp Oeser 2018-11-02 10:43:59 +01:00
Member

Can confirm here.
Ran the render twice, assert happened on different frames.
Ran the render again with the --threads 1 commandline option and didnt have issues.
So seems to be a threading conflict / race condition?

Append frame 139
 Time: 00:01.50 (Saving: 00:00.18)

./bin/blender(BLI_system_backtrace+0x26) [0x2bc6439]
./bin/blender(DEG_get_original_id+0x55) [0x2bdde29]
./bin/blender(DEG_get_original_object+0x18) [0x2bdddd2]
./bin/blender() [0x267d488]
./bin/blender(makeDerivedMesh+0x39) [0x267d5b4]
./bin/blender(BKE_object_handle_data_update+0x20e) [0x280a687]
./bin/blender(BKE_object_eval_uber_data+0xb0) [0x280ac69]
./bin/blender(_ZSt13__invoke_implIvRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EET_St14__invoke_otherOT0_DpOT1_+0x64) [0x2bf386e]
./bin/blender(_ZSt8__invokeIRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSC_DpOSD_+0x67) [0x2bf25ca]
./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EE6__callIvJOS1_EJLm0ELm1ELm2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE+0xa0) [0x2bf1186]
./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EEclIJS1_EvEET0_DpOT_+0x41) [0x2bef4b5]
./bin/blender(_ZNSt17_Function_handlerIFvP9DepsgraphESt5_BindIFPFvS1_P5SceneP6ObjectESt12_PlaceholderILi1EES5_S7_EEE9_M_invokeERKSt9_Any_dataOS1_+0x37) [0x2becac7]
./bin/blender(_ZNKSt8functionIFvP9DepsgraphEEclES1_+0x49) [0x2c039dd]
./bin/blender() [0x2c03170]
./bin/blender() [0x2bc7102]
/lib64/libpthread.so.0(+0x858e) [0x7fb34104158e]
/lib64/libc.so.6(clone+0x43) [0x7fb340f68513]
BLI_assert failed: /blender/source/blender/depsgraph/intern/depsgraph_query.cc:246, DEG_get_original_id(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) != 0'
Aborted (core dumped)
Append frame 206
 Time: 00:01.46 (Saving: 00:00.17)

./bin/blender(BLI_system_backtrace+0x26) [0x2bc6439]
./bin/blender(DEG_get_original_id+0x55) [0x2bdde29]
./bin/blender(DEG_get_original_object+0x18) [0x2bdddd2]
./bin/blender() [0x267d488]
./bin/blender(makeDerivedMesh+0x39) [0x267d5b4]
./bin/blender(BKE_object_handle_data_update+0x20e) [0x280a687]
./bin/blender(BKE_object_eval_uber_data+0xb0) [0x280ac69]
./bin/blender(_ZSt13__invoke_implIvRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EET_St14__invoke_otherOT0_DpOT1_+0x64) [0x2bf386e]
./bin/blender(_ZSt8__invokeIRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSC_DpOSD_+0x67) [0x2bf25ca]
./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EE6__callIvJOS1_EJLm0ELm1ELm2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE+0xa0) [0x2bf1186]
./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EEclIJS1_EvEET0_DpOT_+0x41) [0x2bef4b5]
./bin/blender(_ZNSt17_Function_handlerIFvP9DepsgraphESt5_BindIFPFvS1_P5SceneP6ObjectESt12_PlaceholderILi1EES5_S7_EEE9_M_invokeERKSt9_Any_dataOS1_+0x37) [0x2becac7]
./bin/blender(_ZNKSt8functionIFvP9DepsgraphEEclES1_+0x49) [0x2c039dd]
./bin/blender() [0x2c03170]
./bin/blender() [0x2bc7102]
/lib64/libpthread.so.0(+0x858e) [0x7ff8a52c158e]
/lib64/libc.so.6(clone+0x43) [0x7ff8a51e8513]
BLI_assert failed: /blender/source/blender/depsgraph/intern/depsgraph_query.cc:246, DEG_get_original_id(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) != 0'
Aborted (core dumped)

@Sergey : does that ring a bell? Could you take over?

Can confirm here. Ran the render twice, assert happened on different frames. Ran the render again with the `--threads 1` commandline option and didnt have issues. So seems to be a threading conflict / race condition? ``` Append frame 139 Time: 00:01.50 (Saving: 00:00.18) ./bin/blender(BLI_system_backtrace+0x26) [0x2bc6439] ./bin/blender(DEG_get_original_id+0x55) [0x2bdde29] ./bin/blender(DEG_get_original_object+0x18) [0x2bdddd2] ./bin/blender() [0x267d488] ./bin/blender(makeDerivedMesh+0x39) [0x267d5b4] ./bin/blender(BKE_object_handle_data_update+0x20e) [0x280a687] ./bin/blender(BKE_object_eval_uber_data+0xb0) [0x280ac69] ./bin/blender(_ZSt13__invoke_implIvRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EET_St14__invoke_otherOT0_DpOT1_+0x64) [0x2bf386e] ./bin/blender(_ZSt8__invokeIRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSC_DpOSD_+0x67) [0x2bf25ca] ./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EE6__callIvJOS1_EJLm0ELm1ELm2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE+0xa0) [0x2bf1186] ./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EEclIJS1_EvEET0_DpOT_+0x41) [0x2bef4b5] ./bin/blender(_ZNSt17_Function_handlerIFvP9DepsgraphESt5_BindIFPFvS1_P5SceneP6ObjectESt12_PlaceholderILi1EES5_S7_EEE9_M_invokeERKSt9_Any_dataOS1_+0x37) [0x2becac7] ./bin/blender(_ZNKSt8functionIFvP9DepsgraphEEclES1_+0x49) [0x2c039dd] ./bin/blender() [0x2c03170] ./bin/blender() [0x2bc7102] /lib64/libpthread.so.0(+0x858e) [0x7fb34104158e] /lib64/libc.so.6(clone+0x43) [0x7fb340f68513] BLI_assert failed: /blender/source/blender/depsgraph/intern/depsgraph_query.cc:246, DEG_get_original_id(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) != 0' Aborted (core dumped) ``` ``` Append frame 206 Time: 00:01.46 (Saving: 00:00.17) ./bin/blender(BLI_system_backtrace+0x26) [0x2bc6439] ./bin/blender(DEG_get_original_id+0x55) [0x2bdde29] ./bin/blender(DEG_get_original_object+0x18) [0x2bdddd2] ./bin/blender() [0x267d488] ./bin/blender(makeDerivedMesh+0x39) [0x267d5b4] ./bin/blender(BKE_object_handle_data_update+0x20e) [0x280a687] ./bin/blender(BKE_object_eval_uber_data+0xb0) [0x280ac69] ./bin/blender(_ZSt13__invoke_implIvRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EET_St14__invoke_otherOT0_DpOT1_+0x64) [0x2bf386e] ./bin/blender(_ZSt8__invokeIRPFvP9DepsgraphP5SceneP6ObjectEJS1_RS3_RS5_EENSt15__invoke_resultIT_JDpT0_EE4typeEOSC_DpOSD_+0x67) [0x2bf25ca] ./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EE6__callIvJOS1_EJLm0ELm1ELm2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE+0xa0) [0x2bf1186] ./bin/blender(_ZNSt5_BindIFPFvP9DepsgraphP5SceneP6ObjectESt12_PlaceholderILi1EES3_S5_EEclIJS1_EvEET0_DpOT_+0x41) [0x2bef4b5] ./bin/blender(_ZNSt17_Function_handlerIFvP9DepsgraphESt5_BindIFPFvS1_P5SceneP6ObjectESt12_PlaceholderILi1EES5_S7_EEE9_M_invokeERKSt9_Any_dataOS1_+0x37) [0x2becac7] ./bin/blender(_ZNKSt8functionIFvP9DepsgraphEEclES1_+0x49) [0x2c039dd] ./bin/blender() [0x2c03170] ./bin/blender() [0x2bc7102] /lib64/libpthread.so.0(+0x858e) [0x7ff8a52c158e] /lib64/libc.so.6(clone+0x43) [0x7ff8a51e8513] BLI_assert failed: /blender/source/blender/depsgraph/intern/depsgraph_query.cc:246, DEG_get_original_id(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) != 0' Aborted (core dumped) ``` @Sergey : does that ring a bell? Could you take over?
Philipp Oeser changed title from unknown complete unwilling close of Blender while rendeing short evee animation to ffmpeg video. to Crash while rendering short evee animation to ffmpeg video. 2018-11-02 10:44:46 +01:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Can no longer reproduce the error and there were fixes related on a race condition of synchronizing data back to original object (this is what the backtrace suggests crash is happening in).

Let us know if the issue still happens for you. For until then considering the issue resolved.

Can no longer reproduce the error and there were fixes related on a race condition of synchronizing data back to original object (this is what the backtrace suggests crash is happening in). Let us know if the issue still happens for you. For until then considering the issue resolved.
Author

Error still there. standby.blend

Logo.blend with blender 168d3fd528

Error still there. [standby.blend](https://archive.blender.org/developer/F6725145/standby.blend) [Logo.blend](https://archive.blender.org/developer/F6725144/Logo.blend) with blender 168d3fd528c4
Author

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Author

using the single thread mode of blender solves the problem blender chrashing while creating a ffmpeg video.

using the single thread mode of blender solves the problem blender chrashing while creating a ffmpeg video.

Please always provide exact steps reproducing the error. It also better idea to submit a new bug report rather than re-opening existing ones. You can reference the older report from a new one, and then if it's needed those can be merged together.
Helps a lot keeping things under testable control.

I've tried opening every file form this report, changing the output path to something what exists on my system, hitting Ctrl-F12. Did not see any crashes so far.
So, is it some step which i am missing? Or is it just some tricky threading thing which are always tricky to reproduce on a different configuration of CPU?

One of the files is actually set to PNG output btw.

So questions:

  • Does it happen with only FFmpeg output, or also happens with PNG one? Assuming, you're rendering the same exact scehe with different out types.
  • Does it happen when you render to a fullscreen image editor (Render -> Display Mode -> Fullscreen)?
  • Does it happen with locked interface (Render -> Locked Interface)?
Please always provide exact steps reproducing the error. It also better idea to submit a new bug report rather than re-opening existing ones. You can reference the older report from a new one, and then if it's needed those can be merged together. Helps a lot keeping things under testable control. I've tried opening every file form this report, changing the output path to something what exists on my system, hitting Ctrl-F12. Did not see any crashes so far. So, is it some step which i am missing? Or is it just some tricky threading thing which are always tricky to reproduce on a different configuration of CPU? One of the files is actually set to PNG output btw. So questions: - Does it happen with only FFmpeg output, or also happens with PNG one? Assuming, you're rendering the same exact scehe with different out types. - Does it happen when you render to a fullscreen image editor (Render -> Display Mode -> Fullscreen)? - Does it happen with locked interface (Render -> Locked Interface)?
Author

Ok i´ll start a new thread/bug report than with added details and results of fourther tests.

Ok i´ll start a new thread/bug report than with added details and results of fourther tests.

Cool. Include as many details as possible, every detail matters!
One more thing you can do, is to run from a command line and see whether there are any errors/warnings printed there.

P.S. We hate bugs probably even more than you, but we are powerless if we can not reproduce the issue :(

Cool. Include as many details as possible, every detail matters! One more thing you can do, is to run from a command line and see whether there are any errors/warnings printed there. P.S. We hate bugs probably even more than you, but we are powerless if we can not reproduce the issue :(
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#57560
No description provided.