oar-team / batsim

Batsim: Infrastructure simulator for job and I/O scheduling
GNU Lesser General Public License v3.0
30 stars 15 forks source link

Crashes when redis is disabled #18

Closed mpoquet closed 7 years ago

mpoquet commented 7 years ago

Description

When Batsim is run without Redis, some problems might occur depending on batsim inputs...

Should be investigated in detail.

Reproducibiilty

Batsim commit: f2b05bb3d0f0f6014862475b289276531150e05d Batsched commit: a6f9b0df75dd9e1e3be39a95bfc578640801fc83

cd ${BATSCHED_DIR}
${BATSIM_DIR}/tools/experiments/execute_instances.py test/no_redis.yaml

Expected output:

[...]
2017-04-11 19:14:25,057 WARNING: 8 instances have been skipped
[...]

All instances with redis disabled crash.

mpoquet commented 7 years ago

It seems that commit 6283f88d7a29 fixed it. boost::locale probably did some buffer overflow =/