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

tarantool / luajit / 7890154942
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 13 Feb 2024 05:11PM UTC
Jobs 1
Files 89
Run time 5min
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

13 Feb 2024 04:53PM UTC coverage: 88.965% (+0.005%) from 88.96%
7890154942

push

github

igormunkin
LJ_GC64: Always snapshot functions for non-base frames.

Reported by Arseny Vakhrushev.
Analysis and fix contributed by Peter Cawley.

(cherry picked from commit ff1e72ace)

The problem is GC64-specific and could be reproduced with enabled
compiler options LUA_USE_ASSERT and LUA_USE_APICHECK.

The case with the bug is the following: imagine we have a function that
is recorded to a trace and calls a built-in function that is not
JIT-compilable (see NYI) and therefore triggers exit to the interpreter,
and then it resumes tracing just after the call returns - this is trace
stitching. Then, within the call, we need the potential for a side
trace. Finally, we need that side exit to be taken enough times for the
exit to be compiled into a trace. This compilation hits the assertion
failure.

The patch adds a function below the frame in the snapshot for the
`LJ_FR2` mode.

Sergey Kaplun:
* minimized reproducer made by fuzzing test

Sergey Bronnikov:
* added the description (see a comment in the test)
* added tests for the problem: first one based on the original
  reproducer and second one based on a reproducer made by fuzzing test.

Part of tarantool/tarantool#9145

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

5423 of 6016 branches covered (90.14%)

Branch coverage included in aggregate %.

20755 of 23409 relevant lines covered (88.66%)

2800398.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7890154942.1 13 Feb 2024 05:11PM UTC 89
88.97
GitHub Action Run
Source Files on build 7890154942
  • Tree
  • List 89
  • Changed 85
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7890154942
  • aecb941a on github
  • Prev Build on tarantool/master (#7886114042)
  • Next Build on tarantool/master (#7891123873)
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