JPEG cmyk image crash

Boudewijn Rempt boud at valdyas.org
Thu Jan 19 13:53:53 CET 2006


On Thursday 19 January 2006 13:46, Cyrille Berger wrote:
> from what I can see the crash occures in lcms (cmsDoTransform), as we what
> we give to the function seems valid (except maybe the profile).
>
> valgrind return me that :
> ==10768== Invalid write of size 4
> ==10768==    at 0x80EB183: cmsDoTransform (in /usr/lib64/liblcms.so.1.0.14)
> ==10768==    by 0xC1DECE3: KisAbstractColorSpace::fromQColor(QColor const&,
> unsigned char*, KisProfile*) (kis_abstract_colorspace.cc:112)

Curious: the backtrace I posted crashed here already:

> ==10768==    by 0xC1DEE14: KisAbstractColorSpace::fromQColor(QColor const&,
> unsigned char, unsigned char*, KisProfile*)
> (kis_abstract_colorspace.cc:130) ==10768==    by 0xC1D2875:

Apparently on the call to the fromQColor on line 112, which you seem to 
acieve.

> KisColor::KisColor(QColor const&, KisColorSpace*) (kis_color.cc:46)
> ==10768==    by 0xBBF371B: KisImage::init(KisUndoAdapter*, int, int,
> KisColorSpace*, QString const&) (kis_image.cc:589)
> ==10768==    by 0xBBF7B70: KisImage::KisImage(KisUndoAdapter*, int, int,
> KisColorSpace*, QString const&) (kis_image.cc:485)
> ==10768==    by 0x10C41465: KisJPEGConverter::decode(KURL const&)
> (kis_jpeg_converter.cc:162)
> ==10768==    by 0x10C41D37: KisJPEGConverter::buildImage(KURL const&)
> (kis_jpeg_converter.cc:239)
> ==10768==    by 0x10C3D8EE: KisJPEGImport::convert(QCString const&,
> QCString const&) (kis_jpeg_import.cc:74)
> ==10768==    by 0x4CEC906:
> KoFilterChain::ChainLink::invokeFilter(KoFilterChain::ChainLink const*)
> (koFilterChain.cpp:66)
> ==10768==    by 0x4CECAD3: KoFilterChain::invokeChain()
> (koFilterChain.cpp:165)
> ==10768==    by 0x4CD7982: KoFilterManager::import(QString const&,
> KoFilter::ConversionStatus&) (koFilterManager.cc:230)

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060119/831359ae/attachment.pgp 


More information about the kimageshop mailing list