Bug#812835: boinc-client: leaks hundreds of x11 connections

Dan Merillat debian at dan.merillat.org
Wed Jan 27 01:54:44 UTC 2016


Package: boinc-client
Version: 7.6.22+dfsg-1exp3
Severity: important

Dear Maintainer,

boinc-client caused "maximum number of clients reached" errors on my system.
xrestop showed 248 clients. Ran 'service boinc-client stop' and the client
count dropped to 28.

Multiple reboots had the same problem - after a few minutes the client
list would start filling up with <unknown> clients.

I had installed boinc a long time ago, intending to use it but never set
it up - no projects or work.  The problems began only after a reboot on
Monday, but the last change was january 3:

2016-01-03 00:04:52 upgrade boinc-client:amd64 7.0.15+dfsg-1
7.6.22+dfsg-1

The only explanation is that there was no reboot after that upgrade, so
perhaps the client either did not start or remained running the old
7.0.15 version.  

I verified the boinc was the cause by purging boinc-client and
re-installing from experimental - after a few minutes it leaked again:

harik at dan:~$ sudo ls -l /proc/`pidof boinc`/fd
total 0
lr-x------ 1 boinc boinc 64 Jan 26 18:50 0 -> /dev/null
lrwx------ 1 boinc boinc 64 Jan 26 18:50 1 -> socket:[88000]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 10 -> socket:[127916]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 100 -> socket:[129791]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 101 -> socket:[129792]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 102 -> socket:[129828]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 103 -> socket:[129836]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 104 -> socket:[130925]
lrwx------ 1 boinc boinc 64 Jan 26 20:42 105 -> socket:[131250]
lrwx------ 1 boinc boinc 64 Jan 26 20:42 106 -> socket:[131251]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 107 -> socket:[131252]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 108 -> socket:[131288]
lrwx------ 1 boinc boinc 64 Jan 26 18:50 109 -> socket:[131291]
...
harik at dan:~$ sudo ls -l /proc/`pidof boinc`/fd | grep socket | wc -l
212

Killing boinc dropped my client count from 242 to 33, and I could open
new windows again.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

Kernel: Linux 4.2.0-dan (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages boinc-client depends on:
ii  adduser                3.113+nmu3
ii  ca-certificates        20160104
ii  debconf [debconf-2.0]  1.5.58
ii  init-system-helpers    1.27
ii  libboinc7              7.6.22+dfsg-1exp3
ii  libc6                  2.21-7
ii  libcurl3               7.46.0-1+b1
ii  libgcc1                1:6-20160122-1
ii  libstdc++6             6-20160122-1
ii  libx11-6               2:1.6.3-1
ii  libxss1                1:1.2.2-1
pn  python:any             <none>
ii  zlib1g                 1:1.2.8.dfsg-2+b1

boinc-client recommends no packages.

Versions of packages boinc-client suggests:
pn  boinc-client-fglrx        <none>
pn  boinc-client-nvidia-cuda  <none>
pn  boinc-client-opencl       <none>
ii  boinc-manager             7.6.22+dfsg-1exp3
ii  x11-xserver-utils         7.7+5

-- Configuration Files:
/etc/boinc-client/gui_rpc_auth.cfg [Errno 13] Permission denied: u'/etc/boinc-client/gui_rpc_auth.cfg'

-- debconf information:
  boinc-client/remove_boinc_dir: true



More information about the pkg-boinc-devel mailing list