|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Handle OOM error on stack resize in coroutine.resume and lua_checkstack. Thanks to Peter Cawley. (cherry picked from commit a5d2f70c7) If the OOM or stack overflow error is obtained during `lj_state_growstack()` in the `coroutine.resume()` it may raise an error leading to the incorrect error message and unexpected behaviour for this corner case. Also, `lua_checkstack()` may raise an OOM error leading to panic on an unprotected lua_State, for example. This patch handles these cases by protecting `lj_state_growstack()`. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 357a260d8)
5716 of 6053 branches covered (94.43%)
Branch coverage included in aggregate %.
14 of 14 new or added lines in 3 files covered. (100.0%)
6 existing lines in 2 files now uncovered.21813 of 23540 relevant lines covered (92.66%)
3891236.76 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
99.04 |
1.44% | src/lj_str.c |
| 5 |
85.59 |
-2.18% | src/lj_sysprof.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23194736031.1 | 89 |
93.03 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|