Bug#839815: python-debian: ArFile keeps a FH open for every package that is accessed

Stuart Prescott stuart at debian.org
Wed Oct 5 12:54:02 UTC 2016


Hi Marc,

Can you provide some sort of test case that helps debug this filehandle leak? 
I'm not sure how you're using ArFile (other than presumably in some sort of 
loop). It would help us greatly to see some problematic code.

(Even something as simple as the following to a test case

  print("FDs %d" % len(glob.glob("/proc/self/fd/*")))

would help us spot an fd leak.)

thanks!
Stuart


-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart at nanonanonano.net
Debian Developer   http://www.debian.org/         stuart at debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



More information about the pkg-python-debian-maint mailing list