Created attachment 155902 [details] The copied report from krita's bug report page SUMMARY When I am trying to animate on my tablet it keeps freeze crashing after short periods when interacting with animation docker, and requires a restart of app with cleared cache to work again, and happened 3 or 4 times within an hour making it near unusable. *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports (I think I did this?) *** STEPS TO REPRODUCE 1. Use animation docker 2. Change frames an unknown amount of times (seemed to often be between 5 and 10) 3. Crash via screen freezing OBSERVED RESULT Screen freezes, app fails to reopen until it is force quit AND cache is cleared EXPECTED RESULT Frame changes when selected SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION See attachment
Sharaf, can you take a look?
Hi! Can you please share the file which causes this bug? If it is confidential, you can mail it to me at shzam at sdf.org.
Hiya, not confidential so here it is. On Sat, 25 Feb 2023, 06:00 sh_zam, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=465199 > > --- Comment #2 from sh_zam <shzam@sdf.org> --- > Hi! Can you please share the file which causes this bug? If it is > confidential, > you can mail it to me at shzam at sdf.org. > > -- > You are receiving this mail because: > You reported the bug.
I think to forgot to attach the file :)
Oops, File was too large for email, here’s a link to it in dropbox. https://www.dropbox.com/sh/3b8y1rqxfa77drt/AAAAc18lkqy3rbLQ3GLdwuLxa?dl=0 *From: * sh_zam[1] *Sent: *27 February 2023 07:41 *To: * marmaladeplan3t@gmail.com[2] *Subject: *[krita] [Bug 465199] App freezes when I use animation docker https://bugs.kde.org/show_bug.cgi?id=465199 --- Comment #4 from sh_zam <shzam@sdf.org> --- I think to forgot to attach the file :) -- You are receiving this mail because: You reported the bug. 1. mailto:bugzilla_noreply@kde.org 2. mailto:marmaladeplan3t@gmail.com
Odd, I can't reproduce it, it opens for me and the animation runs fine, and I can change frames with much issues. Would it be possible for you to screen record the interaction with Krita? (The number of frames is quite large, and my device is weaker -- so maybe we can rule out the possibility that this is due to weaker device :) ).
I will do that later today *From: * sh_zam[1] *Sent: *01 March 2023 06:31 *To: * marmaladeplan3t@gmail.com[2] *Subject: *[krita] [Bug 465199] App freezes when I use animation docker https://bugs.kde.org/show_bug.cgi?id=465199 --- Comment #6 from sh_zam <shzam@sdf.org> --- Odd, I can't reproduce it, it opens for me and the animation runs fine, and I can change frames with much issues. Would it be possible for you to screen record the interaction with Krita? (The number of frames is quite large, and my device is weaker -- so maybe we can rule out the possibility that this is due to weaker device :) ). -- You are receiving this mail because: You reported the bug. 1. mailto:bugzilla_noreply@kde.org 2. mailto:marmaladeplan3t@gmail.com
Created attachment 156905 [details] attachment-3383446-0.html Sorry I think I'll have to do it tomorrow, ain't gonna get time tonight On Wed, 1 Mar 2023, 15:37 Ash Hobba, <marmaladeplan3t@gmail.com> wrote: > I will do that later today > > *From: *sh_zam <bugzilla_noreply@kde.org> > *Sent: *01 March 2023 06:31 > *To: *marmaladeplan3t@gmail.com > *Subject: *[krita] [Bug 465199] App freezes when I use animation docker > > > > https://bugs.kde.org/show_bug.cgi?id=465199 > > > > --- Comment #6 from sh_zam <shzam@sdf.org> --- > > Odd, I can't reproduce it, it opens for me and the animation runs fine, > and I > > can change frames with much issues. Would it be possible for you to screen > > record the interaction with Krita? > > > > (The number of frames is quite large, and my device is weaker -- so maybe > we > > can rule out the possibility that this is due to weaker device :) ). > > > > -- > > You are receiving this mail because: > > You reported the bug. > > >
Sorry if this email sent twice, I made an error the first time. Right, I loaded up Krita on my Tab S7 again, loaded the file in my animation workspace and them started drawing. I honestly thought that the issue might have vanished for no apparent reason, as in the past it was crashing within the first few minutes of use, however the crash did eventually come after 15 minutes. After the freeze, I stopped recording simply to ensure that I had captured the freeze on video, all I did between stopping the recording was hit the home button, then look at the video, after which I began recording again, where I click the Krita icon and it fails to open. Unlike some of the times it has done this before, after force closing app it managed to reopen like normal, however sometimes it will not load past black screen without cache clear. As far as I can tell, there was no apparent reason for the crash, I simply selected a frame and it froze. I have also uploaded the log file for this session, all to the same drobox link as the original file that was causing issues. I have not tested any other files for the same issue, so am not sure if the program or file is the cause. Link to dropbox: https://www.dropbox.com/sh/3b8y1rqxfa77drt/AAAAc18lkqy3rbLQ3GLdwuLxa?dl=0 *From: * sh_zam[1] *Sent: *01 March 2023 06:31 *To: * marmaladeplan3t@gmail.com[2] *Subject: *[krita] [Bug 465199] App freezes when I use animation docker https://bugs.kde.org/show_bug.cgi?id=465199 --- Comment #6 from sh_zam <shzam@sdf.org> --- Odd, I can't reproduce it, it opens for me and the animation runs fine, and I can change frames with much issues. Would it be possible for you to screen record the interaction with Krita? (The number of frames is quite large, and my device is weaker -- so maybe we can rule out the possibility that this is due to weaker device :) ). -- You are receiving this mail because: You reported the bug. 1. mailto:bugzilla_noreply@kde.org 2. mailto:marmaladeplan3t@gmail.com
Thanks a lot for the recording! This looks like an internal deadlock somewhere in Krita. This is causing the app to not close, hence you have to invoke the Force Stop to kill the app. Let me ping Emmet, they manage animation side of Krita to see if they have any clue why/where something like this would happen.
Hey! Can you please share the information from Help -> Show system information for bug reports?
Created attachment 157453 [details] attachment-1200728-0.html Will do. On Sat, 18 Mar 2023, 01:06 sh_zam, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=465199 > > --- Comment #11 from sh_zam <shzam@sdf.org> --- > Hey! Can you please share the information from Help -> Show system > information > for bug reports? > > -- > You are receiving this mail because: > You reported the bug.
Created attachment 157503 [details] KritaSystemInformation.txt Here is sys info On Mon, 20 Mar 2023, 21:38 Marmalade Plan3t, <marmaladeplan3t@gmail.com> wrote: > Will do. > > On Sat, 18 Mar 2023, 01:06 sh_zam, <bugzilla_noreply@kde.org> wrote: > >> https://bugs.kde.org/show_bug.cgi?id=465199 >> >> --- Comment #11 from sh_zam <shzam@sdf.org> --- >> Hey! Can you please share the information from Help -> Show system >> information >> for bug reports? >> >> -- >> You are receiving this mail because: >> You reported the bug. > >
When the Krita screen freezes, do you ever get a warning from Samsung, saying something like: "Krita keeps stopping? Option 1: Wait, option 2: Kill"?
Created attachment 157537 [details] attachment-1431081-0.html No, I have never had any warning from the device about a crash/unresponsive, however I have not looked for one so possibly one may eventually show up, but it wouldn't be within the first minute I think. On Thu, 23 Mar 2023, 03:27 sh_zam, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=465199 > > --- Comment #14 from sh_zam <shzam@sdf.org> --- > When the Krita screen freezes, do you ever get a warning from Samsung, > saying > something like: "Krita keeps stopping? Option 1: Wait, option 2: Kill"? > > -- > You are receiving this mail because: > You reported the bug.
*** Bug 468692 has been marked as a duplicate of this bug. ***
Hi, sh_zam! I have found only two clues in the logs: The assert in the animation cache renderer: 15 Jan 2023 22:57:34 +0000: SAFE ASSERT (krita): "m_d->requestedFrame == frame" in file /home/user/workspace/Krita_Release_Android_arm64-v8a_Build/krita/libs/ui/KisAsyncAnimationRendererBase.cpp, line 133 and a crash log in the animation cache swapper (KisFrameCacheStore::saveFrame): Signal: 11 (SIGSEGV) (Code: 1) Time: Sun Jan 15 22:57:34 2023 GMT #00 pc 000000000093226c /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so #01 pc 00000000009330e8 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so (KisFrameCacheStore::saveFrame(int, KisSharedPtr<KisOpenGLUpdateInfo>, QRect const&)+1444) #02 pc 0000000000935fb0 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so (KisFrameCacheSwapper::saveFrame(int, KisSharedPtr<KisOpenGLUpdateInfo>, QRect const&)+68) #03 pc 00000000009191d8 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so #04 pc 0000000000918fd4 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so (KisAnimationFrameCache::addConvertedFrameData(KisSharedPtr<KisOpenGLUpdateInfo>, int)+176) #05 pc 000000000091d888 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so #06 pc 0000000000334fdc /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libkritaui.so #07 pc 00000000002b8958 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libQt5Core.so (QObject::event(QEvent*)+492) #08 pc 00000000001a9634 /data/app/~~janO3eCGuuenBbrDZG9FQQ==/org.krita-b7XCU0oaIVZnNMByBkBaaA==/lib/arm64/libQt5Widgets.so (QApplicationPrivate::notify_helper(QObject*, QEvent*)+296) Perhaps there is not enough disk space in the swapper location on Android? Could you test? Make sure that "Swap to Disk" is enabled in the Performace->Animation Cache tab of Krita settings...
This bug seems to be a different flavor of bug 464032 that I fixed recently. It happened because animation cache populator and the playback cache renderer tried to generate cache in parallel. *** This bug has been marked as a duplicate of bug 464032 ***