Bug 496161

Summary: SAFE ASSERT (krita): "m_changesTracker.isEmpty()" pop up
Product: [Applications] krita Reporter: holyshort80
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of error message

Description holyshort80 2024-11-12 07:12:42 UTC
Created attachment 175753 [details]
screenshot of error message

SUMMARY
 a pop up came up after repeated hanging:
SAFE ASSERT (krita): "m_changesTracker.isEmpty()" in file C:/
builds/graphics/krita/plugins/tools/tool_transform2/ kis_tool_transform.cc, line 1002

STEPS TO REPRODUCE
1. use transform tool
2. ?
3. 

OBSERVED RESULT
krita hangs repeatedly

EXPECTED RESULT
krita does not hang

SOFTWARE/OS VERSIONS
Windows: 
krita nightly build

ADDITIONAL INFORMATION
Comment 1 Dmitry Kazakov 2024-11-12 13:08:06 UTC
Hi, Holyshort!

Can you reproduce the issue? I mean, does it happen regularly? If yes, could you make a video recording of the the steps you do before the issue happens? I can see this assert check in the code, but I cannot understand how it can be triggered...

Could you also share you Help->Show System Information info? I wonder what version exactly you use.

PS:

Btw, do you happen to use transform masks when triggering this bug? Or just normal layers?
Comment 2 holyshort80 2024-11-12 15:23:31 UTC
(In reply to Dmitry Kazakov from comment #1)
This is the first time it's happened. Krita froze, then unfroze several times in the same session. Each time it unfroze it seemed like the transform tool was "resetting" ie losing any data I had input earlier. Then it finally showed the popup and then crashed.

I was using normal layers when this happened.

Unfortunately I upgraded to krita 5.2.6 right after this happened as I was hoping I could avoid any reoccurrence of the bug and losing important work, but I downloaded the nightly around Aug 31st this year.
Comment 3 Bug Janitor Service 2024-11-13 03:47:07 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.