|
From: <Woe...@on...> - 2006-06-21 08:58:54
|
Hi, on Debian Sid with GCC 4.0 and 4.1 on amd64 I get many warnings like: =3D=3D6818=3D=3D Syscall param write(buf) points to uninitialised byte(s) =3D=3D6818=3D=3D at 0x7821352: __write_nocancel (in /usr/lib/debug/libpt= hread-2.3.6.so) =3D=3D6818=3D=3D by 0x8C94FAE: (within /usr/lib/libX11.so.6.2.0) =3D=3D6818=3D=3D by 0x8C9969A: (within /usr/lib/libX11.so.6.2.0) =3D=3D6818=3D=3D by 0x8C8EF6D: XSelectInput (in /usr/lib/libX11.so.6.2.0) =3D=3D6818=3D=3D by 0x71BD69E: QWidget::create(unsigned long, bool, bool= ) (qwidget_x11.cpp:680) =3D=3D6818=3D=3D Address 0x95F2E04 is 28 bytes inside a block of size 16,3= 84 alloc'd =3D=3D6818=3D=3D at 0x4A1AB36: calloc (vg_replace_malloc.c:279) =3D=3D6818=3D=3D by 0x8C855CB: XOpenDisplay (in /usr/lib/libX11.so.6.2.0) =3D=3D6818=3D=3D by 0x718F3E0: qt_init_internal(int*, char**, _XDisplay*= , unsigned long, unsigned long) (qapplication_x11.cpp:1701) =3D=3D6818=3D=3D by 0x71EF33C: QApplication::construct(int&, char**, QAp= plication::Type) (qapplication.cpp:813) =3D=3D6818=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D6818=3D=3D at 0x742027A: QXmlSimpleReader::parseReference() (qxml.= cpp:7028) =3D=3D6818=3D=3D by 0x7421950: QXmlSimpleReader::parseAttValue() (qxml.c= pp:5598) =3D=3D6818=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D6818=3D=3D at 0x741FDBC: QXmlSimpleReader::parseName() (qxml.cpp:6= 831) =3D=3D6818=3D=3D by 0x742058A: QXmlSimpleReader::parseReference() (qxml.= cpp:7075) =3D=3D6818=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D6818=3D=3D at 0x74216FB: QXmlSimpleReader::parseAttValue() (qxml.c= pp:5572) =3D=3D6818=3D=3D by 0x7421B5D: QXmlSimpleReader::parseAttribute() (qxml.= cpp:6764) =3D=3D6818=3D=3D by 0x74231AC: QXmlSimpleReader::parseElement() (qxml.cp= p:3496) =3D=3D5606=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D5606=3D=3D at 0x5486770: KDirListerCache::DirItem::incAutoUpdate()= (kdirlister_p.h:285) =3D=3D5606=3D=3D by 0x548543B: KDirListerCache::listDir(KDirLister*, KUR= L const&, bool, bool) (kdirlister.cpp:271) =3D=3D5606=3D=3D by 0x54855A2: KDirLister::openURL(KURL const&, bool, bo= ol) (kdirlister.cpp:1863) =3D=3D5606=3D=3D by 0xD3885FF: KonqBaseListViewWidget::openURL(KURL cons= t&) (konq_listviewwidget.cc:1025) which all looks like false positives. I know that you suggest to use only=20 =2DO instead of -O2 but e.g. the first issue is from X.Org which is from De= bian and I don't want to compile it myself. Is there another workaround or could= =20 you add a new option to lets work memcheck more accurate (even if it's=20 slower)? Cheers, Andr=E9 |