Hi, pidgin dev here, got a report from an ubuntu artful user that it
generated a bunch of zombie processes.

I noticed a patch named "hg-remove-SIGCHLD-handler.patch" that only
exists in ubuntu and not in debian, and seems to be a backport of
https://bitbucket.org/pidgin/main/commits/161320946afdd6bc331026fa774e1f7bc680f12c

It's from the "default" branch (unreleased 3.x) instead of
release-2.x.y, and certainly not intended for release-2.x.y.

Quoting the commit, it seems to rely on the assumption that "DNS
processes are already reaped in libpurple". This was true for the
default branch around 2012 (I asked the author, apparently some queue
stuff was introduced a few commits earlier) and is sort-of-true for the
default branch now that it uses GResolver which is thread-based instead
of fork-based.

It's not a safe assumption for release-2.x.y in its current state, it
needs child process reaping.

I recommend removing this patch.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pidgin in Ubuntu.
https://bugs.launchpad.net/bugs/1245666

Title:
  Pidgin is creating zombies

Status in Pidgin:
  Unknown
Status in pidgin package in Ubuntu:
  Confirmed
Status in pidgin package in Fedora:
  Won't Fix

Bug description:
  After upgrading to Kubuntu 13.10 pidgin is constantly creating new
  zombies.

  E.g. after an uptime of roughly 4 hours:
  $ ps aux | grep Z
  USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  cm        2589  0.0  0.0      0     0 ?        Z    17:46   0:00 [pidgin] 
<defunct>
  cm        3045  0.0  0.0      0     0 ?        Z    17:47   0:00 [pidgin] 
<defunct>
  cm        3106  0.0  0.0      0     0 ?        Z    17:48   0:00 [pidgin] 
<defunct>
  cm        3236  0.0  0.0      0     0 ?        Z    17:50   0:00 [pidgin] 
<defunct>
  cm        5760  0.0  0.0      0     0 ?        Z    17:54   0:00 [pidgin] 
<defunct>
  cm        5788  0.0  0.0      0     0 ?        Z    18:02   0:00 [pidgin] 
<defunct>
  cm        6405  0.0  0.0      0     0 ?        Z    18:12   0:00 [pidgin] 
<defunct>
  cm        6501  0.0  0.0      0     0 ?        Z    18:22   0:00 [pidgin] 
<defunct>
  cm        6519  0.0  0.0      0     0 ?        Z    18:32   0:00 [pidgin] 
<defunct>
  cm        6543  0.0  0.0      0     0 ?        Z    18:42   0:00 [pidgin] 
<defunct>
  cm        6580  0.0  0.0      0     0 ?        Z    18:52   0:00 [pidgin] 
<defunct>
  cm        6619  0.0  0.0      0     0 ?        Z    19:02   0:00 [pidgin] 
<defunct>
  cm        6645  0.0  0.0      0     0 ?        Z    19:12   0:00 [pidgin] 
<defunct>
  cm        6672  0.0  0.0      0     0 ?        Z    19:22   0:00 [pidgin] 
<defunct>
  cm        6691  0.0  0.0      0     0 ?        Z    19:32   0:00 [pidgin] 
<defunct>
  cm        6757  0.0  0.0      0     0 ?        Z    19:42   0:00 [pidgin] 
<defunct>
  cm        6846  0.0  0.0      0     0 ?        Z    19:52   0:00 [pidgin] 
<defunct>
  cm        6869  0.0  0.0      0     0 ?        Z    20:01   0:00 [pidgin] 
<defunct>
  cm        6889  0.0  0.0      0     0 ?        Z    20:11   0:00 [pidgin] 
<defunct>
  cm        6914  0.0  0.0      0     0 ?        Z    20:21   0:00 [pidgin] 
<defunct>
  cm        6931  0.0  0.0      0     0 ?        Z    20:31   0:00 [pidgin] 
<defunct>
  cm        6948  0.0  0.0      0     0 ?        Z    20:41   0:00 [pidgin] 
<defunct>
  cm        6972  0.0  0.0      0     0 ?        Z    20:51   0:00 [pidgin] 
<defunct>
  cm        6992  0.0  0.0      0     0 ?        Z    21:01   0:00 [pidgin] 
<defunct>
  cm        7015  0.0  0.0      0     0 ?        Z    21:11   0:00 [pidgin] 
<defunct>
  cm        7036  0.0  0.0      0     0 ?        Z    21:20   0:00 [pidgin] 
<defunct>
  cm        7121  0.0  0.0      0     0 ?        Z    21:30   0:00 [pidgin] 
<defunct>
  cm        7223  0.0  0.0  10984   940 pts/0    S+   21:38   0:00 grep 
--color=auto Z

To manage notifications about this bug go to:
https://bugs.launchpad.net/pidgin/+bug/1245666/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to