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

tarantool / luajit / 22917122897 / 1
93%
tarantool/master: 93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 10 Mar 2026 06:17PM UTC
Files 89
Run time 4s
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.015% (+0.04%) from 92.974%
22917122897.1

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>

5710 of 6047 branches covered (94.43%)

Branch coverage included in aggregate %.

21789 of 23517 relevant lines covered (92.65%)

3885577.82 hits per line

Source Files on job 22917122897.1
  • 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 Build 22917122897
  • 1e5887d8 on github
  • Prev Job for on tarantool/master (#22911296232.1)
  • Next Job for on tarantool/master (#22936755036.1)
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