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

tarantool / tarantool / 23300314891
88%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2026 02:53PM UTC
Jobs 1
Files 526
Run time 2min
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

19 Mar 2026 02:38PM UTC coverage: 87.675% (-0.01%) from 87.687%
23300314891

push

github

locker
box: free cord_buf_global at thread exit

When an application thread exits, memory allocated for cord_buf_global
isn't freed, which triggers an ASAN memory leak report:

```
Direct leak of 168 byte(s) in 1 object(s) allocated from:
    #0 0x5b410ffb86d3 in malloc (src/tarantool+0xba76d3)
    #1 0x5b4110dcb951 in cord_buf_new src/lib/core/cord_buf.c:95:25
    #2 0x5b4110dcb824 in cord_buf_take src/lib/core/cord_buf.c:134:9
    #3 0x5b4110dcb75c in cord_ibuf_take src/lib/core/cord_buf.c:151:10
    #4 0x5b4110b67f59 in luaT_tuple_new src/box/lua/tuple.c:283:22
    #5 0x5b4110b6d723 in lbox_tuple_new src/box/lua/tuple.c:311:24
    #6 0x5b4110ec73c6 in lj_BC_FUNCC third_party/luajit/src/lj_vm.S:811
```

Fix this and add a test.

Follow-up commit 95ff5defea66 ("lua: export buffer to application
threads").

NO_DOC=bug fix
NO_CHANGELOG=unreleased

70541 of 118701 branches covered (59.43%)

7 of 7 new or added lines in 3 files covered. (100.0%)

304 existing lines in 16 files now uncovered.

106068 of 120978 relevant lines covered (87.68%)

1364290.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.09
-0.07% src/box/vy_run.c
1
90.38
-1.92% src/lib/core/trigger.cc
1
91.68
-0.11% src/lib/swim/swim.c
2
96.08
0.25% src/box/app_threads.c
2
87.01
-0.41% src/box/vy_stmt.c
2
81.38
-0.6% src/lib/core/coio.c
2
93.48
0.02% src/lua/utils.c
3
95.96
0.0% src/box/tuple_dictionary.c
3
91.99
-0.3% src/box/vy_scheduler.c
3
92.94
-0.18% src/lib/core/fiber.c
4
92.52
-0.18% src/box/vinyl.c
9
60.42
-6.25% src/lib/core/fio.c
10
95.64
0.18% src/box/lua/init.c
16
95.69
-0.28% src/box/tuple.c
20
93.77
0.02% src/box/lua/tuple.c
225
91.06
-0.42% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 23300314891.1 19 Mar 2026 02:54PM UTC 526
87.68
GitHub Action Run
Source Files on build 23300314891
  • Tree
  • List 526
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • dbd53e50 on github
  • Prev Build on master (#23263876157)
  • Next Build on master (#23334811920)
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