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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/985452

Title:
  apt-ftparchive fails on scanning large repositories

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to