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

tarantool / luajit / 8266093729
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 13 Mar 2024 02:31PM 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

13 Mar 2024 02:02PM UTC coverage: 92.628% (-0.03%) from 92.661%
8266093729

push

github

Buristan
Check frame size limit before returning to a lower frame.

Thanks to Sergey Kaplun.

(cherry picked from commit 302366a33)

When compiling a stitched (or side) trace, there is no check for the
frame size of the current prototype during recording. Hence, when we
return (for example, after stitching) to the lower frame with a maximum
possible frame size (249), the 251 = `baseslot` (2) + `maxslot` (249)
slot for GC64 mode may be used. This leads to the corresponding assertion
failure in `rec_check_slots()`.

This patch adds the corresponding check. The `LJ_MAX_JSLOTS` and
`LJ_MAX_SLOTS` are equal by default, but their values may be manually
changed for some custom builds. Hence, the check is not enabled only for
`LJ_GC64` mode.

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

Part of tarantool/tarantool#9595

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>

5661 of 6018 branches covered (94.07%)

Branch coverage included in aggregate %.

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

12 existing lines in 4 files now uncovered.

21603 of 23416 relevant lines covered (92.26%)

2819831.69 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.08
-0.18% src/lj_opt_mem.c
1
99.04
-0.48% src/lj_str.c
2
77.39
0.0% src/lj_opt_fold.c
8
87.27
-0.75% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 8266093729.1 13 Mar 2024 02:31PM UTC 89
92.63
GitHub Action Run
Source Files on build 8266093729
  • Tree
  • List 89
  • Changed 85
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8266093729
  • 194a6fbc on github
  • Prev Build on tarantool/master (#8261350990)
  • Next Build on tarantool/master (#8293259035)
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