Roman Tsisyk
2014-09-08 15:07:42 UTC
Hi!
I found a regression in 2.0.x branch.
The code below causes segfault:
```
for i=0,10000 do
if false == 1ULL then
end
end
```
```
#3 <signal handler called>
#4 0x000000000052af4f in asm_fuseload ()
#5 0x000000000052e173 in asm_conv ()
#6 0x0000000000530b23 in lj_asm_trace ()
#7 0x000000000050bcf0 in trace_state ()
#8 0x0000000000516109 in lj_vm_cpcall ()
#9 0x000000000050c49f in lj_trace_ins ()
#10 0x0000000000501ae2 in lj_dispatch_ins ()
#11 0x0000000000517793 in lj_vm_inshook ()
#12 0x0000000000504d07 in lua_call ()
```
Problem commit is (bisected):
---
commit 19b69f21d409375ad8362c04186b246c1749fc8e
Author: Mike Pall <mike>
Date: Tue Apr 1 00:30:22 2014 +0200
FFI: Allow non-scalar cdata to be compared for equality by address
---
I found a regression in 2.0.x branch.
The code below causes segfault:
```
for i=0,10000 do
if false == 1ULL then
end
end
```
```
#3 <signal handler called>
#4 0x000000000052af4f in asm_fuseload ()
#5 0x000000000052e173 in asm_conv ()
#6 0x0000000000530b23 in lj_asm_trace ()
#7 0x000000000050bcf0 in trace_state ()
#8 0x0000000000516109 in lj_vm_cpcall ()
#9 0x000000000050c49f in lj_trace_ins ()
#10 0x0000000000501ae2 in lj_dispatch_ins ()
#11 0x0000000000517793 in lj_vm_inshook ()
#12 0x0000000000504d07 in lua_call ()
```
Problem commit is (bisected):
---
commit 19b69f21d409375ad8362c04186b246c1749fc8e
Author: Mike Pall <mike>
Date: Tue Apr 1 00:30:22 2014 +0200
FFI: Allow non-scalar cdata to be compared for equality by address
---
--
WBR,
Roman Tsisyk <roman-***@public.gmane.org>
http://tarantool.org/ - an efficient in-memory data store and a Lua
application server
http://try.tarantool.org/ - try your Lua code **online**
WBR,
Roman Tsisyk <roman-***@public.gmane.org>
http://tarantool.org/ - an efficient in-memory data store and a Lua
application server
http://try.tarantool.org/ - try your Lua code **online**