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

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

Build:
Build:
LAST BUILD BRANCH: skaplun/gh-4808-jslots-trace-ir-cdata-ctype
DEFAULT BRANCH: tarantool/master
Ran 07 Dec 2023 02:01PM UTC
Jobs 1
Files 89
Run time 8s
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

07 Dec 2023 01:48PM UTC coverage: 88.608% (-0.08%) from 88.69%
7129212578

push

github

fckxorg
sysprof: disable runtime host symtab updates

The symtab update for newly loaded shared libraries requires
memory allocation, which is not signal-safe and can cause
crashes. Updating symtab in a VM hook is not a viable option
either, as there are no guarantees that the symbol will be
dumped before its address is streamed. This patch completely
disables the runtime updates of the symtab for host symbols.
That means all Lua-C modules, FFI modules, and shared libraries
must be loaded before starting the profiler.

There is no test along with the patch for two main reasons:
1. The signal should land on an instruction inside the allocator
such that the second allocator call would cause a crash because of
an inconsistent inner state. Although we have ptrace-based
machinery for testing, the control is not that fine-grained. The
only option we have left is to rely on empirical offsets, which
is not a robust solution. Moreover, it is possible to build LuaJIT
with `malloc` as an allocator, and the test should be adapted to
that too. Needless to say, malloc sources may differ from
platform to platform, making the test unreliable.

2. Regression is unlikely here since this patch removes the only
call that could allocate memory inside the signal handler.

Resolves tarantool/tarantool#8140

5377 of 5988 branches covered (0.0%)

Branch coverage included in aggregate %.

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

21 existing lines in 5 files now uncovered.

20625 of 23357 relevant lines covered (88.3%)

2740592.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7129212578.1 07 Dec 2023 02:01PM UTC 0
88.61
GitHub Action Run
Source Files on build 7129212578
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7129212578
  • b10e35bf on github
  • Prev Build on tarantool/master (#7119513155)
  • Next Build on fckxorg/gh-8140-crash-in-allocator (#7462347955)
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