[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#252366: konsole: fds not closed before execing shell

Package: konsole
Version: 4:3.2.2-1
Severity: normal

cesarb@flower:~[0]$ ls -l /proc/self/fd
total 5
lrwx------    1 cesarb   cesarb         64 Jun  2 19:38 0 -> /dev/pts/70
lrwx------    1 cesarb   cesarb         64 Jun  2 19:38 1 -> /dev/pts/70
lrwx------    1 cesarb   cesarb         64 Jun  2 19:38 2 -> /dev/pts/70
lr-x------    1 cesarb   cesarb         64 Jun  2 19:38 3 -> /proc/12024/fd
lrwx------    1 cesarb   cesarb         64 Jun  2 19:38 4 -> /dev/dri/card0

This happens within konsole. Looks like it forgot to close all file
descriptors before execing the shell (/dev/dri/card0 should not be
open on the shell).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-flower
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages konsole depends on:
ii  kdelibs4                  4:3.2.2-2      KDE core libraries
ii  libart-2.0-2              2.3.16-5       Library of functions for 2D graphi
ii  libc6                     2.3.2.ds1-12   GNU C Library: Shared libraries an
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libgcc1                   1:3.3.3-9      GCC support library
ii  libice6                   4.3.0.dfsg.1-1 Inter-Client Exchange library
ii  libpng12-0            PNG library - runtime
ii  libqt3c102-mt             3:3.2.3-2      Qt GUI Library (Threaded runtime v
ii  libsm6                    4.3.0.dfsg.1-1 X Window System Session Management
ii  libstdc++5                1:3.3.3-9      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-1 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-1 X Window System miscellaneous exte
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  libxtst6                  4.3.0.dfsg.1-1 X Window System event recording an
ii  xlibs                     4.3.0.dfsg.1-1 X Window System client libraries m
ii  zlib1g                    1:    compression library - runtime

-- no debconf information

Reply to: