[Magick-bugs] Re: fontconfig

Andras Mantia amantia at kde.org
Sun Nov 26 16:32:03 CST 2006


On Sunday 26 November 2006 19:28, omicronpersei8 at imagemagick.org wrote:
> > Is it possible to try on a 64 bit system as well?
>
> We tried your code under Fedora Core 6 x64 and it ran without
> complaint.

Thank you. I reported the bug to SUSE, and meantime I also tried to 
debug it.
 Indeed the code as it was posted does not crash alone, and I found that 
it crashes if it is used after certain Qt methods, like setting the 
alignment of a label. I also verified SUSE's fontconfig and 
imagemagick, and made sure to use the same version for fontconfig as it 
is in Fedora6 (I recompiled the package) and I also recompiled 
ImageMagick 6.3.0 from the official source, but using SUSE's flags. The 
bug remained, but valgrind hinted that some memory corruption might 
come from the X server itself, but I couldn't find the real problem 
yet.
 I would like to know if this is SUSE specific or not, so in case you 
can check the following application, I'd be grateful. Just replace the 
path to the image, run "qmake src.pro" (qmake must be from Qt3), make 
and run the resulted "imagemagickcrash". If it crashes, disabling the 

 label->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | 
QLabel::AlignLeft )  );

should make it not crash...

Thanks in advance,
Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org


More information about the Magick-bugs mailing list