[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400874: valgrind output



Hi,

valgrind gives these issues during running apt-get source php-imagick.

Cheers,
Andi

==11369== Invalid write of size 1
==11369==    at 0x4A1CDA0: strcpy (mc_replace_strmem.c:272)
==11369==    by 0x4BB97B4: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==  Address 0x6BD0E1D is 0 bytes after a block of size 10,541 alloc'd
==11369==    at 0x4A1BD09: operator new[](unsigned long) (vg_replace_malloc.c:199)
==11369==    by 0x4BB9814: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==
==11369== Invalid read of size 1
==11369==    at 0x4A1C713: strlen (mc_replace_strmem.c:246)
==11369==    by 0x4B477FB: TokSplitString(char, char*, char**, unsigned long) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4BB97C9: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==  Address 0x6BD0E1D is 0 bytes after a block of size 10,541 alloc'd
==11369==    at 0x4A1BD09: operator new[](unsigned long) (vg_replace_malloc.c:199)
==11369==    by 0x4BB9814: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==
==11369== Invalid write of size 1
==11369==    at 0x4B47884: TokSplitString(char, char*, char**, unsigned long) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4BB97C9: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==  Address 0x6BD0E1D is 0 bytes after a block of size 10,541 alloc'd
==11369==    at 0x4A1BD09: operator new[](unsigned long) (vg_replace_malloc.c:199)
==11369==    by 0x4BB9814: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==
==11369== Mismatched free() / delete / delete []
==11369==    at 0x4A1B17F: operator delete(void*) (vg_replace_malloc.c:244)
==11369==    by 0x4BB97DA: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==  Address 0x6BCE4F0 is 0 bytes inside a block of size 10,541 alloc'd
==11369==    at 0x4A1BD09: operator new[](unsigned long) (vg_replace_malloc.c:199)
==11369==    by 0x4BB9814: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==
==11369== Invalid read of size 1
==11369==    at 0x4A1C7D4: strcmp (mc_replace_strmem.c:341)
==11369==    by 0x4B802AD: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
==11369==  Address 0x6BCE4F0 is 0 bytes inside a block of size 10,541 free'd
==11369==    at 0x4A1B17F: operator delete(void*) (vg_replace_malloc.c:244)
==11369==    by 0x4BB97DA: debSrcRecordParser::Binaries() (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x4B8027F: pkgSrcRecords::Find(char const*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407CA5: (within /usr/bin/apt-get)
==11369==    by 0x408CDA: (within /usr/bin/apt-get)
==11369==    by 0x4B530A9: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (in /usr/lib/libapt-pkg-libc6.3-6.so.3.11.0)
==11369==    by 0x407869: (within /usr/bin/apt-get)
==11369==    by 0x51934C9: (below main) (in /lib/libc-2.3.6.so)
-- 
  http://home.arcor.de/andreas-barth/



Reply to: