Bug 409311 - While playing animation Krita crashes when I click anywhere than the pause button
Summary: While playing animation Krita crashes when I click anywhere than the pause bu...
Status: RESOLVED DUPLICATE of bug 408749
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 4.2.2
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-29 16:59 UTC by Nicol
Modified: 2019-07-01 10:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicol 2019-06-29 16:59:17 UTC
SUMMARY
When I play an animation, everything works fine, but if I click let's say on the canvas or on the outer space of canvas Krita crashes. To avoid this, I always need to click on the pause button.

STEPS TO REPRODUCE
1. Play an animation
2. Click with your mouse on the canvas or the outer space of the canvas 


OBSERVED RESULT
If I click anywhere than the pause button while the animation is playing the whole program crashes 

EXPECTED RESULT
The animation should stop as soon as I click anywhere on the screen/canvas

SOFTWARE/OS VERSIONS
Windows: Windows 10


ADDITIONAL INFORMATION:
I use Krita 4.4.2 (git b852e1a)
and here's video evidence of the whole situation 
https://www.youtube.com/watch?v=FSO6AFQuP9c&feature=youtu.be
The crash happens 100% of the time
Comment 1 Halla Rempt 2019-07-01 08:32:02 UTC
Hi Nicol,

I'm afraid I cannot reproduce the crash on my windows laptop with Krita 4.2.2. Could you try to create a crash lot (see https://docs.krita.org/en/reference_manual/dr_minw_debugger.html#dr-minw) and attach it to this bug report. It would be best if you were to use the latest nightly builds to do this (https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/ -- get both zip files, unpack the krita one, then copy the contents of the dbg one into the unpackage krita folder.)
Comment 2 Nicol 2019-07-01 10:03:36 UTC
(In reply to Boudewijn Rempt from comment #1)
> Hi Nicol,
> 
> I'm afraid I cannot reproduce the crash on my windows laptop with Krita
> 4.2.2. Could you try to create a crash lot (see
> https://docs.krita.org/en/reference_manual/dr_minw_debugger.html#dr-minw)
> and attach it to this bug report. It would be best if you were to use the
> latest nightly builds to do this
> (https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/ -- get both
> zip files, unpack the krita one, then copy the contents of the dbg one into
> the unpackage krita folder.)

Hi, 
I don't know what to do next, I followed the steps but in the krita folder there's only a shortcut not an install as I thought 
https://i.ibb.co/253psZY/New-Canvas.png
Zástupce - shortcut
Comment 3 Halla Rempt 2019-07-01 10:06:26 UTC
Make sure Krita isn't already running and then just double-click on that shortcut. Krita can run from this folder without being installed.
Comment 4 Nicol 2019-07-01 10:15:16 UTC
(In reply to Boudewijn Rempt from comment #3)
> Make sure Krita isn't already running and then just double-click on that
> shortcut. Krita can run from this folder without being installed.

oh wow what??
Krita is running perfectly fine 
it's not crashing anymore when I draw on the canvas while it's playing 
what did you do if I may ask???
I was downloading almost every new nightly build but it was always crashing
Comment 5 Halla Rempt 2019-07-01 10:19:39 UTC
I think it was fixed in 

Git commit 60895f2e1949158fdf632ae5bfd63a4bc24db45d by Dmitry Kazakov.
Committed on 25/06/2019 at 16:10.
Pushed by dkazakov into branch 'master'.

Fix hangup when trying to paint while playing **empty** image

M  +8    -6    libs/ui/canvas/kis_animation_player.cpp

https://invent.kde.org/kde/krita/commit/60895f2e1949158fdf632ae5bfd63a4bc24db45d

*** This bug has been marked as a duplicate of bug 408749 ***
Comment 6 Nicol 2019-07-01 10:22:41 UTC
(In reply to Boudewijn Rempt from comment #5)
> I think it was fixed in 
> 
> Git commit 60895f2e1949158fdf632ae5bfd63a4bc24db45d by Dmitry Kazakov.
> Committed on 25/06/2019 at 16:10.
> Pushed by dkazakov into branch 'master'.
> 
> Fix hangup when trying to paint while playing **empty** image
> 
> M  +8    -6    libs/ui/canvas/kis_animation_player.cpp
> 
> https://invent.kde.org/kde/krita/commit/
> 60895f2e1949158fdf632ae5bfd63a4bc24db45d
> 
> *** This bug has been marked as a duplicate of bug 408749 ***

I'm so sorry for bothering you, thank you so much!
Comment 7 Halla Rempt 2019-07-01 10:24:14 UTC
You're welcome :-)