-
Notifications
You must be signed in to change notification settings - Fork 403
Closed
Labels
Description
example test:
#!/usr/bin/env tarantool
-- vim: set ft=lua :
tap = require 'tap'
fio = require 'fio'
log = require 'log'
tempdir = fio.tempdir()
box.cfg {
wal_dir = tempdir,
snap_dir = tempdir,
sophia_dir = tempdir
}
local function test_replace(old_tuple, new_tuple)
end
box.schema.create_space('abc')
box.space.abc:create_index('pk', { type = 'tree' })
box.space.abc:on_replace(test_replace)
cleanup_list = fio.glob(fio.pathjoin(tempdir), '*')
for _, file in pairs(cleanup_list) do
fio.unlink(file)
end
fio.rmdir(tempdir)
os.exit(0)
crash log:
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f86935c2077 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0 0x00007f86935c2077 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f86935c3458 in __GI_abort () at abort.c:89
#2 0x000000000041fdfc in sig_fatal_cb (signo=<optimized out>)
at /home/unera/work/tarantool/src/tarantool.cc:212
#3 <signal handler called>
#4 0x00000000004d6420 in index2adr ()
#5 0x00000000004d7dd2 in lua_rawgeti ()
#6 0x00000000004e8283 in luaL_unref ()
#7 0x000000000049a170 in lbox_trigger_destroy (trigger=0x1ce5a60)
at /home/unera/work/tarantool/src/lua/trigger.cc:35
#8 0x0000000000438739 in trigger_destroy (list=0x1ce6678)
at /home/unera/work/tarantool/src/trigger.h:103
#9 space_delete (space=0x1ce6630)
at /home/unera/work/tarantool/src/box/space.cc:124
#10 0x000000000043ad53 in schema_free ()
at /home/unera/work/tarantool/src/box/schema.cc:368
#11 0x000000000042183e in box_free ()
at /home/unera/work/tarantool/src/box/box.cc:360
#12 0x00000000004200a7 in tarantool_free ()
at /home/unera/work/tarantool/src/tarantool.cc:491
#13 0x00007f86935c4b39 in __run_exit_handlers (status=0,
listp=0x7f869392f5a8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#14 0x00007f86935c4b85 in __GI_exit (status=<optimized out>) at exit.c:104
#15 0x00000000005169db in lj_cf_os_exit ()
#16 0x00000000004eb9a8 in lj_BC_FUNCC ()
#17 0x0000000000498748 in lbox_call (nreturns=0, nargs=<optimized out>,
L=0x40935378) at /home/unera/work/tarantool/src/lua/utils.h:442
#18 run_script(typedef __va_list_tag __va_list_tag *) (ap=<optimized out>)
at /home/unera/work/tarantool/src/lua/init.cc:414
#19 0x0000000000484e89 in fiber_loop (data=<optimized out>)
at /home/unera/work/tarantool/src/fiber.cc:391
#20 0x00000000004b6cc7 in coro_init ()
at /home/unera/work/tarantool/third_party/coro/coro.c:95
(gdb) quit
Reactions are currently unavailable