Sometimes when multiple tabs are open (couldn't find a way to reproduce systematically) if you close a tab (a document), krita crashes. Sometimes at the first tab, sometimes at another one... It has become rarer lately but it was in krita 4 for ages. It's still happening in 4.4.3-beta1
I did fix one bug like that once, so what you remember is probably another issue. If please get the crash log according to the instruction here: https://docs.krita.org/en/reference_manual/sharing_krita_logs.html#crash-log-and-backtrace
Following the instructions, I have to launch krita in debug mode. The thing is that is not happening often so I hope either it happens quick, or I can still work in lldb mode. If I can manage to work in lldb I'll get back when it crashes which may be far from today...
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
*** Bug 434760 has been marked as a duplicate of this bug. ***
I cannot reproduce this at all. I opened 2 documents consitently and closed the inactive one repeteadly and it never crashed. In between I switched applications, used mouse, pressed random keys, nothing. To generate stack traces (that help us inmensly) Please download Xcode 12 and install the command line tools (in a terminal type "sudo xcode-select --install"), sadly from XCode 12 onwards it is not possible to install command line tools by its own if you are not signed as developer (from the info I have) with the command line tools installed run Krita from lldb like this lldb krita.app/Contents/MacOS/krita A command prompt will show, type "run" (or just "r") and hit enter. Use krita normally, when it crashes the command prompt will show something like "process stopped, error etc" and show you the prompt again. with the prompt in the error type "bt all" and paste the result here.
If you wanna laugh, me neither. I'll run Krita with lldb from now on. However, won't it affect performance? I'm already struggling with macOS/OpenGL...
@Manga Tengu Can you confirm this is not an issue anymore?
No, I can't, every time it happens I'm not running lldb so it goes without a stack trace...
Hi, Manga Tengu! Can you check, perhaps you had some non-standard dockers open when Krita crashed? Perhaps you can reproduce the crash by opening more dockers? I tried to reproduce this bug with ASAN, but it didn't crash :(
Hello Dmitry! I always have minimal dockers (Layers and sometimes overview) I pop up the presets and color picker so I can stay light. I'm using 4.4.5 since its release and didn't have the crash yet either but I've been working simpler sessions with less than 5 documents open at a time. Usually, it happens when I have a lot of documents open, sometimes the same one multiple times. I should manipulate a lot of documents soon again so I hope it shows clearly btw what is ASAN ?
ASAN is a memory checker technology that warns about bugs in memory handling. If you haven't encountered the crash since 4.4.5, then I think we can close this bug for now. Please reopen if it happens again.