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

tarantool / luajit / 16004999645
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 01 Jul 2025 04:33PM 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

01 Jul 2025 03:07PM UTC coverage: 93.081% (+0.02%) from 93.06%
16004999645

push

github

Buristan
Fix error generation in load*.

Reported by Sergey Kaplun.

(cherry picked from commit e76bb50d4)

The chunkname pointer to the "@filename" is put on the Lua stack
before the `lua_loadx()` and is removed right before the next
`lua_pushfstring()` in case of the error. If the GC takes the step
right at this moment inside `lua_pushfstring()` the string may be
collected, and the next read from this `chunkname + 1` is from the
deallocated memory.

This patch fixes this by using the source string (or the constant one)
instead.

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

Part of tarantool/tarantool#11278

Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
(cherry picked from commit 046e9b3a0)

5711 of 6047 branches covered (94.44%)

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.

21800 of 23509 relevant lines covered (92.73%)

3874382.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.83
0.23% src/lj_opt_fold.c
2
91.11
-0.32% src/lj_alloc.c
5
85.59
-2.18% src/lj_sysprof.c
6
94.74
-4.31% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 16004999645.1 01 Jul 2025 04:33PM UTC 89
93.08
GitHub Action Run
Source Files on build 16004999645
  • Tree
  • List 89
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16004999645
  • 3d7604d6 on github
  • Prev Build on tarantool/release/3.4 (#15997613357)
  • Next Build on tarantool/release/3.4 (#16418063725)
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