Re: [mpich-discuss] Bugs in Hydra-KVS
Hi Jan, Thanks for reporting this. I will review your patches and apply them soon. Thanks, Ken ----- Original Message -----
From: "Jan Bierbaum" <[email protected]> To: [email protected] Sent: Monday, October 14, 2013 4:47:28 AM Subject: [mpich-discuss] Bugs in Hydra-KVS
Hello!
Doing some experiments with an older version of MPICH I stumbled upon two bugs in 'HYD_pmcd_pmi_add_kvs', both of which are still present according to Git [1]:
The loop traverses all KVS entries and checks for one with a duplicate key. However, it will not check the last entry (Bug 1). When a duplicate entry is found the loop is aborted. But the newly created 'key_pair' is never freed (Bug 2). I attached a patch that fixes both issues.
Also, newer versions of MPICH do not check anymore whether a duplicate KVS entry was encountered - 'HYD_status fn_put' ignores 'ret' completely [2] whereas it did some error checking and reporting in older versions. This change was introduced in commit b98c7fd361541659d7e8fb6ef7fc76547024ad75 [3] and I am not sure whether this check was removed intentionally or rather by accident.
Last but not least the README in the release tarball is a bit outdated and still refers to the old site, mailing list and SVN repository. I attach another patch that updates the file. I also propose to add a link to the Git Wiki page [4] directly at the end of the download page [5]. It took me quiet a while to realize the repository was publicly available.
Regards, Jan
[1] http://git.mpich.org/mpich.git/blob/HEAD:/src/pm/hydra/pm/pmiserv/common.c#l... [2] http://git.mpich.org/mpich.git/blob/HEAD:/src/pm/hydra/pm/pmiserv/pmiserv_pm... [3] http://git.mpich.org/mpich.git/commit/b98c7fd361541659d7e8fb6ef7fc76547024ad... [4] https://wiki.mpich.org/mpich/index.php/Getting_And_Building_MPICH [5] https://www.mpich.org/downloads/
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Ken Raffenetti