Creating multiple runtimes with the same seed yields different random values
tomasol opened this issue · 2 comments
tomasol commented
Steps to reproduce:
Sequentially create multiple runtimes from madsim::runtime::Builder
with the same seed
Print getrandom::getrandom
in each simulation
The first value is different, then all other values are the the same, e.g.
[114]
[139]
[139]
[139]
...
wangrunji0408 commented
Hi, thanks for your feedback! We have fixed this bug and released a new version 0.2.27.
tomasol commented
Great, thanks. I found this issue while I was verifying determinism manually, but I will create a follow-up issue for it.