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

Georgy Kirichenko georgy at tarantool.org
Wed Oct 10 19:39:23 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;

Georgy Kirichenko (3):
  fiber: do not inline coro unwind function
  Proper unwind for currently executing fiber
  Show names of Lua functions in backtraces

 src/backtrace.cc        | 27 ++++++++++++-
 src/lua/fiber.c         | 86 +++++++++++++++++++++++++++++++++++------
 test/app/fiber.result   | 33 ++++++++++++++++
 test/app/fiber.test.lua | 12 ++++++
 4 files changed, 146 insertions(+), 12 deletions(-)

-- 
2.19.1

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

Changes in v2:
 - Rebased against the latest 1.10
 - Segmentation fault fixed




More information about the Tarantool-patches mailing list