[Bug 985452] Re: apt-ftparchive fails on scanning large repositories

Michael Vogt michael.vogt at ubuntu.com
Thu Apr 19 08:12:41 UTC 2012


Strace shows that the pipe is not closed when the compressor child
exists:

$ strace -e trace=open,dup,close,pipe apt-ftparchive package. > /dev/null
open("./homer_clone_444.deb", O_RDONLY) = 5
pipe([261, 262])                        = 0
close(262)                              = 0
--- SIGCHLD (Child exited) @ 0 (0) ---

It seems like "AutoClose" in FileFd is set to false for compressed images which leads to "FileFd::Close()" not 
closing the internal iFD which then leads to this leak.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/985452

Title:
  apt-ftparchive fails on scanning large repositories

Status in “apt” package in Ubuntu:
  New

Bug description:
  See, for instance, the build log at:

  http://people.canonical.com/~ubuntu-archive/livefs-build-logs/precise
  /ubuntu-server-omap4/20120419/livecd-20120419-armhf.out

  grep for "Failed to create"

  This is also reproducible locally with a sufficiently large collection
  of debs (over 1015ish, it seems like)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/985452/+subscriptions




More information about the foundations-bugs mailing list