With mingw-w64 5.4, Krita SegFault when creating or opening files

Boudewijn Rempt boud at valdyas.org
Mon Sep 26 08:37:07 UTC 2016


On Sun, 25 Sep 2016, Alvin Wong wrote:

> Never mind, I am an idiot.
> 
> It turns out to be a super simple issue, that a DLL failed to get
> copied into the `bin` folder, causing kritadefaulttools.dll to fail to
> load, and then the crash. I should have seen that in the console
> output earlier so I wouldn't waste that much time.
> 
> This however, should have been easily detected by Krita when it failed
> to load a critical plugin, where it should have warned the user, or
> even error out, because there is no way Krita would work without that
> "plugin", and this creates cryptic crashes and stack traces that
> doesn't help tracking down the problem at all.

Right, that's a good point. Those checks should be done in

KisMainWindow::checkSanity()

Which already checks for the lcms plugin and for the presence
of at least one brush preset.

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the kimageshop mailing list