Minor fix
-
Changes in config.hpp
- Missing compile setting in config.hpp leads to confusing warning when binding cores.
-
Changes in loader/base_loader.hpp
- Add loading check before minus one since "gstore->num_normal_preds == -1" will lead to endless loop in function [init_seg_metas].
-
Changes in mm/jemalloc.hpp, store/dynamic_gstore.hpp
- jemalloc.hpp: add range check to notify the reason why "memory range false" happened. This is just to make debugging easier.
- dynamic_gstore.hpp: fix bug when insert idx.
-----------------------------bug----------------------------
INFO: #0: 1905ms for initializing predicate segment statistics. ERROR: memory range false ERROR: Assertion: /home/xxt/wukong/core/mm/jemalloc.hpp(malloc:155): 'false' failed terminate called after throwing an instance of 'WukongException' what(): Something wrong happened
------------------------------bug---------------------------
The bug can be reproduced in the following configuration.
$ ./build.sh -DUSE_DYNAMIC_GSTORE=ON
-------------config-------------
global_num_proxies 1
global_num_engines 1
... ...
-------------config--------------