You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2009/10/15 00:56:31 UTC
[jira] Created: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
zkpython can segfault when statting a deleted node
--------------------------------------------------
Key: ZOOKEEPER-554
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
Project: Zookeeper
Issue Type: Bug
Reporter: Henry Robinson
Assignee: Henry Robinson
Fix For: 3.3.0
C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-554:
-----------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
+1, looks good, Thanks Henry!
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-554.patch
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-554) zkpython can segfault when
statting a deleted node
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765859#action_12765859 ]
Hadoop QA commented on ZOOKEEPER-554:
-------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12422158/ZOOKEEPER-554.patch
against trunk revision 824981.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 8 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/25/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/25/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/25/console
This message is automatically generated.
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-554.patch
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-554:
-----------------------------------
Fix Version/s: 3.2.2
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.2.2, 3.3.0
>
> Attachments: ZOOKEEPER-554.patch
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
Posted by "Henry Robinson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henry Robinson updated ZOOKEEPER-554:
-------------------------------------
Attachment: ZOOKEEPER-554.patch
Attached is a fix, with tests included. I have also added a new suite of tests for callbacks to catch the same kind of issues in the same patch.
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-554.patch
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
Posted by "Henry Robinson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henry Robinson updated ZOOKEEPER-554:
-------------------------------------
Component/s: contrib-bindings
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-554) zkpython can segfault when statting
a deleted node
Posted by "Henry Robinson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henry Robinson updated ZOOKEEPER-554:
-------------------------------------
Status: Patch Available (was: Open)
> zkpython can segfault when statting a deleted node
> --------------------------------------------------
>
> Key: ZOOKEEPER-554
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-554
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Henry Robinson
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-554.patch
>
>
> C client returns NULL for stat object for deleted nodes. zookeeper.c blindly dereferences it. Segfault.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.