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

tarantool / luajit / 6260487329
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 21 Sep 2023 10:34AM UTC
Jobs 1
Files 89
Run time 9s
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

21 Sep 2023 10:00AM UTC coverage: 88.239% (+0.2%) from 88.084%
6260487329

push

github

fckxorg
Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.

Reported by Arseny Vakhrushev.
Fix contributed by Peter Cawley.

As specified in lj_record.c:304, all loops must set `J->pc` to
the next instruction. However, the chunk of logic at
lj_trace.c:923 expects it to be set to `BC_JLOOP` itself if it
used to be a `BC_RET`. This wrong pc results in the execution
of random data that goes after BC_JLOOP in the case of
restoration from the snapshot.

This patch fixes that behavior by adapting the loop recording
logic to this specific case.

Maxim Kokryashkin:
* added the description and the test for the problem

Part of tarantool/tarantool#8825

5337 of 5970 branches covered (0.0%)

Branch coverage included in aggregate %.

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

20480 of 23288 relevant lines covered (87.94%)

1290918.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.7
-0.05% src/lj_record.c
2
72.05
-0.17% src/lj_crecord.c
3
97.61
-1.44% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 6260487329.1 21 Sep 2023 10:34AM UTC 89
88.24
GitHub Action Run
Source Files on build 6260487329
  • Tree
  • List 89
  • Changed 87
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6260487329
  • 8eaa36e7 on github
  • Prev Build on tarantool/master (#6112372689)
  • Next Build on fckxorg/lj-624-jloop-snapshot-pc (#6260618012)
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