Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix stack allocation after on-trace stack check. (cherry picked from commit 204cee2c9) It is possible that a snapshot topslot is less than the possible topslot of the Lua stack. In that case, if the Lua stack overflows in `lj_vmevent_prepare()`, the error is raised inside `lj_vm_exit_handler()`, which has no corresponding DWARF eh_frame [1], so it leads to the crash. This patch fix-ups the topslot of the snapshot on trace exit to the maximum possible one. Sergey Kaplun: * added the description and the test for the problem [1]: https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/ehframechpt.html Part of tarantool/tarantool#10199
5685 of 6027 branches covered (94.33%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
14 existing lines in 4 files now uncovered.21668 of 23435 relevant lines covered (92.46%)
2940210.56 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
99.22 |
-0.78% | src/lj_func.c |
2 |
90.0 |
-5.0% | src/lj_vmmath.c |
4 |
94.74 |
-2.87% | src/lj_str.c |
7 |
87.04 |
-0.67% | src/lj_crecord.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10792163058.1 | 89 |
92.84 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|