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

tarantool / luajit / 13027545118
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 29 Jan 2025 08:47AM UTC
Jobs 1
Files 89
Run time 1min
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

29 Jan 2025 08:42AM UTC coverage: 92.988% (+0.03%) from 92.954%
13027545118

push

github

ligurio
Handle all stack layouts in (delayed) TRACE vmevent.

Thanks to Sergey Bronnikov and Peter Cawley.

(cherry picked from commit b138ccfa9)

When recording a trace using a Lua code like
`repeat until `a >= 'b' > 'b'` a Lua error is encountered
(`attempt to compare string with nil`), which (along with
raising the error) causes an asynchronous trace abort.
The trace abort remains pending until the call of
`lua_pcall(L, 2, 0, 0)` that actually calls `jit.attach(trace_cb, nil)`.

On handling abort LuaJIT is searching for the topmost Lua frame
on the stack, that was active when the trace abort happened,
it is needed to generate a better error message.
Unfortunately, because the abort was due to an error, and
the error was caught by a `lua_pcall` with unspecified
error function (4th argument), the Lua frame that caused the abort
was already removed as part of error processing, so the search
cannot find it. Furthermore, in this particular case, there are
no Lua frames on the stack, which isn't something the search code
had considered possible.

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

Part of tarantool/tarantool#10709

5696 of 6031 branches covered (94.45%)

Branch coverage included in aggregate %.

21701 of 23432 relevant lines covered (92.61%)

2945090.67 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.09
-0.99% src/lj_ir.c
3
78.34
-0.23% src/lj_opt_fold.c
Jobs
ID Job ID Ran Files Coverage
1 13027545118.1 29 Jan 2025 08:47AM UTC 89
92.99
GitHub Action Run
Source Files on build 13027545118
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13027545118
  • ab0a1de0 on github
  • Prev Build on tarantool/master (#12890351666)
  • Next Build on ligurio/lj-1087-vm-handler-call (#13157314530)
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