Your message dated Mon, 28 May 2012 11:25:47 +0000
with message-id <e1syy55-0003o5...@franck.debian.org>
and subject line Bug#665962: fixed in zookeeper 3.3.5+dfsg1-2
has caused the Debian Bug report #665962,
regarding zookeeper: Memory leak on any async python call
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.)
--
665962: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665962
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zookeeper
Version: 3.3.5+dfsg1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* d/patches/fixes/ZOOKEEPER-1431: Fix up memory leak in zookeeper
python binding which results in significant memory growth for large
result sets (LP: #963280). Thanks to Johan Rydberg for identifying
this bug and Kapil Thangavelu for the patch.
Thanks for considering the patch.
- -- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPcabMAAoJEL/srsug59jDNwkP/R4W58mVksVccliIKuIB2Snt
XFRpswLRZNAwpBhiKgYcVyvCQPRGuAb3pPtadmifUTmrmVCyiSVODoILJ+4xTrz2
XSZgKaE9Oxj5aPtZDnTV/mDMX6iIDYe2gjBF3gdQyP8czIHrnaicQSEHbe+O4U+S
ay7ZJT7BBW0J2MWI0wec56FtvtAHA47Azp+1cABDc+cLBCZ1hGwDsHYn3vceOSAf
M4Zn/U2uJUlT5u3P1Sc+QId+nkvP0mWULlPXNHSr4ljjKtdqnCgMMR2XwfGmEIAh
Tw8tjYQUS/MrDj82r8RzUT7sXfLTNlYFlHVQS6aqhsH7FyC3PlHjmzzvVUKDEXow
fo/ebiSOatZGpdIAyKawi6M7W2kLAw4mVazmL0bBFhxpnlOQq718jARbGOkUhzgW
bq8wg7h/J/icMmSBHCLbdxb65wtYd9K4ITHHm4YBsx/JhuaaWnLUEJ+xnLlDQMn6
dHM+b0Rfc9ur7rWTNqBKHoHbAHWfXrtlmeKVVTtEWknR5Zgtd6an8HxTySfukhft
yuj84f5wTlCIX7+U2VjSv888t1fadnw80/29K4Q6uitm4fO+5i54cm1FARn7+kWC
egHD1AvkuWRilktbTNQup+mo89/jXBBXtn1/Di28/gMh+Zs8KksEiQQXA3tZsiLG
6Bzj6Axyrk3JYwkHXkdi
=VCKj
-----END PGP SIGNATURE-----
--- zookeeper-3.3.5+dfsg1/debian/patches/fixes/ZOOKEEPER-1431 1970-01-01 01:00:00.000000000 +0100
+++ zookeeper-3.3.5+dfsg1/debian/patches/fixes/ZOOKEEPER-1431 2012-03-23 17:45:49.000000000 +0000
@@ -0,0 +1,71 @@
+Description: Fix up memory leak for large results set in zk
+ python bindings.
+Author: Kapil Thangavelu <kapil.thangav...@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/963280
+Bug: https://issues.apache.org/jira/browse/ZOOKEEPER-1431
+
+Index: a/src/contrib/zkpython/src/c/zookeeper.c
+===================================================================
+--- a/src/contrib/zkpython/src/c/zookeeper.c (revision 1304459)
++++ b/src/contrib/zkpython/src/c/zookeeper.c (working copy)
+@@ -436,7 +436,8 @@
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL) {
+ PyErr_Print();
+ }
+- if (pyw->permanent == 0 && (type != ZOO_SESSION_EVENT || is_unrecoverable(zzh) == ZINVALIDSTATE)) {
++ Py_DECREF(arglist);
++ if (pyw->permanent == 0 && (type != ZOO_SESSION_EVENT || is_unrecoverable(zzh) == ZINVALIDSTATE)) {
+ free_pywatcher(pyw);
+ }
+ PyGILState_Release(gstate);
+@@ -457,6 +458,7 @@
+ PyObject *arglist = Py_BuildValue("(i,i)", pyw->zhandle, rc);
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL)
+ PyErr_Print();
++ Py_DECREF(arglist);
+ free_pywatcher(pyw);
+ PyGILState_Release(gstate);
+ }
+@@ -474,9 +476,9 @@
+ PyObject *pystat = build_stat(stat);
+ PyObject *arglist = Py_BuildValue("(i,i,O)", pyw->zhandle,rc, pystat);
+ Py_DECREF(pystat);
+-
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL)
+ PyErr_Print();
++ Py_DECREF(arglist);
+ free_pywatcher(pyw);
+ PyGILState_Release(gstate);
+ }
+@@ -498,6 +500,7 @@
+
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL)
+ PyErr_Print();
++ Py_DECREF(arglist);
+ free_pywatcher(pyw);
+ PyGILState_Release(gstate);
+ }
+@@ -518,6 +521,7 @@
+ PyObject *arglist = Py_BuildValue("(i,i,O)", pyw->zhandle, rc, pystrings);
+ if (arglist == NULL || PyObject_CallObject((PyObject*)callback, arglist) == NULL)
+ PyErr_Print();
++ Py_DECREF(arglist);
+ }
+ else
+ PyErr_Print();
+@@ -540,6 +544,7 @@
+ PyObject *arglist = Py_BuildValue("(i,i,s)", pyw->zhandle,rc, value);
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL)
+ PyErr_Print();
++ Py_DECREF(arglist);
+ free_pywatcher(pyw);
+ PyGILState_Release(gstate);
+ }
+@@ -565,6 +570,7 @@
+ if (PyObject_CallObject((PyObject*)callback, arglist) == NULL) {
+ PyErr_Print();
+ }
++ Py_DECREF(arglist);
+ free_pywatcher(pyw);
+ PyGILState_Release(gstate);
+ }
diff -Nru zookeeper-3.3.5+dfsg1/debian/patches/series zookeeper-3.3.5+dfsg1/debian/patches/series
--- zookeeper-3.3.5+dfsg1/debian/patches/series 2012-03-21 21:23:25.000000000 +0000
+++ zookeeper-3.3.5+dfsg1/debian/patches/series 2012-03-23 17:32:11.000000000 +0000
@@ -5,3 +5,4 @@
fixes/ZOOKEEPER-1033
fixes/ZOOKEEPER-1374
fixes/ZOOKEEPER-1403
+fixes/ZOOKEEPER-1431
--- End Message ---
--- Begin Message ---
Source: zookeeper
Source-Version: 3.3.5+dfsg1-2
We believe that the bug you reported is fixed in the latest version of
zookeeper, which is due to be installed in the Debian FTP archive:
libzookeeper-java-doc_3.3.5+dfsg1-2_all.deb
to main/z/zookeeper/libzookeeper-java-doc_3.3.5+dfsg1-2_all.deb
libzookeeper-java_3.3.5+dfsg1-2_all.deb
to main/z/zookeeper/libzookeeper-java_3.3.5+dfsg1-2_all.deb
libzookeeper-mt-dev_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/libzookeeper-mt-dev_3.3.5+dfsg1-2_i386.deb
libzookeeper-mt2_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/libzookeeper-mt2_3.3.5+dfsg1-2_i386.deb
libzookeeper-st-dev_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/libzookeeper-st-dev_3.3.5+dfsg1-2_i386.deb
libzookeeper-st2_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/libzookeeper-st2_3.3.5+dfsg1-2_i386.deb
libzookeeper2_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/libzookeeper2_3.3.5+dfsg1-2_i386.deb
python-zookeeper_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/python-zookeeper_3.3.5+dfsg1-2_i386.deb
zookeeper-bin_3.3.5+dfsg1-2_i386.deb
to main/z/zookeeper/zookeeper-bin_3.3.5+dfsg1-2_i386.deb
zookeeper_3.3.5+dfsg1-2.debian.tar.gz
to main/z/zookeeper/zookeeper_3.3.5+dfsg1-2.debian.tar.gz
zookeeper_3.3.5+dfsg1-2.dsc
to main/z/zookeeper/zookeeper_3.3.5+dfsg1-2.dsc
zookeeper_3.3.5+dfsg1-2_all.deb
to main/z/zookeeper/zookeeper_3.3.5+dfsg1-2_all.deb
zookeeperd_3.3.5+dfsg1-2_all.deb
to main/z/zookeeper/zookeeperd_3.3.5+dfsg1-2_all.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 665...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Page <james.p...@ubuntu.com> (supplier of updated zookeeper 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, 28 May 2012 11:51:03 +0100
Source: zookeeper
Binary: libzookeeper-java zookeeper zookeeperd libzookeeper-java-doc
libzookeeper-mt2 libzookeeper-st2 libzookeeper2 libzookeeper-mt-dev
libzookeeper-st-dev zookeeper-bin python-zookeeper
Architecture: source all i386
Version: 3.3.5+dfsg1-2
Distribution: sid
Urgency: low
Maintainer: Debian Java Maintainers
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: James Page <james.p...@ubuntu.com>
Description:
libzookeeper-java - Core Java libraries for zookeeper
libzookeeper-java-doc - API Documentation for zookeeper
libzookeeper-mt-dev - Development files for multi threaded zookeeper C bindings
libzookeeper-mt2 - Multi threaded C bindings for zookeeper
libzookeeper-st-dev - Development files for single threaded zookeeper C
bindings
libzookeeper-st2 - Single threaded C bindings for zookeeper
libzookeeper2 - C bindings for zookeeper - transitional package
python-zookeeper - Python bindings for zookeeper
zookeeper - High-performance coordination service for distributed application
zookeeper-bin - Command line utilities for zookeeper
zookeeperd - Init control scripts for zookeeper
Closes: 665962
Changes:
zookeeper (3.3.5+dfsg1-2) unstable; urgency=low
.
* d/patches/fixes/ZOOKEEPER-1431: Fix up memory leak in zookeeper
python binding which results in significant memory growth for large
result sets (Closes: #665962). Thanks to Johan Rydberg for identifying
this bug and Kapil Thangavelu for the patch.
Checksums-Sha1:
7671c070d73eba1982c6314fba0d86f20220ec26 2865 zookeeper_3.3.5+dfsg1-2.dsc
82ae0734627e8d51c356956b8494d2041e508d32 26681
zookeeper_3.3.5+dfsg1-2.debian.tar.gz
2f05cea9b06ac927fb674c24d7e650f84c6254f8 1148482
libzookeeper-java_3.3.5+dfsg1-2_all.deb
8efa68fbb362c933b28c0b62c05f469af5a06de7 106594 zookeeper_3.3.5+dfsg1-2_all.deb
6b0cbad21254d2021e26811d974e0830b24f80d6 3298 zookeeperd_3.3.5+dfsg1-2_all.deb
e4be5e2e385845697b4deef7bf8b11aa556ff759 592232
libzookeeper-java-doc_3.3.5+dfsg1-2_all.deb
d5231d35db8879e7fbd8fb60204ae8b4585bdc73 66046
libzookeeper-mt2_3.3.5+dfsg1-2_i386.deb
f9eb6788a03c7d6f5c99d9074b07e61afbcc781a 63154
libzookeeper-st2_3.3.5+dfsg1-2_i386.deb
19c241c872d55c6ab43e3abd39e44aa78ad10ee1 922
libzookeeper2_3.3.5+dfsg1-2_i386.deb
339e6fbf8545eb55b2b586f63adbda635a5b9625 61852
libzookeeper-mt-dev_3.3.5+dfsg1-2_i386.deb
58feb631e83e1f9aec0da5b2fa9919ffbca7978a 58480
libzookeeper-st-dev_3.3.5+dfsg1-2_i386.deb
9177d4931c2dc68a4b017dcc6fcfdbf8ccc88b0d 59464
zookeeper-bin_3.3.5+dfsg1-2_i386.deb
d2cf05829c011b0cd5ae7ab7e4208f0a92c06ea1 40582
python-zookeeper_3.3.5+dfsg1-2_i386.deb
Checksums-Sha256:
746d9263c4aa401959b08dbc195b4aa2dfa3c1534e7a3f2637dd13cde698ce89 2865
zookeeper_3.3.5+dfsg1-2.dsc
dbd0b222e9b1b0f86b511bc563e2efa1e83e3643fe0437db1e531740ac5fe717 26681
zookeeper_3.3.5+dfsg1-2.debian.tar.gz
32c99da0c654dc289f95de91f353db7b023652babe8af7bd37b4dabfd09c6b0f 1148482
libzookeeper-java_3.3.5+dfsg1-2_all.deb
7151919f6855d001a7be452d2a59373fead17ca207354cbc7cd0fba771f0b9da 106594
zookeeper_3.3.5+dfsg1-2_all.deb
042580fe3f5fa4b6e4957fb637de9e7ccea9c05740ecd5eaaab4af9a08549fee 3298
zookeeperd_3.3.5+dfsg1-2_all.deb
c6d8f607a71431512f35a9ceda3218b9c20edbb52d4586aa73fdb4dd4cbe6e75 592232
libzookeeper-java-doc_3.3.5+dfsg1-2_all.deb
811b678806fa5844f561841c20675f5db1fc73ac11a73d04cc55e318a1cd409b 66046
libzookeeper-mt2_3.3.5+dfsg1-2_i386.deb
a63c8bf9d3522a7f7a02a3f47b60222a4494a7b11d99aa513931ab5376791fcc 63154
libzookeeper-st2_3.3.5+dfsg1-2_i386.deb
5baa719e7a143b4f98ffc76349cff237904493cd655e55356dc92976648d6d58 922
libzookeeper2_3.3.5+dfsg1-2_i386.deb
9cb983f4d871c70447c9919413424fb12b1a7fc783faaabb269de1ebc869274e 61852
libzookeeper-mt-dev_3.3.5+dfsg1-2_i386.deb
125c82d170f181062e450f605adbc3c6170ff785443f91129b2d9aaee4273128 58480
libzookeeper-st-dev_3.3.5+dfsg1-2_i386.deb
f7c776d58cde3e30574cb183c73d61242b9d242bc1e458c5fe1f9184c6368a2e 59464
zookeeper-bin_3.3.5+dfsg1-2_i386.deb
3a8578c4d39ca3b19a00bdf7dee533fdcd5424f5336829fb357cae77ca9e45dc 40582
python-zookeeper_3.3.5+dfsg1-2_i386.deb
Files:
782c853820eed7ee9efa1da246398cd4 2865 java optional zookeeper_3.3.5+dfsg1-2.dsc
85be4a4aa8d07349227da331658e31fb 26681 java optional
zookeeper_3.3.5+dfsg1-2.debian.tar.gz
85b1a1a0dc66329038cfeab004beedda 1148482 java optional
libzookeeper-java_3.3.5+dfsg1-2_all.deb
ef41da5b2fb0ee6456704cec744f84d9 106594 java optional
zookeeper_3.3.5+dfsg1-2_all.deb
ad79990e2b2bcad13522c149f0bead5e 3298 java optional
zookeeperd_3.3.5+dfsg1-2_all.deb
b8931f835e984b1045bf17949c7c36c2 592232 doc optional
libzookeeper-java-doc_3.3.5+dfsg1-2_all.deb
faae9c5c498fcca594bbd824f0ca504d 66046 libs optional
libzookeeper-mt2_3.3.5+dfsg1-2_i386.deb
67095429f1edb8c493e8fb53141fecfa 63154 libs optional
libzookeeper-st2_3.3.5+dfsg1-2_i386.deb
e23dfa545be992e39a3e31dae05a7529 922 oldlibs extra
libzookeeper2_3.3.5+dfsg1-2_i386.deb
39efebdb8fe019512d661f58c85083ee 61852 libdevel optional
libzookeeper-mt-dev_3.3.5+dfsg1-2_i386.deb
1e8be687c55e13cf5c62de1f62c09bb3 58480 libdevel optional
libzookeeper-st-dev_3.3.5+dfsg1-2_i386.deb
cf356b89ae682d2950c79f941d832c05 59464 misc optional
zookeeper-bin_3.3.5+dfsg1-2_i386.deb
03423bf1d8eec21ff03bc78d9a84dd68 40582 python optional
python-zookeeper_3.3.5+dfsg1-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPw1uEAAoJEL/srsug59jDACUP/3W02eMVoJ5XCm+I1HJxRlLp
MDBdulW6KZxZwJiF5A8xSoNlMBUw9JZvECvKAtYdiq3KoNa/NzBCMuH1hzGfMJ/g
+I18VseROGZ1vdabwYYFPkL9wE1vBBsLI15mgibwmxNKL1fl3rsa/gIm5MB2kRj3
9Yjo3VkAwFNSuGSPXemk+xwpEubvXh00cNlO9GfeOfwP+zeHVIgNiNF5xrCAyD0m
PaI07mEWW9QIRIAHJRne2Q45v/h3hFpF688O2Gq8fjRESjALe4mGhvRYc5oj+FCU
tuK3KyJRaJVnNdMoF9vCDlkeUVhTxvfL7nc0tAhIB4XM6rIuCP8OqAAEKg6pd0YH
tU6Tu28jeWE/6zB31jxJye/Av+0EAvWygN7WiQS8teXZw7pLCsNHtsDpg/d5fG+u
F+BOVTolgP0RxrerZvMuu2J7VThAJ3qPujzelcj7Fm/r7ZJeLucL2TiWHwSyRBxg
XGPhgUrZpx1oBSgY+hepypvhpAgUX17nBsrlY+LSeXB+YpAz0akWrhIV1cG3/apd
VSB/k252qDXL6D9ONA+GLPK8KR0kS+SoEWyc0zJXqSiUXaQd0YnUslNZw7A1tpnm
nkH8Q8Wfj3sYeAvLfQp3oWpTgxJmVip1TUUfbl3iRg/gV33Im8/MEPgi9vV7qU/H
G6svGnPTx3X/ifOeyBu2
=V3P0
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
debian-j...@lists.debian.org for discussions and questions.