[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Bug in LuaJIT 2 involving closures
- From: Erik Lindroos <gliptic@...>
- Date: Wed, 30 Jun 2010 21:27:46 +0200
I seem to have found a bug in LuaJIT 2 involving upvalues. I've attached a testcase that demonstrates the bug.
It's a minimal bitstream reader where the variable buf seems to get a stale value at the 60th iteration (when the JIT kicks in?).
This happens on Windows with both 32-bit and 64-bit LuaJIT with the latest code from the git rep. I have not tested other platforms.
// Erik Lindroos
Description: Binary data