"readline() on closed filehandle FILES" warnings caused by multiarch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
popularity-contest (Debian) |
Fix Released
|
Unknown
|
|||
popularity-contest (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
Natty |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: popularity-contest
/etc/cron.
readline() on closed filehandle FILES at /usr/sbin/
readline() on closed filehandle FILES at /usr/sbin/
readline() on closed filehandle FILES at /usr/sbin/
...
looking at the sources:
open PACKAGES, "dpkg-query --show --showformat=
while (<PACKAGES>)
{
/^.*installed *(.+)$/ or next;
my $pkg=$1;
$popcon{
open FILES, "$dpkg_
my $bestatime = undef;
while (<FILES>) { <======
a simple printf shows why:
$ ls -l /var/lib/
ls: cannot access /var/lib/
$ ls -l /var/lib/
-rw-r--r-- 1 root root 227 2011-03-22 08:10 /var/lib/
-rw-r--r-- 1 root root 1267 2011-03-22 08:10 /var/lib/
so it seems it's caused by the new multi-arch thingy.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: popularity-contest 1.51ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Mar 24 20:57:57 2011
ProcEnviron:
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PATH=(custom, user)
SHELL=
SourcePackage: popularity-contest
UpgradeStatus: Upgraded to natty on 2009-07-28 (604 days ago)
Related branches
tags: |
added: multiarch removed: running-unity |
Changed in popularity-contest (Ubuntu): | |
status: | New → Confirmed |
Changed in popularity-contest (Debian): | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in popularity-contest (Debian): | |
status: | Unknown → New |
tags: | added: patch |
Changed in popularity-contest (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in popularity-contest (Ubuntu): | |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in popularity-contest (Ubuntu Natty): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in popularity-contest (Debian): | |
status: | New → Fix Released |
Changed in popularity-contest (Ubuntu Natty): | |
status: | Triaged → Invalid |
Hi,
had the same problem here, fixed it with the attached popularity-contest that tries again with the architecture- specific filename.
HTH
Torge H