Expect leaking a file descriptor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
expect (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This test case leaks a file descriptor:
spawn bash
expect {
"\$" { send "ls -l /proc/self/fd; exit 0\n" }
}
interact
It has been fixed in Fedora (*) and Debian (5.45-7), but not Ubuntu for some reason. Thanks.
* https:/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: expect 5.45-5ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-83-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Apr 2 23:00:38 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-03 (669 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
SourcePackage: expect
UpgradeStatus: No upgrade log present (probably fresh install)
The Debian Expect maintainer tells me that this problem is present when libtcl8.6-8.6.4 is installed, but vanishes with 8.6.5 installed. So this is definitely not a bug in Expect (and can be closed), and probably doesn't need anything doing as it will be fixed in xenial.