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

tarantool / luajit / 12686220417
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 09 Jan 2025 08:32AM UTC
Jobs 1
Files 89
Run time 194min
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

09 Jan 2025 06:58AM UTC coverage: 92.918% (-0.08%) from 92.999%
12686220417

push

github

Buristan
Fix compilation of getmetatable() for UDTYPE_IO_FILE

The patch fixes a problem with recording `getmetatable()`
for an I/O object: recording the `getmetatable` call with file
descriptors represented by userdata object `UDTYPE_IO_FILE`
(like `io.stdout`) leads to violation of assertion in
`rec_check_slots`.

Note, the problem was fixed upstream in different manner, see
commit 5141cbc20
("Fix compiliation of getmetatable() for UDTYPE_IO_FILE.").
Note, the specialization omits the check of `__metatable` field
precense and the check for the metatable itself. So, if we change
the metatable on the object after the trace is compiled, the trace
becomes invalid. The proposed test demonstrates these cases as
well.

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Kaplun <skaplun@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>

5692 of 6033 branches covered (94.35%)

Branch coverage included in aggregate %.

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

24 existing lines in 5 files now uncovered.

21702 of 23449 relevant lines covered (92.55%)

2977803.26 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.99
-0.17% src/lj_gc.c
2
91.98
-0.45% src/luajit.c
3
78.42
-0.23% src/lj_opt_fold.c
8
87.74
-0.75% src/lj_crecord.c
10
77.8
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 12686220417.1 09 Jan 2025 08:32AM UTC 89
92.92
GitHub Action Run
Source Files on build 12686220417
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12686220417
  • 0b4fe7b2 on github
  • Prev Build on tarantool/master (#12464655872)
  • Next Build on tarantool/master (#12688354916)
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