Henk Jan Priester wrote: > Using valgrind on application compiled with 4.5beta I get a lot of > valgrind errors. > > ==365== Conditional jump or move depends on uninitialised value(s) > ==365== at 0x82E35C6: QRasterPaintEngine::updatePen(QPen const&) > (in /home/hj /mtjcgmu42/montage2/justedit/justedit) > ==365== by 0x82E668C: QRasterPaintEngine::drawPolygon(QPoint > const*, int, QPa intEngine::PolygonDrawMode) (in > /home/hj/mtjcgmu42/montage2/justedit/justedit) > ==365== by 0x8285681: QPainter::drawPolygon(QPoint const*, int, > Qt::FillRule) (in /home/hj/mtjcgmu42/montage2/justedit/justedit) > ==365== by 0x84AACFC: > QWindowsStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption > const*, QPainter*, QWidget const*) const (in /home/hj/mtjcgmu42/mon > tage2/justedit/justedit) > ==365== by 0x848A217: > QCleanlooksStyle::drawPrimitive(QStyle::PrimitiveElemen t, > QStyleOption const*, QPainter*, QWidget const*) const (in > /home/hj/mtjcgmu42/ montage2/justedit/justedit) > ==365== by 0x849D96A: > QCleanlooksStyle::drawComplexControl(QStyle::ComplexCon trol, > QStyleOptionComplex const*, QPainter*, QWidget const*) const (in > /home/hj/ mtjcgmu42/montage2/justedit/justedit) > ==365== by 0x8786D5D: QScrollBar::paintEvent(QPaintEvent*) (in > /home/hj/mtjcg mu42/montage2/justedit/justedit) > ==365== by 0x81F05A9: QWidget::event(QEvent*) (in > /home/hj/mtjcgmu42/montage2 /justedit/justedit) > ==365== by 0x84C6B4D: QAbstractSlider::event(QEvent*) (in > /home/hj/mtjcgmu42/ montage2/justedit/justedit) > ==365== by 0x8786CB5: QScrollBar::event(QEvent*) (in > /home/hj/mtjcgmu42/monta ge2/justedit/justedit) > ==365== by 0x81AB119: QApplicationPrivate::notify_helper(QObject*, > QEvent*) ( in /home/hj/mtjcgmu42/montage2/justedit/justedit) > ==365== by 0x81AC1F3: QApplication::notify(QObject*, QEvent*) (in > /home/hj/mt jcgmu42/montage2/justedit/justedit) > ==365==
Hi, I ran a few examples from the current snapshots through valgrind and found one of these in the clipping code which I fixed yesterday, but not the one you report here. It could have been caused by a bug in the beta. Do you have a means of reproducing it? - Gunnar _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
