Public bug reported:

localhost> lua t=box.tuple.new({'a', 'b', 'c', 'd'})
...
localhost> lua t:slice(-5)
failed to recv admin reply
reconnect: Connection refused (errno: 111)

2013-06-26 12:04:07.490 [8306] 103/admin/127.0.0.1:49749 box_lua.m:167 W> start 
4294967295 stop 3 end 4 field_count 4
Program received signal SIGSEGV, Segmentation fault.
0x00000000004a1e3e in lj_vm_return ()
(gdb) bt
#0  0x00000000004a1e3e in lj_vm_return ()
#1  0x000000000048c8c2 in lua_call ()
#2  0x0000000000443688 in tarantool_lua_dostring ()
#3  0x000000000044378d in tarantool_lua ()
#4  0x00000000004667cf in admin_dispatch ()
#5  0x000000000046903d in admin_handler ()
#6  0x00000000004529f3 in fiber_loop ()
#7  0x000000000047f95c in coro_init ()

** Affects: tarantool
     Importance: Undecided
     Assignee: Roman Tsisyk (rtsisyk)
         Status: In Progress

** Changed in: tarantool
       Status: New => In Progress

** Changed in: tarantool
     Assignee: (unassigned) => Roman Tsisyk (rtsisyk)

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1194764

Title:
  Bad unsigned arithmetic in lbox_tuple_slice

Status in Tarantool - an efficient in-memory data store:
  In Progress

Bug description:
  localhost> lua t=box.tuple.new({'a', 'b', 'c', 'd'})
  ...
  localhost> lua t:slice(-5)
  failed to recv admin reply
  reconnect: Connection refused (errno: 111)

  2013-06-26 12:04:07.490 [8306] 103/admin/127.0.0.1:49749 box_lua.m:167 W> 
start 4294967295 stop 3 end 4 field_count 4
  Program received signal SIGSEGV, Segmentation fault.
  0x00000000004a1e3e in lj_vm_return ()
  (gdb) bt
  #0  0x00000000004a1e3e in lj_vm_return ()
  #1  0x000000000048c8c2 in lua_call ()
  #2  0x0000000000443688 in tarantool_lua_dostring ()
  #3  0x000000000044378d in tarantool_lua ()
  #4  0x00000000004667cf in admin_dispatch ()
  #5  0x000000000046903d in admin_handler ()
  #6  0x00000000004529f3 in fiber_loop ()
  #7  0x000000000047f95c in coro_init ()

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1194764/+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

Reply via email to