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

tarantool / luajit / 17034842769
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1432-1433-bad-for-loops
DEFAULT BRANCH: tarantool/master
Ran 18 Aug 2025 08:11AM UTC
Jobs 1
Files 89
Run time 4min
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

18 Aug 2025 07:58AM UTC coverage: 93.074% (+0.01%) from 93.064%
17034842769

push

github

Buristan
Correctly close VM state after early OOM during open.

Reported by Assumeru.

(cherry picked from commit 5ca25ee83)

`lua_newstate()` sets `g->str.mask` to `~(MSize)0` before calling
`cpluaopen(). If OOM happens before the `lj_str_init()` call,
`lj_gc_freeall()` calls `gc_sweepstr()` in a loop with incorrect top
limit `g->str.mask`, which leads to the crash.

This patch changes the order of the loop iteration with the correct
bottom limit.

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

Part of tarantool/tarantool#11691

5712 of 6047 branches covered (94.46%)

Branch coverage included in aggregate %.

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

14 existing lines in 4 files now uncovered.

21796 of 23508 relevant lines covered (92.72%)

3873965.82 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.06
0.08% src/lj_crecord.c
1
78.83
0.31% src/lj_opt_fold.c
2
92.0
-0.44% src/luajit.c
10
77.8
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 17034842769.1 18 Aug 2025 08:11AM UTC 89
93.07
GitHub Action Run
Source Files on build 17034842769
  • Tree
  • List 89
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17034842769
  • 7570b927 on github
  • Prev Build on tarantool/master (#16418063871)
  • Next Build on skaplun/lj-1248-close-state-early-OOM (#17578558958)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc