[tarantool-patches] [PATCH 0/3] Dump lua frames for a fiber traceback

Georgy Kirichenko georgy at tarantool.org
Fri Sep 21 16:20:52 MSK 2018


Lua frames are now dumped as well as plain C-frames for a
fiber backtrace. The main patch follows two preparation fixes:
 - enable backtrace for an active coroutine;
 - setup lua state for the main fiber;

Issue: https://github.com/tarantool/tarantool/issues/3538
Branch:
https://github.com/tarantool/tarantool/compare/g.kirichenko/gh-3538-lua-backtrace

Georgy Kirichenko (3):
  Set a lua state for the main fiber too
  Proper unwind for currently executing fiber
  Show names of Lua functions in backtraces

 src/backtrace.cc        |  5 ++-
 src/lua/fiber.c         | 86 +++++++++++++++++++++++++++++++++++------
 src/lua/init.c          |  1 +
 test/app/fiber.result   | 33 ++++++++++++++++
 test/app/fiber.test.lua | 12 ++++++
 5 files changed, 125 insertions(+), 12 deletions(-)

-- 
2.19.0





More information about the Tarantool-patches mailing list