<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Nov 13, 2014, at 3:51 PM, Yuriy Kaminskiy <<a href="mailto:yumkam@gmail.com" class="">yumkam@gmail.com</a>> wrote:<div><blockquote type="cite" class=""><div class="">From 870eb004d977b92a82531275c5739ec2d2667281 Mon Sep 17 00:00:00 2001<br class="">From: "Yuriy M. Kaminskiy" <<a href="mailto:yumkam@gmail.com" class="">yumkam@gmail.com</a>><br class="">Date: Fri, 14 Nov 2014 02:13:02 +0300<br class="">Subject: [PATCH] Fix test breakage on 32-bit systems<br class=""><br class="">test_stats_arenas_bins:test/unit/stats.c:332: Failed assertion:<br class="">(jet_mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz, ((void *)0),<br class="">0)) == (config_tcache ? expected : 2) --> 22 != 0: Unexpected mallctl()<br class="">result<br class="">etc<br class="">(22 is EINVAL on this platform)<br class=""><br class="">Regression by 3c4d92e82a31f652a7c77ca937a02d0185085b06<br class="">---<br class=""> test/unit/stats.c | 1 +<br class=""> 1 files changed, 1 insertions(+), 0 deletions(-)<br class=""><br class="">diff --git a/test/unit/stats.c b/test/unit/stats.c<br class="">index fd92d54..946e737 100644<br class="">--- a/test/unit/stats.c<br class="">+++ b/test/unit/stats.c<br class="">@@ -327,6 +327,7 @@ TEST_BEGIN(test_stats_arenas_bins)<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span>assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", &curregs, &sz,<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> NULL, 0), expected, "Unexpected mallctl() result");<br class=""><br class="">+<span class="Apple-tab-span" style="white-space:pre"> </span>sz = sizeof(uint64_t);<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span>assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz,<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> NULL, 0), config_tcache ? expected : ENOENT,<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> "Unexpected mallctl() result");<br class="">-- <br class=""></div></blockquote></div><br class=""><div class="">Integrated:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://github.com/jemalloc/jemalloc/commit/f79e01f75b79058c3be0ce6de0d46f8a9a990176" class="">https://github.com/jemalloc/jemalloc/commit/f79e01f75b79058c3be0ce6de0d46f8a9a990176</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Jason</div></body></html>