[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Strange intermittent LuaJIT errors (likely my fault)
- From: Mike Pall <mikelu-1205@...>
- Date: Wed, 2 May 2012 21:47:04 +0200
Alexander Gladysh wrote:
> Meanwhile, it looks like the bug is deterministically reproduced on a
> fixed n-th run of the suite (this is with somewhat modified code).
>
> For example, on one of the machines, bug is triggered exactly on 111th run.
>
> It seems that some state is kept somewhere between luajit2 runs. Any
> ideas *where*?
Well, it doesn't. But the ASLR in the kernel may create similar
address layouts from time to time, especially on x86. What happens
if you turn ASLR off?
sudo sysctl -w kernel.randomize_va_space=0
Note: this has system-wide security implications, use on test
machines only and remember to turn it back on later.
--Mike