Bug in LuaJIT 2 involving closures
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Bug in LuaJIT 2 involving closures
- From: Erik Lindroos <gliptic@...>
- Date: 2010年6月30日 21:27:46 +0200
Hello,
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
Attachment:
bugtest.lua
Description: Binary data