[Qt-interest] Valgrind complaints with 4.7.1

Harri Pasanen grego at mpaja.com
Sun Jan 30 11:53:35 CET 2011


I'm trying to corner a strange bug that occurs on N8 phone only (strangely 
enough, on C7 it does not occur).

One of my standard tools is Valgrind which I use on linux. (Just upgraded to 
kubuntu 10.10 amd64).  

So I ran valgrind just to make sure that I get a clean bill of health on 
desktop.   I do, except repeating warning from inside libQtGui:

=16596== 
==16596== Use of uninitialised value of size 8
==16596==    at 0x6CBCC56: QTextFormatCollection::indexForFormat(QTextFormat 
const&) (in /home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6CBF297: QTextObject::setFormat(QTextFormat const&) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6E73289: ??? (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6E733A1: ??? (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6E73CEF: QLabel::paintEvent(QPaintEvent*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6A8C789: QWidget::event(QEvent*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6E6EE3A: QFrame::event(QEvent*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6E71FFA: QLabel::event(QEvent*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6A36CFE: QApplicationPrivate::notify_helper(QObject*, 
QEvent*) (in /home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x6A3D6FA: QApplication::notify(QObject*, QEvent*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596==    by 0x7724E83: QCoreApplication::notifyInternal(QObject*, QEvent*) 
(in /home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtCore.so.4.7.1)
==16596==    by 0x6A91C61: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion 
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in 
/home/harri/QtSDK/Desktop/Qt/471/gcc/lib/libQtGui.so.4.7.1)
==16596== 

Should I just create a suppression file for this?



Harri
http://mpaja.com/



More information about the Qt-interest-old mailing list