[Konsole-devel] [Bug 180785] Konsole leaves socket file descriptors open

Richard Li richardpku at gmail.com
Thu Jan 15 08:49:56 UTC 2009


http://bugs.kde.org/show_bug.cgi?id=180785


Richard Li richardpku gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richardpku at gmail.com




--- Comment #1 from Richard Li <richardpku gmail com>  2009-01-15 09:49:56 ---
If I run bash in gnome-terminal (still in KDE), only 4 descriptors (0,1,2,255)
are there. Apparently gnome-terminal closed them between fork and exec.

xxx at desktop ~ $ ls -l /proc/$$/fd
total 0
lrwx------ 1 xxx users 64 2009-01-15 02:48 0 -> /dev/pts/7
lrwx------ 1 xxx users 64 2009-01-15 02:48 1 -> /dev/pts/7
lrwx------ 1 xxx users 64 2009-01-15 02:48 2 -> /dev/pts/7
lrwx------ 1 xxx users 64 2009-01-15 02:48 255 -> /dev/pts/7

xxx at desktop ~ $ ls -l /proc/`pidof gnome-terminal`/fd
total 0
lrwx------ 1 xxx users 64 2009-01-15 02:48 0 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:48 1 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:48 10 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:48 11 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:48 12 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:48 13 -> socket:[36083]
lrwx------ 1 xxx users 64 2009-01-15 02:48 14 -> socket:[36083]
lr-x------ 1 xxx users 64 2009-01-15 02:48 15 -> pipe:[85997]
l-wx------ 1 xxx users 64 2009-01-15 02:48 16 -> pipe:[85997]
lrwx------ 1 xxx users 64 2009-01-15 02:48 17 -> socket:[85998]
lrwx------ 1 xxx users 64 2009-01-15 02:48 18 -> socket:[86000]
lrwx------ 1 xxx users 64 2009-01-15 02:48 19 -> socket:[86002]
lrwx------ 1 xxx users 64 2009-01-15 02:48 2 -> /dev/pts/6
lrwx------ 1 xxx users 64 2009-01-15 02:48 20 -> socket:[86005]
lrwx------ 1 xxx users 64 2009-01-15 02:48 21 -> socket:[86009]
lrwx------ 1 xxx users 64 2009-01-15 02:48 22 -> socket:[86006]
lrwx------ 1 xxx users 64 2009-01-15 02:48 23 -> /dev/ptmx
lr-x------ 1 xxx users 64 2009-01-15 02:48 24 -> pipe:[86055]
lrwx------ 1 xxx users 64 2009-01-15 02:48 25 -> socket:[86015]
l-wx------ 1 xxx users 64 2009-01-15 02:48 26 -> pipe:[86055]
lr-x------ 1 xxx users 64 2009-01-15 02:48 27 -> pipe:[86056]
l-wx------ 1 xxx users 64 2009-01-15 02:48 28 -> pipe:[86056]
lrwx------ 1 xxx users 64 2009-01-15 02:48 3 -> socket:[85993]
lrwx------ 1 xxx users 64 2009-01-15 02:48 4 -> socket:[36083]
lr-x------ 1 xxx users 64 2009-01-15 02:48 5 -> pipe:[85995]
l-wx------ 1 xxx users 64 2009-01-15 02:48 6 -> pipe:[85995]
lr-x------ 1 xxx users 64 2009-01-15 02:48 7 -> pipe:[85996]
l-wx------ 1 xxx users 64 2009-01-15 02:48 8 -> pipe:[85996]
lrwx------ 1 xxx users 64 2009-01-15 02:48 9 -> socket:[36173]


-- 
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