[Tarantool-patches] [PATCH luajit v4 0/3] Improve error reporting on stack overflow

Igor Munkin imun at tarantool.org
Thu Feb 15 16:40:10 MSK 2024


Max,

I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, release/3.0 and
release/2.11.

On 01.02.24, Maxim Kokryashkin via Tarantool-patches wrote:
> Changes in v4:
> - Added skipcond for nounwind builds.
> 
> Issues: https://github.com/luajit/luajit/issues/962
> https://github.com/tarantool/tarantool/issues/9145
> 
> PR: https://github.com/tarantool/tarantool/pull/9380
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-962-error-reporting-on-stack-overflow
> 
> Mike Pall (3):
>   Improve error reporting on stack overflow.
>   Cleanup stack overflow handling.
>   Follow-up fix for stack overflow handling cleanup.
> 
>  src/lj_state.c                                | 15 ++-
>  .../lj-962-premature-stack-overflow.test.c    | 95 +++++++++++++++++++
>  .../lj-603-err-snap-restore.test.lua          |  1 +
>  .../lj-962-stack-overflow-report.test.lua     | 10 ++
>  .../lj-962-stack-overflow-report/script.lua   |  3 +
>  test/tarantool-tests/utils/exec.lua           | 15 ++-
>  6 files changed, 132 insertions(+), 7 deletions(-)
>  create mode 100644 test/tarantool-c-tests/lj-962-premature-stack-overflow.test.c
>  create mode 100644 test/tarantool-tests/lj-962-stack-overflow-report.test.lua
>  create mode 100644 test/tarantool-tests/lj-962-stack-overflow-report/script.lua
> 
> --
> 2.43.0
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list