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

tarantool / luajit / 8815439561
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 24 Apr 2024 11:13AM 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.536% (-0.04%) from 92.58%
8815439561

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>

5657 of 6018 branches covered (94.0%)

Branch coverage included in aggregate %.

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

16 existing lines in 6 files now uncovered.

21581 of 23417 relevant lines covered (92.16%)

2947151.49 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.39
0.16% src/lj_opt_fold.c
1
92.11
-2.63% src/lj_vmmath.c
1
87.27
-0.08% src/lj_crecord.c
1
93.09
-0.33% src/lj_ir.c
5
95.19
-0.89% src/lj_opt_mem.c
7
90.94
-0.99% src/lj_ffrecord.c
Jobs
ID Job ID Ran Files Coverage
1 8815439561.1 24 Apr 2024 11:13AM UTC 89
92.54
GitHub Action Run
Source Files on build 8815439561
  • Tree
  • List 89
  • Changed 87
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8815439561
  • 19dee099 on github
  • Prev Build on tarantool/master (#8604001752)
  • Next Build on tarantool/master (#9526033422)
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