• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 30472643975
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/gh-noticket-perf-compare
DEFAULT BRANCH: tarantool/master
Ran 29 Jul 2026 04:54PM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jul 2026 04:29PM UTC coverage: 93.348% (-0.04%) from 93.388%
30472643975

push

github

Buristan
Fix stack overflow relimit handling.

Thanks to Sergey Kaplun.

(cherry picked from commit d2c1327f5)

If the error handler can't fit to the top of the Lua stack, the stack is
resized up to `LJ_STACK_MAXEX + 1 + 2 * LUA_MINSTACK` hoping that
`lj_state_relimitstack()` shrinks it back. In case when another error is
(gently) handled in the error handler (`pcall(error)` or failed
`load()`) the stack is shrunk to `LJ_STACK_MAX` leaving the rest of the
handler to be executed on the clipped stack, which leads to the
heap-overflow or a crash.

This patch fixes the issue by hardening the relimiting border to match
the extra space allocated before the stack overflow. Also, it fixes some
typos in the comments.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#12880

Reviewed-by: Evgeniy Temirgaleev <e.temirgaleev@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
(cherry picked from commit dee62c917)

5740 of 6059 branches covered (94.74%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

14 existing lines in 4 files now uncovered.

21906 of 23557 relevant lines covered (92.99%)

3970665.05 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
77.88
-1.01% src/lj_api.c
2
92.0
-0.44% src/luajit.c
1
77.03
0.16% src/lj_opt_fold.c
1
96.71
-0.05% src/lj_record.c
Jobs
ID Job ID Ran Files Coverage
1 30472643975.1 29 Jul 2026 04:54PM UTC 89
93.35
GitHub Action Run
Source Files on build 30472643975
  • Tree
  • List 89
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30472643975
  • 67c31f5c on github
  • Prev Build on tarantool/release/3.7 (#30441300753)
  • Next Build on tarantool/release/3.7 (#30530159088)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc