[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: With mingw-w64 5.4, Krita SegFault when creating or opening files
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2016-09-26 8:37:07
Message-ID: alpine.LNX.2.00.1609261036210.31987 () calcifer ! valdyas ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic