Maniphest T76754

Redrawtimer PlayAnim cause a hang
Needs Information from Developers, Normal

Assigned To
None
Authored By
Julian Mohr (Jules)
May 14 2020, 5:19 PM
Tags
  • BF Blender
  • User Interface
  • Platform: Windows
Subscribers
Germano Cavalcante (mano-wii)
Julian Mohr (Jules)
Philipp Oeser (lichtwerk)
Richard Antalik (ISS)
Robert Guetzkow (rjg)

Description

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: rB3a1426afbd0a

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.

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

Event Timeline

Julian Mohr (Jules) created this task.May 14 2020, 5:19 PM
Julian Mohr (Jules) added a comment.May 14 2020, 5:22 PM

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

Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).May 14 2020, 11:43 PM

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

@Julian Mohr (Jules) have you tried to wait for a minute?

Julian Mohr (Jules) added a comment.EditedMay 15 2020, 11:56 AM

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:

Julian Mohr (Jules) added a comment.May 15 2020, 12:20 PM

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.

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

Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).May 15 2020, 4:45 PM

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.

Julian Mohr (Jules) added a comment.May 15 2020, 8:15 PM

@Germano Cavalcante (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 ?

Germano Cavalcante (mano-wii) added a comment.May 15 2020, 8:27 PM
In T76754#932604, @Julian Mohr (Jules) wrote:

@Germano Cavalcante (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.

Robert Guetzkow (rjg) added a subscriber: Robert Guetzkow (rjg).EditedMay 15 2020, 11:08 PM

@Julian Mohr (Jules) 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.

Julian Mohr (Jules) added a comment.May 15 2020, 11:32 PM

Thank you for your explonations @Germano Cavalcante (mano-wii) and @Robert Guetzkow (rjg)

Julian Mohr (Jules) added a comment.EditedMay 16 2020, 12:15 AM

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.

any guesses or hints where to look at?

Julian Mohr (Jules) added a comment.EditedMay 16 2020, 2:54 AM

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

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from Developers.Nov 20 2020, 10:04 AM
Philipp Oeser (lichtwerk) added projects: User Interface, Platform: Windows.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

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.