JPEG cmyk image crash

Cyrille Berger cberger at cberger.net
Thu Jan 19 13:46:24 CET 2006


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)
==10768==    by 0xC1DEE14: KisAbstractColorSpace::fromQColor(QColor const&, 
unsigned char, unsigned char*, KisProfile*) (kis_abstract_colorspace.cc:130)
==10768==    by 0xC1D2875: 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)

-- 
--- Cyrille Berger ---


More information about the kimageshop mailing list