Bug 370537

Summary: Duplicating animated layer and moving frames (of the duplicated layer) to the beginning of the timeline crashes Krita
Product: [Applications] krita Reporter: silva <a.minha.venda.de.garagem>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: dimula73, halla
Priority: NOR    
Version: 3.0.2 Alpha   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Attachments: This is the testing file
attachment-23604-0.html

Description silva 2016-10-12 10:19:36 UTC
Created attachment 101540 [details]
This is the testing file

Duplicating an animated layer and then moving some of the frames of the duplicated layer crashes Krita. If I try to move the frames (of the duplicated layer) to the beginning of the timeline, it crashes everytime.

This is what the terminal says: 
Segmentation fault: 11

My system is OSX is El Capitan, iMac mid 2011 (processor: 2,5Ghz Intel Core i5, memory: 12 GB 1333MHz DDr3, graphics: AMD Radeon HD 6750M 512MB). OpenGL is enabled.
Comment 1 Halla Rempt 2016-10-13 09:48:09 UTC
*** Bug 370538 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2016-10-13 09:54:16 UTC
Hi Silva,

I cannot reproduce the crash, but I get a hang when trying to move the frames of the original layer. Something definitely is up here.
Comment 3 silva 2016-10-13 13:36:11 UTC
Hi Boudewijn,

I've discovered that it also happens everytime I move a frame to the beginning of the timeline, even without duplicating the layer.

Hope you find where the bug is hidden.

Thanks!
Comment 4 silva 2016-10-14 10:10:03 UTC
Hi again,

a little update on the bug: it only happens when moving frames to frame 0. If I move to frame 1, 2, 3, ... it doesn't crash.
Comment 5 Dmitry Kazakov 2016-11-03 07:04:48 UTC
Hi, Silva!

I guess this bug has already been fixed by these two commits:
https://cgit.kde.org/krita.git/commit/?id=a1e7098bdfa7618578f4c6096c0b35146c81bee3
https://cgit.kde.org/krita.git/commit/?id=a4ea3c9dcedf0b71092a5f9dec5045ec1adcc804


Could you please check the bug with the most recent build of Krita? I guess this is the right link:

http://download.kde.org/unstable/krita/3.0.91/krita-3.0.91.dmg

If the bug still persists, please reopen this bug. Right now I'll mark it as needsinfo.
Comment 6 silva 2016-11-03 12:38:48 UTC
Created attachment 101998 [details]
attachment-23604-0.html

It doesn't happen anymore! Thanks!