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

tarantool / luajit / 22917122874
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: tarantool/release/2.11
DEFAULT BRANCH: tarantool/master
Ran 10 Mar 2026 06:10PM 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

10 Mar 2026 05:41PM UTC coverage: 93.063% (+0.08%) from 92.984%
22917122874

push

github

Buristan
FFI: Avoid dangling cts->L.

Reported by ZumiKua.

(cherry picked from commit c94312d34)

When executing cdata finalizer on some lua_State, this state is set to
`cts->L`. If the state will be GC-ed and freed later, this reference
becomes dangling, so any FFI callback will use this invalid reference.

This patch fixes it by setting `cts->L` to the `mainthread` on the
destruction of the referenced one.

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

Part of tarantool/tarantool#12134

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

5708 of 6047 branches covered (94.39%)

Branch coverage included in aggregate %.

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

3 existing lines in 2 files now uncovered.

21805 of 23517 relevant lines covered (92.72%)

3886413.43 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.74
-0.96% src/lj_str.c
2
88.59
0.66% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 22917122874.1 10 Mar 2026 06:10PM UTC 89
93.06
GitHub Action Run
Source Files on build 22917122874
  • Tree
  • List 89
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22917122874
  • 36507925 on github
  • Prev Build on tarantool/release/3.6 (#22911423292)
  • Next Build on tarantool/release/3.6 (#22936754897)
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