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

tarantool / luajit / 6853810405
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 13 Nov 2023 05:59PM UTC
Jobs 1
Files 89
Run time 10s
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 Nov 2023 05:48PM UTC coverage: 88.484% (+0.03%) from 88.458%
6853810405

push

github

igormunkin
sysprof: fix crash during FFUNC stream

Sometimes, the Lua stack can be inconsistent during the FFUNC execution,
which may lead to a sysprof crash during the stack unwinding.

This patch replaces the `top_frame` property of `global_State` with
`lj_sysprof_topframe` structure, which contains `top_frame` and `ffid`
properties. `ffid` property makes sense only when the LuaJIT VM state is
set to `FFUNC`. That property is set to the ffid of the fast function
that VM is about to execute.  In the same time, `top_frame` property is
not updated now, so the top frame of the Lua stack can be streamed based
on the ffid, and the rest of the Lua stack can be streamed as usual.

Also, this patch fixes the build via Makefile.original by adding the
`LJ_HASSYSPROF` flag support to it.

Resolves tarantool/tarantool#8594

Reviewed-by: Sergey Kaplun <skaplun@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>

5363 of 5976 branches covered (0.0%)

Branch coverage included in aggregate %.

10 of 11 new or added lines in 1 file covered. (90.91%)

6 existing lines in 3 files now uncovered.

20561 of 23322 relevant lines covered (88.16%)

2760600.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.19
-1.7% src/lj_sysprof.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
72.56
-0.08% src/lj_crecord.c
1
95.91
-0.18% src/lj_opt_mem.c
4
83.19
-1.7% src/lj_sysprof.c
Jobs
ID Job ID Ran Files Coverage
1 6853810405.1 13 Nov 2023 05:59PM UTC 89
88.48
GitHub Action Run
Source Files on build 6853810405
  • Tree
  • List 89
  • Changed 85
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6853810405
  • 285a1b0a on github
  • Prev Build on tarantool/master (#6851160821)
  • Next Build on tarantool/master (#6854723763)
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