Redrawtimer PlayAnim cause a hang #76754

Open
opened 2020-05-14 17:19:54 +02:00 by Julian Mohr · 18 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90 (sub 1), branch: master, commit date: 2020-05-13 13:19, hash: 3a1426afbd

Short description of error
Edge case ahead:
Redrawtimer Play Anim should run 10 times.
with or without an animation the result is the same on second run it hangs with nothing obvious wrong.
2020-05-12 23-08-14.mp4

I can cause it to hang:
10 out of 10 times when during the computation left mouse is clicked.(mostly on the second run also the mouse cursor dont need to be in blender)

Exact steps for others to reproduce the error
Based on default cube.
start Redraw Timer Play Anim and click left mouse

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87 **Blender Version** Broken: version: 2.90 (sub 1), branch: master, commit date: 2020-05-13 13:19, hash: `3a1426afbd` **Short description of error** **Edge case ahead:** Redrawtimer Play Anim should run 10 times. with or without an animation the result is the same on second run it hangs with nothing obvious wrong. [2020-05-12 23-08-14.mp4](https://archive.blender.org/developer/F8535436/2020-05-12_23-08-14.mp4) I can cause it to hang: 10 out of 10 times when during the computation left mouse is clicked.(mostly on the second run also the mouse cursor dont need to be in blender) **Exact steps for others to reproduce the error** Based on default cube. start Redraw Timer Play Anim and click left mouse
Author

Added subscriber: @Jewls

Added subscriber: @Jewls
Author

Had commented in #71569 wich was closed nov ´19 my bad.

Had commented in #71569 wich was closed nov ´19 my bad.

Added subscriber: @iss

Added subscriber: @iss

Can't reproduce on
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61

In task manager program is flagged as "not responding" though

@Jewls have you tried to wait for a minute?

Can't reproduce on Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61 In task manager program is flagged as "not responding" though @Jewls have you tried to wait for a minute?
Author

yes but its unsure to recover: 5 out of 10 times it wont recover.
and ill have to close it
Its really an edge case
maybe its only on my machine but for sure here are more infos:
system-info.txt

yes but its unsure to recover: 5 out of 10 times it wont recover. and ill have to close it Its really an **edge case** maybe its only on my machine but for sure here are more infos: [system-info.txt](https://archive.blender.org/developer/F8536845/system-info.txt)
Author

Have tested also with 2.80 Series starting from 2.80 releases and all will play the animation even tough there is no animation.
It will stuck but not completly hang.
2020-05-15 12-05-27.mp4

Also had a weird experience with 2.79 where it overjumped the animation completely and finished under a second.
And other times it ran normally.

Im not getting clever out of this Issue

Have tested also with 2.80 Series starting from 2.80 releases and all will play the animation even tough there is no animation. It will stuck but not completly hang. [2020-05-15 12-05-27.mp4](https://archive.blender.org/developer/F8536856/2020-05-15_12-05-27.mp4) Also had a weird experience with 2.79 where it overjumped the animation completely and finished under a second. And other times it ran normally. Im not getting clever out of this Issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I cannot reproduce the problem in debug mode which makes it quite difficult to investigate what is going on.

I managed to make the daily build hang for a few seconds.
It must be related to the fact that the program is flagged as "not responding".

This is an operator used for benchmark. Therefore, clicking or doing things while it is running can change the result.

I don't know if this operator is really being used for benchmark tests, I think it could be removed.
But the fact that blender is flagged as "not responding" might be worth investigating.

I cannot reproduce the problem in debug mode which makes it quite difficult to investigate what is going on. I managed to make the daily build hang for a few seconds. It must be related to the fact that the program is flagged as `"not responding"`. This is an operator used for benchmark. Therefore, clicking or doing things while it is running can change the result. I don't know if this operator is really being used for benchmark tests, I think it could be removed. But the fact that blender is flagged as `"not responding"` might be worth investigating.
Author

@mano-wii I wanted to build an debug build for this issue but "Avira Anivirus" cancelled it and found allegedly an virus should it also been reported to you ?

@mano-wii I wanted to build an debug build for this issue but "Avira Anivirus" cancelled it and found allegedly an virus should it also been reported to you ?

In #76754#932604, @Jewls wrote:
@mano-wii I wanted to build an debug build for this issue but "Avira Anivirus" cancelled it and found allegedly an virus should it also been reported to you ?

If I'm not mistaken this is common.
User build and daily build are not signed.

And it is not suitable as a bug report as we don't take build errors as bug reports.

> In #76754#932604, @Jewls wrote: > @mano-wii I wanted to build an debug build for this issue but "Avira Anivirus" cancelled it and found allegedly an virus should it also been reported to you ? If I'm not mistaken this is common. User build and daily build are not signed. And it is not suitable as a bug report as we don't take build errors as bug reports.

Added subscriber: @rjg

Added subscriber: @rjg

@Jewls This is most likely a false positive. Depending on configuration some anti-virus software flags anything for quarantine that isn't whitelisted or doesn't have a known signature. A custom debug build would certainly fall into that category.

@Jewls This is most likely a false positive. Depending on configuration some anti-virus software flags anything for quarantine that isn't whitelisted or doesn't have a known signature. A custom debug build would certainly fall into that category.
Author

Thank you for your explonations @mano-wii and @rjg

Thank you for your explonations @mano-wii and @rjg
Author

have managed to build thedebug buildand the result is quite the same with one exception it will recover it self.
10 out of 10 game again and it will get stuck at the second run as soon mouse is clicked it becomes unresponsive but not as unresponsive marked in the task manager.
2020-05-16 00-07-10.mp4
any guesses or hints where to look at?

have managed to build the**debug build**and the result is quite the same with one exception it **will** recover it self. 10 out of 10 game again and it will get stuck at the second run as soon mouse is clicked it becomes unresponsive but not as unresponsive marked in the task manager. [2020-05-16 00-07-10.mp4](https://archive.blender.org/developer/F8537778/2020-05-16_00-07-10.mp4) any guesses or hints where to look at?
Author

Some spectations while playing with this:

All information gathered on first run because it runs smooth

Eevee:
Solid mode time to finish a run avrage 10 secs
Render preview time avrage 4,5 secs

Cyles:
Solid mode 10 secs
Renderpreview cpu 4,7 secs
Render preview gpu 10 secs - no lag or hang - also tested with master because debug build will cancel the render but behavior is the same.

All Animations are the same simple cube and clearly capped to default 24 fps frame rate - default 250 frames long.
Suspicion: frame rate cap is overwriten with 60 fps or uncapped in preview modes. 250/ 60 = 4.16 secs

Some spectations while playing with this: All information gathered on first run because it runs smooth Eevee: Solid mode time to finish a run avrage **10** secs Render preview time avrage **4,5** secs Cyles: Solid mode **10** secs Renderpreview cpu **4,7** secs Render preview gpu **10** secs - no lag or hang - also tested with master because debug build will cancel the render but behavior is the same. All Animations are the same simple cube and clearly capped to default 24 fps frame rate - default 250 frames long. Suspicion: frame rate cap is overwriten with 60 fps or uncapped in preview modes. 250/ 60 = 4.16 secs
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Hm, this has been in limbo for quite some time now.

I cannot reproduce it here

**System Information**
Operating system: Linux-5.8.18-300.fc33.x86_64-x86_64-with-fedora-33-Thirty_Three 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66
version: 2.92.0 Alpha, branch: master, commit date: 2020-11-18 22:29, hash: `rB9d6d5b9bebd1`, also tested 2.90.1

Will flag this as a Windows issue, and since the triaging force seems to have to obvious way to proceed here, will leave up to developers to decide what to do.

Hm, this has been in limbo for quite some time now. I cannot reproduce it here ``` **System Information** Operating system: Linux-5.8.18-300.fc33.x86_64-x86_64-with-fedora-33-Thirty_Three 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66 version: 2.92.0 Alpha, branch: master, commit date: 2020-11-18 22:29, hash: `rB9d6d5b9bebd1`, also tested 2.90.1 ``` Will flag this as a Windows issue, and since the triaging force seems to have to obvious way to proceed here, will leave up to developers to decide what to do.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:24:28 +01:00
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#76754
No description provided.