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

Bug#413551: marked as done (apt-cache randomly abort on std::bad_alloc)



Your message dated Thu, 23 Oct 2008 18:18:01 +0300
with message-id <490095A9.6040906@gmail.com>
and subject line closing #413551
has caused the Debian Bug report #413551,
regarding apt-cache randomly abort on std::bad_alloc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
413551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413551
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.46.4-0.1
Severity: important

Hi,

By moments when I launch apt-search whatever, I get the following
results :
% apt-cache search php
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
zsh: abort      apt-cache search php

I's the principal error message, but there are sometimes
alternatives like this one :
Exception : apt.cc:466: void surrounding_or_internal(const pkgCache::DepIterator&, pkgCache::DepIterator&, pkgCache::DepIterator&): Assertion "found" failed.

The workaround is to do aptitude update and all work fine until the
next use of uptitude (install|upgrade). After the same problem is
back.

Regards,
Aurélien.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "etch";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Cache-Limit "1000000000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
Acquire "";
Acquire::Pdiffs "false";

-- /etc/apt/preferences --

Package: *
Pin: release a=stable
Pin-Priority: -1

Package: *
Pin: release a=testing
Pin-Priority: 100

Package: *
Pin: release a=unstable
Pin-Priority: -1

-- /etc/apt/sources.list --

deb ftp://ftp.fr.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main

-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.5
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring      2007.02.19   GnuPG archive keys of the Debian a
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
I'm closing #413551.

Justification: default APT::Cache-Limit was 8 MiB in Etch and is 20 MiB in Lenny.
System administrators that set this limit to ~100 MiB should check manually
that system can give such amounts of memory. Apt has nothing to do with it.

-- 
Eugene V. Lyubimkin aka JackYF

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: