"kde4-config --version" in / goes mad: looks into /boot/initrd.img-3.13.0-29-generic etc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde4libs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have noticed (via the postinst script of Beyond Compare), that `kde4-config -v` in the root directory ("/") goes mad:
% cd /
% kde4-config --version 2>&1 | head -20
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
"KConfigIni: In file /boot/initrd.
`kde4-config --prefix` works fine, but also `kde4-config --help` goes mad.
When redirecting stderr, it "only" takes a few seconds:
% time kde4-config --version 2>/dev/null
Qt: 4.8.6
KDE: 4.13.1
kde4-config: 1.0
kde4-config --version 2> /dev/null 5,17s user 0,46s system 99% cpu 5,644 total
% time kde4-config --help 2>&1|wc -l
774798
kde4-config --help 2>&1 6,75s user 1,49s system 99% cpu 8,248 total
wc -l 0,64s user 2,19s system 34% cpu 8,247 total
It appears to look at the following files:
/boot/
/boot/
/usr/
Extracted via:
% time kde4-config --version 2>&1|awk '{print $4}'|sort -u
/boot/
/boot/
/usr/
kde4-config --version 2>&1 8,28s user 1,68s system 95% cpu 10,396 total
awk '{print $4}' 1,73s user 2,20s system 37% cpu 10,396 total
sort -u 0,53s user 0,06s system 5% cpu 10,398 total
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: kdelibs-bin 4:4.13.1-0ubuntu0.2
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jul 4 03:03:58 2014
InstallationDate: Installed on 2012-05-28 (766 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: kde4libs
UpgradeStatus: Upgraded to trusty on 2014-05-01 (63 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.