[Qt-interest] Valgrind complaints with 4.7.1

Paul Floyd paulf at free.fr
Sun Jan 30 13:19:49 CET 2011


Harri Pasanen wrote:
> 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== 
> 
> Should I just create a suppression file for this?

Hi

Does the valgind --track-origins=yes option add information that is 
useful? And is this with a debug version of Qt? I guess not - it'd be 
worth trying that, then you can track down the Qt souce and decide 
yourself if it's a real problem or to add it to your suppressions.

A+
Paul



More information about the Qt-interest-old mailing list