https://bugzilla.novell.com/show_bug.cgi?id=234347 Summary: rpmbuild meets valgrind Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: jsrain@novell.com I just tried to test out rpmbuild with valgrind. I used the following command line valgrind --trace-children=yes -q rpmbuild -bc 3ddiag.spec I don't think it matters which spec file I select. Here is the output I got ==9344== Conditional jump or move depends on uninitialised value(s) ==9344== at 0x6816C9D: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3E3CB: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7CF: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3B249: (within /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3B84D: parsePreamble (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E7DA: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AA5B28 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x4E3E4DE: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816D03: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7E2: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3AA5A: (within /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3B84D: parsePreamble (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E7DA: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AB6000 is 24 bytes inside a block of size 28 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E8EA: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3B249: (within /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3B84D: parsePreamble (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E7DA: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Conditional jump or move depends on uninitialised value(s) ==9344== at 0x6816E5D: __strcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x4E3B3BD: parsePreamble (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E7DA: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7CF: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3C8D7: parsePrep (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E829: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AA5B28 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x4E3E4DE: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CE2: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x4E3BEF9: (within /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3CD3F: parsePrep (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E829: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6ABE700 is 16 bytes inside a block of size 18 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E3BEDB: (within /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3CD3F: parsePrep (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E3E829: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x531AD7B: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6A8E520 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x509F523: rpmtsSetRootDir (in /usr/lib64/librpm-4.4.so) ==9344== by 0x4039CC: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CB9: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7E2: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x532192B: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== Address 0x6B91FB0 is 8 bytes inside a block of size 13 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x531AAD7: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CB9: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x5321B92: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6B92458 is 8 bytes inside a block of size 13 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E8EA: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x532192B: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CB9: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x5321D38: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6B92458 is 8 bytes inside a block of size 13 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E8EA: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x532192B: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CB9: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7E2: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x53223DD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== Address 0x6B92368 is 8 bytes inside a block of size 9 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x53109F4: db3New (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x53218D1: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531ACCD: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Conditional jump or move depends on uninitialised value(s) ==9344== at 0x6816CEF: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E9FF: rpmExpand (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x531057C: db3New (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x53218D1: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5071B05: (within /usr/lib64/librpm-4.4.so) ==9344== by 0x5071EB3: (within /usr/lib64/librpm-4.4.so) ==9344== by 0x5072BDB: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Conditional jump or move depends on uninitialised value(s) ==9344== at 0x6816D10: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E9FF: rpmExpand (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x531057C: db3New (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x53218D1: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x5319840: dbiOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531DE23: rpmdbInitIterator (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F793: rpmtsInitIterator (in /usr/lib64/librpm-4.4.so) ==9344== by 0x50718E1: (within /usr/lib64/librpm-4.4.so) ==9344== by 0x5071EB3: (within /usr/lib64/librpm-4.4.so) ==9344== by 0x5072BDB: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816CB9: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7E2: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x53212F0: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531A420: rpmdbClose (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509EB5B: rpmtsCloseDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072D49: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6B91FB0 is 8 bytes inside a block of size 13 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x560E71E: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x531AAD7: (within /usr/lib64/librpmdb-4.4.so) ==9344== by 0x531B0BA: rpmdbOpen (in /usr/lib64/librpmdb-4.4.so) ==9344== by 0x509F6D8: rpmtsOpenDB (in /usr/lib64/librpm-4.4.so) ==9344== by 0x5072CF9: rpmtsCheck (in /usr/lib64/librpm-4.4.so) ==9344== by 0x402EDC: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7CF: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x4E2FA07: doScript (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E30407: buildSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x403181: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AA5B28 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x4E3E4DE: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7CF: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x507F606: makeTempFile (in /usr/lib64/librpm-4.4.so) ==9344== by 0x4E2FAEE: doScript (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E30407: buildSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x403181: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AA5B28 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x4E3E4DE: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Invalid read of size 8 ==9344== at 0x6816C90: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7CF: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x507F6AE: makeTempFile (in /usr/lib64/librpm-4.4.so) ==9344== by 0x4E2FAEE: doScript (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E30407: buildSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x403181: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== Address 0x6AA5B28 is 0 bytes inside a block of size 2 alloc'd ==9344== at 0x4C22889: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9344== by 0x4E3E4DE: parseSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x402E52: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) ==9344== ==9344== Conditional jump or move depends on uninitialised value(s) ==9344== at 0x6816CC6: __stpcpy_chk (in /lib64/libc-2.5.so) ==9344== by 0x560E63F: rpmGetPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x560E7F5: rpmGenPath (in /usr/lib64/librpmio-4.4.so) ==9344== by 0x507F6AE: makeTempFile (in /usr/lib64/librpm-4.4.so) ==9344== by 0x4E2FAEE: doScript (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x4E30407: buildSpec (in /usr/lib64/librpmbuild-4.4.so) ==9344== by 0x403181: (within /usr/lib/rpm/rpmb) ==9344== by 0x403443: (within /usr/lib/rpm/rpmb) ==9344== by 0x403FEF: (within /usr/lib/rpm/rpmb) ==9344== by 0x6762AE3: (below main) (in /lib64/libc-2.5.so) Suggest fix these errors that valgrind is reporting. Also, here is the version of rpmbuild linux:/usr/src/packages/SPECS # rpmbuild --version 2>&1 | more RPM version 4.4.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.