Bug 496161 - SAFE ASSERT (krita): "m_changesTracker.isEmpty()" pop up
Summary: SAFE ASSERT (krita): "m_changesTracker.isEmpty()" pop up
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-12 07:12 UTC by holyshort80
Modified: 2024-11-13 03:47 UTC (History)
1 user (show)

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


Attachments
screenshot of error message (4.96 KB, image/png)
2024-11-12 07:12 UTC, holyshort80
Details

Note You need to log in before you can comment on or make changes to this bug.
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.