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

tarantool / luajit / 6303180813
88%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1152-stack-buffer-overflow-on-error
DEFAULT BRANCH: tarantool/master
Ran 25 Sep 2023 06:12PM CUT
Jobs 1
Files 89
Run time 14s
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

25 Sep 2023 05:48PM CUT coverage: 88.235% (+0.04%) from 88.198%
6303180813

push

github

igormunkin
Handle table unsinking in the presence of IRFL_TAB_NOMM.

Reported by Sergey Kaplun.

(cherry-picked from commit 0ef51b495)

Table `NEWREF` storage for non-constant keys also emits `FREF` IR with
`IRFL_TAB_NOMM` to invalidate the metamethod cache. When table creation
and `NEWREF` are sinked, the corresponding `FSTORE` is sinked too and
should be restored on trace exit. However, `snap_unsink()` doesn't
expect anything except `IRFL_TAB_META` as the second operand of `FREF`,
so the corresponding assertion fails.

This patch adds a switch-case statement to handle the `IRFL_TAB_NOMM`
case. Since `FREF` with `IRFL_TAB_NOMM` always follows some hash store,
we can avoid a duplication of the cache invalidation, so this case just
does nothing.

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

Part of tarantool/tarantool#8825

5339 of 5972 branches covered (0.0%)

Branch coverage included in aggregate %.

20483 of 23293 relevant lines covered (87.94%)

2736173.25 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.91
-0.18% src/lj_opt_mem.c
2
95.59
-0.11% src/lj_record.c
3
97.61
-1.44% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 6303180813.1 25 Sep 2023 06:11PM CUT 89
88.24
GitHub Action Run
Source Files on build 6303180813
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 8
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
13.79
src/lj_utils_leb128.c132 51 7 44 1470130.0 + 179451 6
61.83
src/lj_cparse.c1935 1029 635 394 186997.0 + 19788183 111
61.83
src/lj_clib.c431 101 65 36 2737.0 + 1.016 14
64.75
src/lj_cconv.c763 387 238 149 517490.0 + 5246789 29
70.38
src/lj_carith.c429 252 175 77 557388.0 + 5786065 24
72.73
src/lj_crecord.c1912 927 656 + 2271 - 266.0 208 53
72.86
src/lj_strscan.c537 261 188 73 2848963.0 + 18000102 35
73.0
src/lj_api.c1368 859 622 237 955424.0 + 1163173 57
75.0
src/lib_ffi.c866 518 387 131 85601.0 + 860099 31
75.77
src/lj_opt_fold.c2522 971 720 251 10001.0 - 158237 55
Showing 1 to 10 of 89 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
  • ►
    88.24
    src/
  • Back to Repo
  • Github Actions Build #6303180813
  • d04a9fe3 on github
  • Prev Build on tarantool/master (#6302991175)
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