[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160174#comment-16160174
 ] 

guoxiang niu edited comment on ZOOKEEPER-2882 at 9/10/17 2:01 AM:
------------------------------------------------------------------

when i executed ant test-core-cppunit command, it showed me following error 
message:

BUILD FAILED
\zookeeper\build.xml:1298: The following error occurred while executing this 
line:
\zookeeper\build.xml:1285: The following error occurred while executing this 
line:
\zookeeper\build.xml:1277: Execute failed: java.io.IOException: Cannot run 
program "autoreconf" (in directory "\zookeeper\src\c"): CreateProcess error=2, 
系统找不到指定的文件。
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at 
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)

so, whether i need to do something (e.g. initialize or configure ) before 
executing ant test-core-cppunit?


was (Author: guoxiang):
when i executed ant test-core-cppunit command, it showed me following error 
message:

BUILD FAILED
d:\niugx\work\zookeeper\zookeeper\build.xml:1298: The following error occurred 
while executing this line:
d:\niugx\work\zookeeper\zookeeper\build.xml:1285: The following error occurred 
while executing this line:
d:\niugx\work\zookeeper\zookeeper\build.xml:1277: Execute failed: 
java.io.IOException: Cannot run program "autoreconf" (in directory 
"d:\niugx\work\zookeeper\zookeeper\src\c"): CreateProcess error=2, 系统找不到指定的文件。
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at 
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)

so, whether i need to do something (e.g. initialize or configure ) before 
executing ant test-core-cppunit?

> memory leak in zoo_amulti() function
> ------------------------------------
>
>                 Key: ZOOKEEPER-2882
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2882
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: guoxiang niu
>            Assignee: guoxiang niu
>            Priority: Minor
>
> when default branch is executed in switch(op->type) , alloced memory for oa 
> variable will leak, so, close_buffer_oarchive(&oa, 1); should be called 
> before returning in default branch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to