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

tarantool / luajit / 10828820080
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 12 Sep 2024 10:25AM 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

12 Sep 2024 10:16AM UTC coverage: 92.742% (-0.05%) from 92.796%
10828820080

push

github

Buristan
FFI: Fix various issues in recff_cdata_arith.

Thanks to Sergey Kaplun.

(cherry picked from commit 7a608e442)

The aforementioned function doesn't handle gentle recording of the cdata
addition to `nil` or some string, presuming that the interpreter will throw
an error. This may lead to an assertion due to an uninitialized ctype
state or an attempt to use in the fold engine the non-cdata summand (casted
to `IR_KPTR`) as the (invalid) GC pointer.

This patch handles such cases by:
* Initializing the ctype state where it is needed.
* Raising an error when the argument has a suspicious type. Since the
  interpreter will throw the error anyway, these traces will abort
  anyway.

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

Part of tarantool/tarantool#10199

5676 of 6026 branches covered (94.19%)

Branch coverage included in aggregate %.

5 of 6 new or added lines in 1 file covered. (83.33%)

17 existing lines in 4 files now uncovered.

21645 of 23433 relevant lines covered (92.37%)

2942819.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.66
0.03% src/lj_crecord.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
77.63
-0.16% src/lj_opt_fold.c
2
91.96
-0.45% src/luajit.c
3
97.61
-1.91% src/lj_str.c
10
77.43
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 10828820080.1 12 Sep 2024 10:25AM UTC 89
92.74
GitHub Action Run
Source Files on build 10828820080
  • 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 #10828820080
  • 502b464b on github
  • Prev Build on tarantool/master (#10402067911)
  • Next Build on skaplun/lj-1224-fix-jit-cdata-arith (#11361397555)
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