Intermittent failures in Kong Gateway CI running on the ARM64 platform were traced to a LuaJIT ARM64 JIT compiler error, manifesting as an incorrect arithmetic operation due to a variable being misinterpreted as a function value. The issue, occurring roughly once every 100 runs, was identified through a methodical debugging process involving the use of the Mozilla rr reverse debugger, which allowed for detailed examination of the program's execution. The problem was rooted in the LuaJIT's code generation phase, where incorrect memory address calculations led to errors in ARM64 assembly code due to a peephole optimization misinterpreting offset values. A fix was proposed and merged into the LuaJIT upstream, addressing the erroneous merging of load/store instructions by implementing additional checks for offset ranges. The sporadic nature of the error was attributed to the non-deterministic behaviors inherent in Lua and LuaJIT, such as undefined table iteration order and varying JIT compilation behaviors, which contributed to the intermittent nature of the failure despite consistent test inputs.