Your message dated Sat, 07 Nov 2009 23:47:19 +0000
with message-id <e1n6v03-00009f...@ries.debian.org>
and subject line Bug#534418: fixed in boinc 6.10.17+dfsg-1
has caused the Debian Bug report #534418,
regarding boinc-client: client apps memory leaks cause OOM crashes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
534418: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534418
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: boinc-client
Version: 6.2.14-3
Severity: critical
Tags: patch
Justification: causes serious data loss


Client apps can have crufty code leading to OOM conditions. The attached patch 
prevents this from taking down the system by configuring oom_adj to favor 
removal.


-- Package-specific info:
-- Contents of /etc/default/boinc-client:
# This file is /etc/default/boinc-client, it is a configuration file for the
# /etc/init.d/boinc-client init script.

# Set this to 1 to enable and to 0 to disable the init script.
ENABLED="1"

# Set this to 1 to enable advanced scheduling of the BOINC core client and
# all its sub-processes (reduces the impact of BOINC on the system's
# performance).
SCHEDULE="1"

# The BOINC core client will be started with the permissions of this user.
BOINC_USER="boinc"

# This is the data directory of the BOINC core client.
BOINC_DIR="/var/lib/boinc-client"

# This is the location of the BOINC core client, that the init script uses.
# If you do not want to use the client program provided by the boinc-client
# package, you can specify here an alternative client program.
BOINC_CLIENT="/home/michael/src/BOINC/boinc"
#BOINC_CLIENT="/usr/bin/boinc"

# Here you can specify additional options to pass to the BOINC core client.
# Type 'boinc --help' or 'man boinc' for a full summary of allowed options.
#BOINC_OPTS="--allow_remote_gui_rpc"
BOINC_OPTS=""

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.8-linode16 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages boinc-client depends on:
ii  adduser                3.110             add and remove users and groups
ii  ca-certificates        20080809          Common CA certificates
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcurl3               7.18.2-8lenny2    Multi-protocol file transfer libra
ii  libssl0.9.8            0.9.8g-15+lenny1  SSL shared libraries
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  python                 2.5.2-3           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

boinc-client recommends no packages.

Versions of packages boinc-client suggests:
pn  boinc-app-seti                <none>     (no description available)
pn  boinc-manager | kboincspy     <none>     (no description available)
ii  schedtool                     1.2.10-1   Queries/alters process' scheduling

-- debconf information excluded

*** /home/michael/boinc-client.patch
--- /etc/init.d/boinc-client    2009-01-18 20:08:16.000000000 -0700
+++ boinc-client        2009-06-24 00:47:04.000000000 -0700
@@ -27,6 +27,7 @@
 BOINC_USER=boinc
 BOINC_DIR=/var/lib/boinc-client
 BOINC_CLIENT=/usr/bin/boinc
+BOINC_OOM_ADJ=15
 
 # Source defaults file. Edit that file to configure this script.
 if [ -e /etc/default/boinc-client ]; then
@@ -121,10 +122,11 @@
       fi
     fi
 
+    children=`ps --ppid $pid -o pid= | tr '\n' ' '`
+
     if [ ! -x "`which schedtool 2>/dev/null`" ]; then
       log_progress_msg "schedtool not found"
     else
-      children=`ps --ppid $pid -o pid= | tr '\n' ' '`
       (schedtool -n 19 -D $pid $children >/dev/null \
         && log_progress_msg "idleprio") || \
       (schedtool -n 19 -B $pid $children >/dev/null \
@@ -132,6 +134,8 @@
       (schedtool -n 19 -N $pid $children >/dev/null \
         && log_progress_msg "normal")
     fi
+
+    for BPID in ${pid} ${children}; do echo ${BOINC_OOM_ADJ} > 
/proc/${BPID}/oom_adj; echo; done
   fi
   log_end_msg 0
 }
@@ -141,17 +145,21 @@
   STATUS="Status of $DESC:"
   if is_running; then
     log_success_msg "$STATUS running."
+
+    children=`ps --ppid $pid -o pid= | tr '\n' ' '`
     if [ -x "`which schedtool 2>/dev/null`" ]; then
       log_success_msg "Scheduling of $DESC:"
       schedtool $pid
 
-      children=`ps --ppid $pid -o pid= | tr '\n' ' '`
       if [ -n "$children" ]; then
         log_success_msg "Scheduling of $DESC's children:"
         schedtool $children
       fi
     fi
 
+    log_success_msg "OOM killer status for $DESC:"
+    for BPID in ${pid} ${children}; do echo PID ${BPID}: adj `cat 
/proc/${BPID}/oom_adj`, score `cat /proc/${BPID}/oom_score`; done
+
     # Display $BOINC_USER's cpu_share:
     uid=`id -u $BOINC_USER`
     cpu_share_file="/sys/kernel/uids/$uid/cpu_share"


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.8-linode16 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages boinc-client depends on:
ii  adduser                3.110             add and remove users and groups
ii  ca-certificates        20080809          Common CA certificates
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcurl3               7.18.2-8lenny2    Multi-protocol file transfer libra
ii  libssl0.9.8            0.9.8g-15+lenny1  SSL shared libraries
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  python                 2.5.2-3           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

boinc-client recommends no packages.

Versions of packages boinc-client suggests:
pn  boinc-app-seti                <none>     (no description available)
pn  boinc-manager | kboincspy     <none>     (no description available)
ii  schedtool                     1.2.10-1   Queries/alters process' scheduling

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Source: boinc
Source-Version: 6.10.17+dfsg-1

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

boinc-client_6.10.17+dfsg-1_amd64.deb
  to main/b/boinc/boinc-client_6.10.17+dfsg-1_amd64.deb
boinc-dbg_6.10.17+dfsg-1_amd64.deb
  to main/b/boinc/boinc-dbg_6.10.17+dfsg-1_amd64.deb
boinc-dev_6.10.17+dfsg-1_amd64.deb
  to main/b/boinc/boinc-dev_6.10.17+dfsg-1_amd64.deb
boinc-manager_6.10.17+dfsg-1_amd64.deb
  to main/b/boinc/boinc-manager_6.10.17+dfsg-1_amd64.deb
boinc_6.10.17+dfsg-1.diff.gz
  to main/b/boinc/boinc_6.10.17+dfsg-1.diff.gz
boinc_6.10.17+dfsg-1.dsc
  to main/b/boinc/boinc_6.10.17+dfsg-1.dsc
boinc_6.10.17+dfsg.orig.tar.gz
  to main/b/boinc/boinc_6.10.17+dfsg.orig.tar.gz



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 534...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Mayorga <rmayo...@debian.org> (supplier of updated boinc 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Nov 2009 14:44:14 -0600
Source: boinc
Binary: boinc-client boinc-manager boinc-dev boinc-dbg
Architecture: source amd64
Version: 6.10.17+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian BOINC Maintainers <pkg-boinc-de...@lists.alioth.debian.org>
Changed-By: Rene Mayorga <rmayo...@debian.org>
Description: 
 boinc-client - core client for the BOINC distributed computing infrastructure
 boinc-dbg  - debugging symbols for BOINC binaries
 boinc-dev  - development files to build applications for BOINC projects
 boinc-manager - GUI to control and monitor the BOINC core client
Closes: 464192 512508 513884 534418 553998
Changes: 
 boinc (6.10.17+dfsg-1) unstable; urgency=low
 .
   * New upstream release (Closes: #553998)
     + better support for dark themes (Closes: #512508)
     + The -s (system tray option) was removed on upstream (Closes: #464192)
     + Better handling for WU over deadline - upstream
       changeset 17399 (Closes: #513884)
   * debian/patches
     + 003_use_sensible-browser.patch updated
     + 006_correct_catalog_path.patch - refreshed
     + 005_using_hyphen_as_minus.patch removed - Applied upstream
     + 101_check_RSA_returned_values.patch  - Removed - Applied upstream
     + 102_gcc4.4_safe.patch Removed - Applied upstream
     + 006_correct_catalog_path.patch - updated
     + 002_remove_hardcoded_optimization.patch  Removed, not needed anymore
     + 004_exclude_sea.patch - Removed - not needed anymore
     + 001_dont_install_ca-bundle.crt.patch Removed not needed anymore
     + 200__don-t-assume_SCHED_BATCH_exist.patch - Added to Prevent FTBFS
       on kfreebsd
   * debian/copyright
     + zip/zip and zip/unzip references removed
   * debian/rules
     + Adjust fix-perm for catalog files
   * use omm_adj to prevent boinc use all the system resources (Closes: #534418)
   * debian/control: Add libsqlite3-dev to B-D
Checksums-Sha1: 
 32f654f0b5c9c9efeccbdfcb2bcd3e5606ed9ecf 2317 boinc_6.10.17+dfsg-1.dsc
 2fb5717cf528cc7338b1de3df145b8d8c380c9d1 14171679 
boinc_6.10.17+dfsg.orig.tar.gz
 002dda190cfd2fab9ef62b03a2ce6d6032b3a341 56588 boinc_6.10.17+dfsg-1.diff.gz
 5f2539503b955cfc9d5c19432ba98d60f10368eb 447222 
boinc-client_6.10.17+dfsg-1_amd64.deb
 2583c7460841cc552f136647149de881d1001ca8 1823490 
boinc-manager_6.10.17+dfsg-1_amd64.deb
 bc5ef1d0af8e579abac0bbd4178fb7f15532bb76 522260 
boinc-dev_6.10.17+dfsg-1_amd64.deb
 734c093feb311aa41d824d2c463229a69bcd76d6 7993576 
boinc-dbg_6.10.17+dfsg-1_amd64.deb
Checksums-Sha256: 
 9846d9435e3e69847467f62008b99e20f51e9e1954cd2d4aa31f3ac5b195fc40 2317 
boinc_6.10.17+dfsg-1.dsc
 6add37df04a707b99dca98a6a27f89b4970b57a18986f841f4414262dba3f849 14171679 
boinc_6.10.17+dfsg.orig.tar.gz
 4a6612794078c9dac2ed6da6d53f2b4e58dfc0b44233405163b982fc457f3b73 56588 
boinc_6.10.17+dfsg-1.diff.gz
 d90edc892eac9c5f69b43b89d21dda164a27a6c1d7d8c8a0e6837b48104b0e32 447222 
boinc-client_6.10.17+dfsg-1_amd64.deb
 2fd66abbd40cbc3f0cb0ae9339d6eda896ef20a429b75d5fb90124c0497d7ca3 1823490 
boinc-manager_6.10.17+dfsg-1_amd64.deb
 a35c886bee52b3c6e3596c7263fa27d5ef011ac4fe778d14074df1468c60c1b7 522260 
boinc-dev_6.10.17+dfsg-1_amd64.deb
 80b731e52232c209fe07abedcd6f87c44e16af6fb09211bb94c0abdb6de80569 7993576 
boinc-dbg_6.10.17+dfsg-1_amd64.deb
Files: 
 72f67fe244b6831d7fcb2c173c57d2ce 2317 net optional boinc_6.10.17+dfsg-1.dsc
 2c678dde7230f875244e86d34d4375fb 14171679 net optional 
boinc_6.10.17+dfsg.orig.tar.gz
 5b4538c1204f96e3b9e111263eb15e33 56588 net optional 
boinc_6.10.17+dfsg-1.diff.gz
 ae21f885242492e970c47696e1218483 447222 net optional 
boinc-client_6.10.17+dfsg-1_amd64.deb
 40df7d49bb6dacb87b107924340800aa 1823490 x11 optional 
boinc-manager_6.10.17+dfsg-1_amd64.deb
 9d1ab84fda38d045e991fe47890be58f 522260 devel optional 
boinc-dev_6.10.17+dfsg-1_amd64.deb
 658c2d869f25af8390b6714386abbca5 7993576 debug extra 
boinc-dbg_6.10.17+dfsg-1_amd64.deb

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

iQIcBAEBCAAGBQJK9gLYAAoJELsgrCDgt9a+YQcP/1bVS4L6TJR0472A/mGjaDHZ
4M0Q887f/1KusbPdlGwCbwb8m+J2TrrRxJ+Q6hzKF4rBTntOXCmhqR8kp6gcxEek
Ml/gfi3nSypdrU+nx5ykTK1/1YraewjpxCZaKt3aQnyX4GzPLicE0UmfNFLo2KgP
G/Xrrn3XkoFhXdsnJRhq64/54LpNsEkqvjvTR+AOWUN1Jh0JVt0Q9zuqW2GDuUQz
yebGVpbw+ai6fe7qPglQmKFmpkwKoy1RVOVC3guq3iAwB+RtccEvt55lzuZWSzbr
E6dDLk84Y2AoK+bVueDirOaLnq2QbS2rrm+Abe9NZMZ3//Sc+qLJ7qbAKhtpGo5G
kEL4/TUk4FD2wqemu6SDWKZX5BKsq8TSjnCrQfsRF+L8iIaTM/cXFe255zo0kXQJ
EWEQsFBGBbPxuaaROtnopKeEk30+8B8Tj208fpKtKYVuPO/Ul7iqPLxJRy5lzlzV
utFDhQdWR1bcSwfxYjj83kDY3nZ8mKX2NWsoHtu/oYtVByRBlAT4zYz18NvUgh5t
MGCTAmqf8P2UbWPQF40qeS0iOOioz01Zq0kxtXV94z0LXCDAn6e4V5C1TXoGShJl
xm+JZ+30aKmxDKXhSshVToK7jNwp8HMqauJYn45ctmd7y0fq/wukFFyUzAg/DuEC
7TM4+kItvTetXPJFck4P
=wv5r
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to