[Konsole-devel] [Bug 180785] New: Konsole leaves socket file descriptors open
Richard Li
richardpku at gmail.com
Thu Jan 15 08:41:16 UTC 2009
http://bugs.kde.org/show_bug.cgi?id=180785
Summary: Konsole leaves socket file descriptors open
Product: konsole
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: richardpku at gmail.com
Version: 2.2 (distributed with KDE 4.1.96) (using Devel)
Compiler: gcc version 4.2.4 (Gentoo 4.2.4 p1.0)
OS: Linux
Installed from: Compiled sources
Konsole forgets to close file descriptors before exec-ing the shell. (I am
using KDE 4.1.96)
xxx at desktop ~ $ ls -l /proc/$$/fd
total 0
lrwx------ 1 xxx users 64 2009-01-15 02:26 0 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:26 1 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:26 10 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 11 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 12 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 13 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 14 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 2 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:26 255 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:26 4 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:26 9 -> socket:[36173]
xxx at desktop ~ $
0,1,2 are stdin/out/err, and 255 is opened by bash. The other 7 are inherited
from Konsole - they should be closed.
Konsole in KDE 3.5 once had the same problem (# 147508), and was later fixed.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list