You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tarantool version:
master (2.2)
OS version:
Ubuntu 18.04
Bug description:
Fold machinery in luajit (src/lj_opt_fold.c) neglects data dependency for an IR. Thus SNEW result can be intermixed with original STR pointer, leading to incorrect result of pointer arithmetics. Details: LuaJIT/LuaJIT#505
A stub solution is to disable the transformation and this tracker is to figure out the correct way to detect the data dependency - apparently, the STRREF should be the only use of the SNEW result.
Tarantool version:
master (2.2)
OS version:
Ubuntu 18.04
Bug description:
Fold machinery in luajit (src/lj_opt_fold.c) neglects data dependency for an IR. Thus SNEW result can be intermixed with original STR pointer, leading to incorrect result of pointer arithmetics. Details: LuaJIT/LuaJIT#505
A stub solution is to disable the transformation and this tracker is to figure out the correct way to detect the data dependency - apparently, the STRREF should be the only use of the SNEW result.
Steps to reproduce:
test-run.py luajit-tap/fold_bug_LuaJIT_505.test.lua
Optional (but very desirable):
The text was updated successfully, but these errors were encountered: