Debian Bug report logs - #409707
knemo: fd-leakage in sys backend

version graph

Package: knemo; Maintainer for knemo is (unknown);

Reported by: Matthias Dellweg <2500@gmx.de>

Date: Sun, 4 Feb 2007 21:33:16 UTC

Severity: grave

Tags: confirmed, patch

Merged with 403743, 404912, 409032

Found in version knemo/0.4.6-1

Fixed in version knemo/0.4.6-2

Done: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>

Bug is archived. No further changes may be made.

Forwarded to Percy Leonhardt <percy@eris23.de>

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, 2500@gmx.de, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#409707; Package knemo. (full text, mbox, link).


Acknowledgement sent to Matthias Dellweg <2500@gmx.de>:
New Bug report received and forwarded. Copy sent to 2500@gmx.de, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matthias Dellweg <2500@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: knemo: fd-leakage in sys backend
Date: Sun, 04 Feb 2007 22:27:47 +0100
Package: knemo
Version: 0.4.6-1
Severity: important
Tags: patch

The sys backend of KNemo opens a socket every second and forgets to close
it, thus filling the fd-table of kded up to the limit 1024 open files. In my
case this makes printing through KDE impossible. The following patch solves
the Problem for me.

--- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
+++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
@@ -285,6 +285,7 @@
         {
             data.subnetMask = inet_ntoa(((struct
sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
         }
+        close(fd);
     }
 }


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages knemo depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.42-1          Access control list shared library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D graphi
ii  libattr1               1:2.4.32-1.1      Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). (s
ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, implementation
ii  libiw28                28-1              Wireless tools - library
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  net-tools              1.60-17           The NET-3 networking toolkit
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages knemo recommends:
ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
ii  wireless-tools         28-1              Tools for manipulating Linux Wirel

-- no debconf information



Reply sent to Mark Purcell <msp@debian.org>:
You have marked Bug as forwarded. (full text, mbox, link).


Message #8 received at 409707-forwarded@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: Percy Leonhardt <percy@eris23.de>
Cc: 409707-forwarded@bugs.debian.org, Matthias Dellweg <2500@gmx.de>
Subject: Fwd: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Sun, 4 Feb 2007 22:01:10 +0000
[Message part 1 (text/plain, inline)]
Percy,

I have received this report/ patch which maybe related to your issues with high CPU load.

You may wish to consider for inclusion in the upstream package.

Could I ask you to maintain the Cc: in any replies to ensure your comments are recorded
in the Debian bug tracking system.

http://bugs.debian.org/knemo

Thanks,
Mark

----------  Forwarded Message  ----------

Subject: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Sunday 04 February 2007 21:27
From: Matthias Dellweg <2500@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: knemo
Version: 0.4.6-1
Severity: important
Tags: patch

The sys backend of KNemo opens a socket every second and forgets to close
it, thus filling the fd-table of kded up to the limit 1024 open files. In my
case this makes printing through KDE impossible. The following patch solves
the Problem for me.

--- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
+++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
@@ -285,6 +285,7 @@
         {
             data.subnetMask = inet_ntoa(((struct
sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
         }
+        close(fd);
     }
 }


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages knemo depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.42-1          Access control list shared library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D graphi
ii  libattr1               1:2.4.32-1.1      Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). (s
ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, implementation
ii  libiw28                28-1              Wireless tools - library
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  net-tools              1.60-17           The NET-3 networking toolkit
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages knemo recommends:
ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
ii  wireless-tools         28-1              Tools for manipulating Linux Wirel

-- no debconf information


_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras


-------------------------------------------------------
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#409707; Package knemo. (full text, mbox, link).


Acknowledgement sent to Modestas Vainius <geromanas@mailas.com>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>. (full text, mbox, link).


Message #13 received at 409707@bugs.debian.org (full text, mbox, reply):

From: Modestas Vainius <geromanas@mailas.com>
To: 409707@bugs.debian.org
Subject: this bug causes serious side effects; breaks kded
Date: Mon, 5 Feb 2007 10:09:50 +0200
[Message part 1 (text/plain, inline)]
severity 403743 important
unmerge 404912
reassign 404912 knemo
tags 404912 - moreinfo
forcemerge 409707 403743 404912
severity 409707 grave
tags 409707 confirmed

Severity grave since it potentially breaks all new apps accessing kded once 
knemo consumes all fds. kded is integral and very important part of the KDE 
desktop.

-- 
Modestas Vainius <geromanas@mailas.com>
[Message part 2 (application/pgp-signature, inline)]

Forcibly Merged 403743 404912 409707. Request was from Modestas Vainius <geromanas@mailas.com> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `grave' from `important' Request was from Modestas Vainius <geromanas@mailas.com> to control@bugs.debian.org. (full text, mbox, link).


Tags added: confirmed Request was from Modestas Vainius <geromanas@mailas.com> to control@bugs.debian.org. (full text, mbox, link).


Forcibly Merged 403743 404912 409032 409707. Request was from Modestas Vainius <geromanas@mailas.com> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: moreinfo Request was from Modestas Vainius <geromanas@mailas.com> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#409707; Package knemo. (full text, mbox, link).


Acknowledgement sent to Mark Purcell <msp@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>. (full text, mbox, link).


Message #28 received at 409707@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: Alberto <coleccionspam@terra.es>, 409707@bugs.debian.org
Cc: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Subject: Re: [Pkg-kde-extras] Bug#403743: knemo: with sys backend, status icon disappears from tray
Date: Mon, 5 Feb 2007 18:46:31 +0000
[Message part 1 (text/plain, inline)]
On Monday 05 February 2007 17:06, Alberto wrote:
> I think that it's a bug in kded, which crashes. Strangely, the 
> probability on which this happens increases if you do an apt-get update.

Alberto,

We have a patch for this as we think knemo is leaking fd's.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409707

Do you have any other information which would point us in the other direction?

I'm about to include the patch and upload.

Mark
[Message part 2 (application/pgp-signature, inline)]

Message #29 received at 409707-forwarded@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: Percy Leonhardt <percy@eris23.de>
Cc: 409707-forwarded@bugs.debian.org, Matthias Dellweg <2500@gmx.de>
Subject: Fwd: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Tue, 6 Feb 2007 19:26:48 +0000
[Message part 1 (text/plain, inline)]
Percy,

I have received this report/ patch which maybe related to your issues with 
high CPU load.

You may wish to consider for inclusion in the upstream package.

Could I ask you to maintain the Cc: in any replies to ensure your comments are 
recorded
in the Debian bug tracking system.

http://bugs.debian.org/knemo

Thanks,
Mark

----------  Forwarded Message  ----------

Subject: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Sunday 04 February 2007 21:27
From: Matthias Dellweg <2500@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: knemo
Version: 0.4.6-1
Severity: important
Tags: patch

The sys backend of KNemo opens a socket every second and forgets to close
it, thus filling the fd-table of kded up to the limit 1024 open files. In my
case this makes printing through KDE impossible. The following patch solves
the Problem for me.

--- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
+++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
@@ -285,6 +285,7 @@
         {
             data.subnetMask = inet_ntoa(((struct
sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
         }
+        close(fd);
     }
 }


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages knemo depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for 
al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.42-1          Access control list shared 
library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D 
graphi
ii  libattr1               1:2.4.32-1.1      Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). 
(s
ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration 
library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared 
lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, 
implementation
ii  libiw28                28-1              Wireless tools - library
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime 
v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension 
librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing 
librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client 
libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  net-tools              1.60-17           The NET-3 networking toolkit
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages knemo recommends:
ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
ii  wireless-tools         28-1              Tools for manipulating Linux 
Wirel

-- no debconf information


_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras


-------------------------------------------------------
[Message part 2 (application/pgp-signature, inline)]

Tags added: pending Request was from Mark Purcell <mark@purcell.id.au> to control@bugs.debian.org. (full text, mbox, link).


Message #32 received at 409707-forwarded@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: Percy Leonhardt <percy@eris23.de>
Cc: 409707-forwarded@bugs.debian.org, Matthias Dellweg <2500@gmx.de>
Subject: Fwd: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Tue, 6 Feb 2007 19:24:34 +0000
[Message part 1 (text/plain, inline)]
Percy,

I have received this report/ patch which maybe related to your issues with 
high CPU load.

You may wish to consider for inclusion in the upstream package.

Could I ask you to maintain the Cc: in any replies to ensure your comments are 
recorded
in the Debian bug tracking system.

http://bugs.debian.org/knemo

Thanks,
Mark

----------  Forwarded Message  ----------

Subject: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Sunday 04 February 2007 21:27
From: Matthias Dellweg <2500@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: knemo
Version: 0.4.6-1
Severity: important
Tags: patch

The sys backend of KNemo opens a socket every second and forgets to close
it, thus filling the fd-table of kded up to the limit 1024 open files. In my
case this makes printing through KDE impossible. The following patch solves
the Problem for me.

--- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
+++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
@@ -285,6 +285,7 @@
         {
             data.subnetMask = inet_ntoa(((struct
sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
         }
+        close(fd);
     }
 }


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages knemo depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for 
al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.42-1          Access control list shared 
library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D 
graphi
ii  libattr1               1:2.4.32-1.1      Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). 
(s
ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration 
library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared 
lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, 
implementation
ii  libiw28                28-1              Wireless tools - library
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime 
v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension 
librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing 
librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client 
libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  net-tools              1.60-17           The NET-3 networking toolkit
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages knemo recommends:
ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
ii  wireless-tools         28-1              Tools for manipulating Linux 
Wirel

-- no debconf information


_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras


-------------------------------------------------------
[Message part 2 (application/pgp-signature, inline)]

Message #33 received at 409707-forwarded@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: Percy Leonhardt <percy@eris23.de>
Cc: 409707-forwarded@bugs.debian.org, Matthias Dellweg <2500@gmx.de>
Subject: Fwd: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Tue, 6 Feb 2007 19:25:32 +0000
[Message part 1 (text/plain, inline)]
Percy,

I have received this report/ patch which maybe related to your issues with 
high CPU load.

You may wish to consider for inclusion in the upstream package.

Could I ask you to maintain the Cc: in any replies to ensure your comments are 
recorded
in the Debian bug tracking system.

http://bugs.debian.org/knemo

Thanks,
Mark

----------  Forwarded Message  ----------

Subject: [Pkg-kde-extras] Bug#409707: knemo: fd-leakage in sys backend
Date: Sunday 04 February 2007 21:27
From: Matthias Dellweg <2500@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: knemo
Version: 0.4.6-1
Severity: important
Tags: patch

The sys backend of KNemo opens a socket every second and forgets to close
it, thus filling the fd-table of kded up to the limit 1024 open files. In my
case this makes printing through KDE impossible. The following patch solves
the Problem for me.

--- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
+++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
@@ -285,6 +285,7 @@
         {
             data.subnetMask = inet_ntoa(((struct
sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
         }
+        close(fd);
     }
 }


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages knemo depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for 
al
ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
ii  libacl1                2.2.42-1          Access control list shared 
library
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D 
graphi
ii  libattr1               1:2.4.32-1.1      Extended attribute shared library
ii  libaudio2              1.8-2             The Network Audio System (NAS). 
(s
ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared libraries
ii  libfam0                2.7.0-12          Client library to control the FAM 
ii  libfontconfig1         2.4.2-1           generic font configuration 
library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared 
lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, 
implementation
ii  libiw28                28-1              Wireless tools - library
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded runtime 
v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension 
librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing 
librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client 
libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  net-tools              1.60-17           The NET-3 networking toolkit
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages knemo recommends:
ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
ii  wireless-tools         28-1              Tools for manipulating Linux 
Wirel

-- no debconf information


_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras


-------------------------------------------------------
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Matthias Dellweg <2500@gmx.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #38 received at 409707-close@bugs.debian.org (full text, mbox, reply):

From: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
To: 409707-close@bugs.debian.org
Subject: Bug#409707: fixed in knemo 0.4.6-2
Date: Tue, 06 Feb 2007 20:47:03 +0000
Source: knemo
Source-Version: 0.4.6-2

We believe that the bug you reported is fixed in the latest version of
knemo, which is due to be installed in the Debian FTP archive:

knemo_0.4.6-2.diff.gz
  to pool/main/k/knemo/knemo_0.4.6-2.diff.gz
knemo_0.4.6-2.dsc
  to pool/main/k/knemo/knemo_0.4.6-2.dsc
knemo_0.4.6-2_i386.deb
  to pool/main/k/knemo/knemo_0.4.6-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 409707@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> (supplier of updated knemo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  6 Feb 2007 11:05:03 +0000
Source: knemo
Binary: knemo
Architecture: source i386
Version: 0.4.6-2
Distribution: unstable
Urgency: high
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Description: 
 knemo      - network interfaces monitor for KDE's systray
Closes: 409707
Changes: 
 knemo (0.4.6-2) unstable; urgency=high
 .
   [ Mark Purcell ]
   * Urgency high as this fixes multiple RC bugs
   * fd-leakage patch from Matthias Dellweg
     - (Closes:  Bug#409707: knemo: fd-leakage in sys backend)
Files: 
 d07a35fa6feae8241aa9cd8e837065a3 727 kde optional knemo_0.4.6-2.dsc
 2fe6ab4fb14475ab7b1b26de8faa9194 9556 kde optional knemo_0.4.6-2.diff.gz
 65610dbd61c552bc4918f5368749500c 278232 kde optional knemo_0.4.6-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFyOZXoCzanz0IthIRAtJ6AJ4xyHIiQcfsj0ob6poEqoVE+jyTfACeIm7G
1lRwuD08EF59okkZZh/MI7I=
=CQFU
-----END PGP SIGNATURE-----




Reply sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Bug acknowledged by developer. (full text, mbox, link).


Reply sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Bug acknowledged by developer. (full text, mbox, link).


Reply sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Jürgen Braun <juergen.braun@iqdoq.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #54 received at 409707-forwarded@bugs.debian.org (full text, mbox, reply):

From: "Leonhardt Percy" <percy.leonhardt@comlet.de>
To: "Mark Purcell" <msp@debian.org>
Cc: <409707-forwarded@bugs.debian.org>, "Matthias Dellweg" <2500@gmx.de>
Subject: AW: [SPAM] fwd: [pkg-kde-extras] bug#409707: knemo: fd-leakage in sys backend
Date: Thu, 8 Feb 2007 08:14:25 +0100
Hi Mark,

this was already fixed in KDE SVN. I just didn't do another KNemo release since then. Maybe it's time to do so...

Anyway thanks for the feedback and thanks to Matthias for the patch!!

The diff with the change can be found here:

http://websvn.kde.org/trunk/extragear/network/knemo/knemod/backends/sysbackend.cpp?rev=608080&r1=593092&r2=608080

Bye,

	Percy :-)

> -----Ursprüngliche Nachricht-----
> Von: Percy Leonhardt [mailto:percy@eris23.de]
> Gesendet: Mittwoch, 7. Februar 2007 18:27
> An: Leonhardt Percy
> Betreff: [SPAM] fwd: [pkg-kde-extras] bug#409707: knemo: fd-leakage in sys
> backend
> 
> 
> 
> ----------  Forwarded Message  ----------
> 
> Subject: [SPAM] fwd: [pkg-kde-extras] bug#409707: knemo: fd-leakage in sys
> backend
> Date: Tuesday 06 February 2007 20:26
> From: Mark Purcell <msp@debian.org>
> To: Percy Leonhardt <percy@eris23.de>
> Cc: 409707-forwarded@bugs.debian.org, Matthias Dellweg <2500@gmx.de>
> 
> Percy,
> 
> I have received this report/ patch which maybe related to your issues with
> high CPU load.
> 
> You may wish to consider for inclusion in the upstream package.
> 
> Could I ask you to maintain the Cc: in any replies to ensure your comments
>  are recorded
> in the Debian bug tracking system.
> 
> http://bugs.debian.org/knemo
> 
> Thanks,
> Mark
> 
> ----------  Forwarded Message  ----------
> 
> Subject: [SPAM] fwd: [pkg-kde-extras] bug#409707: knemo: fd-leakage in sys
> backend
> Date: Sunday 04 February 2007 21:27
> From: Matthias Dellweg <2500@gmx.de>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> 
> Package: knemo
> Version: 0.4.6-1
> Severity: important
> Tags: patch
> 
> The sys backend of KNemo opens a socket every second and forgets to close
> it, thus filling the fd-table of kded up to the limit 1024 open files. In
> my
> case this makes printing through KDE impossible. The following patch
> solves
> the Problem for me.
> 
> --- knemo-0.4.6.orig/src/knemod/backends/sysbackend.cpp
> +++ knemo-0.4.6/src/knemod/backends/sysbackend.cpp
> @@ -285,6 +285,7 @@
>          {
>              data.subnetMask = inet_ntoa(((struct
> sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
>          }
> +        close(fd);
>      }
>  }
> 
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.19.2
> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
> 
> Versions of packages knemo depends on:
> ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries
> for
> al
> ii  kicker                 4:3.5.5a.dfsg.1-5 desktop panel for KDE
> ii  libacl1                2.2.42-1          Access control list shared
> library
> ii  libart-2.0-2           2.3.17-1          Library of functions for 2D
> graphi
> ii  libattr1               1:2.4.32-1.1      Extended attribute shared
>  library ii  libaudio2              1.8-2             The Network Audio
>  System (NAS). (s
> ii  libc6                  2.3.6.ds1-11      GNU C Library: Shared
> libraries
> ii  libfam0                2.7.0-12          Client library to control the
>  FAM ii  libfontconfig1         2.4.2-1           generic font
> configuration
>  library
> ii  libfreetype6           2.2.1-5           FreeType 2 font engine,
> shared
> lib
> ii  libgcc1                1:4.1.1-21        GCC support library
> ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange
>  library ii  libidn11               0.6.5-1           GNU libidn library,
> implementation
> ii  libiw28                28-1              Wireless tools - library
> ii  libjpeg62              6b-13             The Independent JPEG Group's
>  JPEG ii  libpng12-0             1.2.15~beta5-0    PNG library - runtime
> ii  libqt3-mt              3:3.3.7-3         Qt GUI Library (Threaded
> runtime
> v
> ii  libsm6                 1:1.0.1-3         X11 Session Management
> library
> ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library
> v3
> ii  libx11-6               2:1.0.3-5         X11 client-side library
> ii  libxcursor1            1.1.7-4           X cursor management library
> ii  libxext6               1:1.0.1-2         X11 miscellaneous extension
> librar
> ii  libxft2                2.1.8.2-8         FreeType-based font drawing
> librar
> ii  libxi6                 1:1.0.1-4         X11 Input extension library
> ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension
> library
> ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
> ii  libxrender1            1:0.9.1-3         X Rendering Extension client
> libra
> ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics
> library
> ii  net-tools              1.60-17           The NET-3 networking toolkit
> ii  zlib1g                 1:1.2.3-13        compression library - runtime
> 
> Versions of packages knemo recommends:
> ii  kcontrol               4:3.5.5a.dfsg.1-5 control center for KDE
> ii  wireless-tools         28-1              Tools for manipulating Linux
> Wirel
> 
> -- no debconf information
> 
> 
> _______________________________________________
> pkg-kde-extras mailing list
> pkg-kde-extras@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras
> 
> 
> -------------------------------------------------------
> 
> -------------------------------------------------------
> 
> 
> 
> 




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 18 Jul 2007 07:25:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 16 02:18:46 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.