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

tarantool / luajit / 8815439604
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 24 Apr 2024 11:14AM 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

24 Apr 2024 10:50AM UTC coverage: 92.658% (+0.08%) from 92.58%
8815439604

push

github

Buristan
Correct fix for stack check when recording BC_VARG.

Reported by Yichun Zhang.

(cherry picked from commit b2791179e)

This patch is a follow-up to the commit
5f0a43ace ("bugfix: fixed assertion
failure "lj_record.c:92: rec_check_slots: Assertion `nslots <= 250'
failed" found by stressing our edgelang compiler."), which is identical
to the commit e0388e6c0 ("Fix stack check
when recording BC_VARG.)" from the upstream. The error is raised too
late, when buffer overflow of `J->slot` has already occurred and data in
the `jit_State` structure is corrupted.

This patch moves the corresponding check before using the `J->slot`
buffer. The `J->maxslot` may overflow the buffer only in cases where the
amount of the vararg results is unknown. The check is used only in this
case since the trace recording for the undefined-on-trace varargs is not
yet implemented for an unknown amount of varargs.

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

Part of tarantool/tarantool#9924

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
(cherry picked from commit 19dee0996)

5662 of 6018 branches covered (94.08%)

Branch coverage included in aggregate %.

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

4 existing lines in 2 files now uncovered.

21612 of 23417 relevant lines covered (92.29%)

2948648.67 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.69
-0.25% src/lj_ffrecord.c
2
77.47
0.08% src/lj_opt_fold.c
Jobs
ID Job ID Ran Files Coverage
1 8815439604.1 24 Apr 2024 11:14AM UTC 89
92.66
GitHub Action Run
Source Files on build 8815439604
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8815439604
  • 5d38b621 on github
  • Prev Build on tarantool/release/3.1 (#8735729931)
  • Next Build on tarantool/release/3.1 (#9526033443)
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

© 2025 Coveralls, Inc