hi, i have a similar apt config (wheezy, with pinning for packages from unstable), and i get:
root@bst:~# apt-cache policy linux-tools-3.11 linux-tools-3.11: Installed: (none) Candidate: (none) Version table: 3.11-3 0 -10 http://ftp.us.debian.org/debian/ sid/main amd64 Packages root@bst:~# apt-get install linux-tools-3.11/unstable Reading package lists... Done Building dependency tree Reading state information... Done Selected version '3.11-3' (Debian:unstable [amd64]) for 'linux-tools-3.11' Segmentation fault root@bst:~# i rebuilt apt 0.9.7.9+deb7u1 with debugging symbols and i get the following valgrind output: root@bst:~# valgrind apt-get install linux-tools-3.11/unstable ==4547== Memcheck, a memory error detector ==4547== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==4547== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==4547== Command: apt-get install linux-tools-3.11/unstable ==4547== Reading package lists... Done Building dependency tree Reading state information... Done ==4547== Conditional jump or move depends on uninitialised value(s) ==4547== at 0x5CA36A2: re_compile_fastmap_iter (regcomp.c:327) ==4547== by 0x5CA3C83: re_compile_fastmap (regcomp.c:281) ==4547== by 0x5CA71BE: regcomp (regcomp.c:517) ==4547== by 0x4F0C8E9: Configuration::MatchAgainstConfig::MatchAgainstConfig(char const*) (configuration.cc:949) ==4547== by 0x4F34105: pkgDepCache::DefaultRootSetFunc::DefaultRootSetFunc() (in /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0) ==4547== by 0x4F32597: pkgDepCache::GetRootSetFunc() (depcache.cc:1597) ==4547== by 0x4F34641: pkgDepCache::MarkAndSweep() (depcache.h:397) ==4547== by 0x4F2ACCB: pkgDepCache::ActionGroup::release() (depcache.cc:77) ==4547== by 0x4F2ACED: pkgDepCache::ActionGroup::~ActionGroup() (depcache.cc:86) ==4547== by 0x4F2B476: pkgDepCache::Init(OpProgress*) (depcache.cc:170) ==4547== by 0x4F64A37: pkgCacheFile::BuildDepCache(OpProgress*) (cachefile.cc:143) ==4547== by 0x4F64ACB: pkgCacheFile::Open(OpProgress*, bool) (cachefile.cc:158) ==4547== ==4547== Conditional jump or move depends on uninitialised value(s) ==4547== at 0x5CA36A2: re_compile_fastmap_iter (regcomp.c:327) ==4547== by 0x5CA3C9B: re_compile_fastmap (regcomp.c:283) ==4547== by 0x5CA71BE: regcomp (regcomp.c:517) ==4547== by 0x4F0C8E9: Configuration::MatchAgainstConfig::MatchAgainstConfig(char const*) (configuration.cc:949) ==4547== by 0x4F34105: pkgDepCache::DefaultRootSetFunc::DefaultRootSetFunc() (in /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0) ==4547== by 0x4F32597: pkgDepCache::GetRootSetFunc() (depcache.cc:1597) ==4547== by 0x4F34641: pkgDepCache::MarkAndSweep() (depcache.h:397) ==4547== by 0x4F2ACCB: pkgDepCache::ActionGroup::release() (depcache.cc:77) ==4547== by 0x4F2ACED: pkgDepCache::ActionGroup::~ActionGroup() (depcache.cc:86) ==4547== by 0x4F2B476: pkgDepCache::Init(OpProgress*) (depcache.cc:170) ==4547== by 0x4F64A37: pkgCacheFile::BuildDepCache(OpProgress*) (cachefile.cc:143) ==4547== by 0x4F64ACB: pkgCacheFile::Open(OpProgress*, bool) (cachefile.cc:158) ==4547== Selected version '3.11-3' (Debian:unstable [amd64]) for 'linux-tools-3.11' ==4547== Invalid read of size 4 ==4547== at 0x436575: TryToInstall::propergateReleaseCandiateSwitching(std::list<std::pair<pkgCache::VerIterator, std::string>, std::allocator<std::pair<pkgCache::VerIterator, std::string> > >, std::ostream&) (apt-get.cc:886) ==4547== by 0x425DC3: DoInstall(CommandLine&) (apt-get.cc:1938) ==4547== by 0x4F10917: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (cmndline.cc:339) ==4547== by 0x4313D9: main (apt-get.cc:3601) ==4547== Address 0xbd93474 is not stack'd, malloc'd or (recently) free'd ==4547== ==4547== ==4547== Process terminating with default action of signal 11 (SIGSEGV) ==4547== Access not within mapped region at address 0xBD93474 ==4547== at 0x436575: TryToInstall::propergateReleaseCandiateSwitching(std::list<std::pair<pkgCache::VerIterator, std::string>, std::allocator<std::pair<pkgCache::VerIterator, std::string> > >, std::ostream&) (apt-get.cc:886) ==4547== by 0x425DC3: DoInstall(CommandLine&) (apt-get.cc:1938) ==4547== by 0x4F10917: CommandLine::DispatchArg(CommandLine::Dispatch*, bool) (cmndline.cc:339) ==4547== by 0x4313D9: main (apt-get.cc:3601) ==4547== If you believe this happened as a result of a stack ==4547== overflow in your program's main thread (unlikely but ==4547== possible), you can try to increase the size of the ==4547== main thread stack using the --main-stacksize= flag. ==4547== The main thread stack size used in this run was 8388608. ==4547== ==4547== HEAP SUMMARY: ==4547== in use at exit: 5,250,538 bytes in 408 blocks ==4547== total heap usage: 14,788 allocs, 14,380 frees, 24,907,415 bytes allocated ==4547== ==4547== LEAK SUMMARY: ==4547== definitely lost: 0 bytes in 0 blocks ==4547== indirectly lost: 0 bytes in 0 blocks ==4547== possibly lost: 1,362,450 bytes in 183 blocks ==4547== still reachable: 3,888,088 bytes in 225 blocks ==4547== suppressed: 0 bytes in 0 blocks ==4547== Rerun with --leak-check=full to see details of leaked memory ==4547== ==4547== For counts of detected and suppressed errors, rerun with: -v ==4547== Use --track-origins=yes to see where uninitialised values come from ==4547== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 4 from 4) Segmentation fault root@bst:~# -- Robert Edmonds edmo...@debian.org
signature.asc
Description: Digital signature