Fixed on branch bugfix1119389
** Changed in: tarantool
Milestone: None => 1.4.9
** Changed in: tarantool
Assignee: (unassigned) => Dmitry Simonenko (pmwkaa)
** Changed in: tarantool
Importance: Undecided => High
** Changed in: tarantool
Status: New => Fix Committed
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1119389
Title:
box.tuple[] (lbox_tuple_index) crashes on 'nil' argument
Status in Tarantool - an efficient in-memory data store:
Fix Committed
Bug description:
commit 9ca7fda199f135c9d1aab8256b2668cea7e1f72e (stable)
localhost> INSERT INTO t0 VALUES(1, 2, 3, 4, 5)
localhost> lua box.select(0, 0)
---
- 1: {2, 3, 4, 5}
...
localhost> lua t = box.select(0, 0)
---
...
localhost> lua t[nil]
(crash)
#0 0x000000000047b65a in lua_getfield (L=0x40001888, idx=<optimized out>,
k=0x0) at lj_api.c:751
#1 0x0000000000423aa0 in lbox_tuple_index (L=0x40001888) at
src/box/box_lua.m:425
#2 0x0000000000491c47 in lj_BC_FUNCC ()
#3 0x000000000047c8a4 in lua_call (L=<optimized out>, nargs=<optimized out>,
nresults=<optimized out>) at lj_api.c:1016
#4 0x000000000043a6e7 in tarantool_lua_dostring (L=0x40001888,
str=0x7fffef54903c "t[nil]") at src/lua/init.m:1304
#5 0x000000000043a7de in tarantool_lua (L=0x40001888, out=0x7fffef551038,
str=0x7fffef54903c "t[nil]") at src/lua/init.m:1329
#6 0x000000000045d113 in admin_dispatch (coio=0x7fffef568f10,
iobuf=0x7fffef589818, L=0x40001888) at src/admin.rl:233
#7 0x000000000045fb8f in admin_handler (ap=0x7fffef589be0) at
src/admin.rl:345
#8 0x000000000044994f in fiber_loop (data=0x0) at src/fiber.m:362
#9 0x000000000046e738 in coro_init () at third_party/coro/coro.c:95
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1119389/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp