Segmentation-fault, Krita keeps crashing on MacOs

this is my first post here, so sorry if this isn’t formatted nicely.

yesterday, krita was working nicely, regularly, nothing was wrong. Then I had a issue with my cursor, so I decided to hard quit krita after saving my files, and reopen it. Before, this worked normally, but now it doesn’t. it keeps crashing. I checked my software on mac, it’s up to date. I reset my computer, and it still doesn’t work. I Found out there is a new krita software, so I decided to just delete my old krita and download the new version, but even that won’t work, or sometimes it just has the mac loading circle, but then it doesn’t even show the opening screen. I put all .kra files and pens on an external drive so that, maybe it was krita picking up on old stuff, but still it doesn’t work.

When looking through the crash report it says reason for termination;

“Namespace SIGNAL, Code 11 Segmentation fault: 11”

and segment 11 is;

“KisApplication: :notify(QObject*, Event*)”

I’m not really sure what that means, can anyone help me? I’d really appreciate any help.

I’m experiening a similar problem, krita launches for me but i can’t go into the editor at all

When i open the application, most of the time it opens the title card, but then closes before opening the actual main window.

for me it breaks when i open or make a new file, i think it’s probably because you’re on macOS and im on windows

:slight_smile: Hello @Salezoria and welcome to the forum!

I don’t know why your forcefully terminated Krita has, now afterward, problems with memory access, a segmentation-fault means that a software tried to access memory that is not allowed for it to access, as far as I can remember this.
This needs the attention of a person with knowledge of macOS as well as coding and these memory issues.
@freyalupen, @Lynx3d do you have ideas what happened here, and what could be done to solve the issue?

Additionally, I’ll edit your topic-title to attract more users with the needed knowledge, thinking that is okay for you.

Michelist

@Michelist Yes, ‘segmentation fault’ (or ‘access violation’ on Windows) basically means it crashed trying to read something in memory that wasn’t there. (Interestingly, the Wikipedia page has a screenshot of a Krita segfault.)

@Salezoria If you have the full crash log, could you find the “Crashed Thread” and share its backtrace?

@freyalupen I wouldn’t be against sharing it, but I dont know how to find it. do I just try opening krita again and show the crash screen? sorry for the inconvenience

You can find them in ~/Library/Preferences, at the very end of that folder, but not in any subfolder of it, not even the one named krita if it exists.
In case it is too big to post it here, you can use a file sharing service or cloud space you got, something like Dropbox, Google Drive, box, OneDrive, and share the link here, or in case you have no account with such a service, you can use Ufile.io, there you can share files up to 5GB in size without registration and the files are deleted automatically a month after uploading them.
Another way to share it would be one of the many paste-bin services, where you can upload text-files and share them with everyone who gets the link to the file uploaded by you.

Michelist

Thank you for informing me! Here’s a screenshot of the latest files in ~/Library/Preferences, if I need to send more I am willing too I just dont know what I do or dont need to show (for privacy sakes).

Upload files for free - Screenshot 2024-07-10 at 12.22.55 PM.png - ufile.io

The macOS crash logs are in ~/Library/Logs/DiagnosticReports/.
(Sorry about the late reply.)

@freyalupen It’s ok! I found it, so what do I send a screenshot of? Looking through them, alot of them say ‘termination reason segment 11’, and segment 11 is
‘11 libkritaui.19.0.0.dylib 0x10237ef48 KisApplication::notify(QObject*, QEvent*)’

I fixed it! I want to thank everyone for the help. If anyones curious at all, all I did was go to ~/Library/Preferences/kritarc then in the preferences delete all files that have “krita” in it’s name, then I reopened krita and it works perfectly. It doesn’t seem to have deleted anything, so the precautions I took wasn’t really needed, tho I recommend it just in case.

Any changes you may have made to the default settings/configuration will be reset to default. That’s a minor inconvenience if it’s happened.

Hi. I’m having the same problem you were having, but can’t seem to find the kritarc file in Library/Preferences. Does anyone know why this might be?

I figured it out never mind haha