Expect leaking a file descriptor

Bug #1565260 reported by bje
6
This bug affects 1 person
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://bugzilla.redhat.com/show_bug.cgi?id=1001220

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: expect 5.45-5ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-83.127-generic 3.13.11-ckt35
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)

Revision history for this message
bje (bje) wrote :
Revision history for this message
bje (bje) wrote :

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.

Changed in expect (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.