Crash while testing brush settings

Boudewijn Rempt boud at valdyas.org
Mon Sep 3 15:03:22 UTC 2012


On Monday 03 September 2012 Sep, Francisco Fernandes wrote:
> 2012/9/3 Boudewijn Rempt <boud at valdyas.org>
> 
> > It's a bit hard to say since you compile in release mode. You chould use
> > the -DCMAKE_BUILD_TYPE=KritaDevs option when running cmake.
> >
> 
> This backtrace was generated with the -DCMAKE_BUILD_TYPE=KritaDevs. I
> cleaned my build and install folders and recompiled with this flag
> several times before I got this output. I thought it was correct, since I
> wasn't get this backtrace previously. :/

Weird, because there was no debug info in the backtrace...

> 
> However, given that it's the preview widget, I'm guessing that your brush
> > engine counts on there being a KisImage object, and that's not true in the
> > settings widget.
> >
> 
> Actually it counts as a KisImage. Since this is the case, what can I do to
> make the brush work in the settings widget?
> 

Basically, you can't -- the only thing you can do is check whether an image is present, and if not, don't crash :-)

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


More information about the kimageshop mailing list