| Summary: | konqueror + konsole + kate are spamming with open FDs (FileDescriptors) whenever they fork(+exec other programs). | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Marc Ziegert <coeus> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.3 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
the close on exit are in afaik |
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 ~ $