ERRORS: libmateweather.spec OK: libmatekbd.spec libmatemixer.spec mate-menus.spec

Jacek Konieczny jajcus at jajcus.net
Sat Nov 28 20:12:53 CET 2015


On 2015-11-28 19:32, Arkadiusz Miśkiewicz wrote:

> reproduced (3 times in the same place) on carme-i686 by doing
> 
> ../builder -bi python-setuptools.spec
> while (rpmbuild --short-circuit -bi python-setuptools.spec); do echo x; done
> 
> ~50 iterations, 10 minutes to reproduce

No need to build anything.


valgrind rpm --eval '%{?__noautoprovfiles}'

shows the problem:

==102752== Conditional jump or move depends on uninitialised value(s)
==102752==    at 0x429E22B: doShellEscape (in /lib/librpmio-5.4.so)
==102752==    by 0x429CACA: expandMacro (in /lib/librpmio-5.4.so)
==102752==    by 0x429EA11: expandT (in /lib/librpmio-5.4.so)
==102752==    by 0x429D1D6: expandMacro (in /lib/librpmio-5.4.so)
==102752==    by 0x429DE86: expandMacros (in /lib/librpmio-5.4.so)
==102752==    by 0x429DFEA: rpmExpand (in /lib/librpmio-5.4.so)
==102752==    by 0x40D70B5: rpmcliAllArgCallback (in /lib/librpm-5.4.so)
==102752==    by 0x4635F5BC: ??? (in /lib/libpopt.so.0.0.0)
==102752==    by 0x4635F5F6: ??? (in /lib/libpopt.so.0.0.0)
==102752==    by 0x46360EB5: poptGetNextOpt (in /lib/libpopt.so.0.0.0)
==102752==    by 0x40D778C: rpmcliInit (in /lib/librpm-5.4.so)
==102752==    by 0x8049CB7: main (in /bin/rpm)

Having anything before the expanded macro will fix it:

valgrind rpm --eval 'x%{?__noautoprovfiles}'

Clearly some access before the buffer.

Jacek


More information about the pld-devel-en mailing list