[Konsole-devel] [Bug 76457] New: konqueror + konsole + kate are spamming with open FDs (FileDescriptors) whenever they fork(+exec other programs).

Marc Ziegert coeus at gmx.de
Sun Feb 29 21:57:15 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=76457      
           Summary: konqueror + konsole + kate are spamming with open FDs
                    (FileDescriptors) whenever they fork(+exec other
                    programs).
           Product: konsole
           Version: 1.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: coeus gmx de


Version:           1.3 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux

konsole causes kde to crash after opening >50 or >60 commandtabs (Befehlsfenster in german).
each new session has 3 new opened FDs.

it seems that the programmer has forgotten to set several close-on-exec flags.

at least konqueror(->run_command) and kate('s terminal) are doing the same, so there may be an other program/library/deamon that causes this.

coeus titan ~ $ ps
  PID TTY          TIME CMD
....
 8068 ?        00:00:00 bash
 8096 ?        00:00:00 ps
coeus titan ~ $ ls -lF /proc/8068/fd
insgesamt 20
lrwx------    1 coeus    users          64 29. Feb 22:53 0 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 1 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 11 -> /tmp/kde-coeus/konqueror-crash-oYcIJb.log
lrwx------    1 coeus    users          64 29. Feb 22:53 12 -> /tmp/kde-coeus/konsoler6O0Ha.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 13 -> /tmp/kde-coeus/khtmlcache3b6obb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 14 -> /tmp/kde-coeus/khtmlcacheIpDIHa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 15 -> /tmp/kde-coeus/khtmlcachen1wVCb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 16 -> /tmp/kde-coeus/khtmlcachePFb7Zb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 17 -> /tmp/kde-coeus/khtmlcachecowjGa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 18 -> /tmp/kde-coeus/konsolem2nedb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 19 -> /tmp/kde-coeus/khtmlcache7z6aKa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 2 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 20 -> /tmp/kde-coeus/konsoleJBNlzb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 23 -> /tmp/kde-coeus/khtmlcachezF94sa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 24 -> /tmp/kde-coeus/khtmlcacheS6Ka8b.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 25 -> /tmp/kde-coeus/khtmlcacheCUXbEa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 255 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 26 -> /tmp/kde-coeus/khtmlcacheoWfmqb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 27 -> /tmp/kde-coeus/khtmlcachelJVtGa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 28 -> /tmp/kde-coeus/khtmlcacheEnNJma.tmp (deleted)
coeus titan ~ $



More information about the konsole-devel mailing list