Ran
|
Jobs
1
|
Files
515
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
build: update libcurl to curl-8_10_1-241-g461ce6c61 The reason is that the previous libcurl submodule update in commit 0919f3908 ("third_party: update libcurl from 8.8.0 to 8.10.1") reveals the following regression: NOWRAP ```c $ tarantool -e "require('http.client').new():get('https://google.com') collectgarbage()" tarantool: ./third_party/curl/lib/multi.c:3691: curl_multi_assign: Assertion `!(multi)' failed. Aborted (core dumped) ``` NOWRAP The stacktrace is the following: NOWRAP ```c <...> #4 __assert_fail #5 curl_multi_assign // <- called by us #6 curl_multi_sock_cb // <- this is our callback #7 Curl_multi_pollset_ev #8 cpool_update_shutdown_ev #9 cpool_discard_conn #10 cpool_close_and_destroy_all #11 Curl_cpool_destroy #12 curl_multi_cleanup #13 curl_env_finish // <- destroy the multi handle #14 httpc_env_finish #15 luaT_httpc_cleanup #16 lj_BC_FUNCC #17 gc_call_finalizer #18 gc_finalize #19 gc_onestep #20 lj_gc_fullgc #21 lua_gc #22 lj_cf_collectgarbage #23 lj_BC_FUNCC #24 lua_pcall #25 luaT_call #26 lua_main #27 run_script_f #28 fiber_cxx_invoke #29 fiber_loop #30 coro_init ``` NOWRAP The multi handle is during the destroy, but our `CURLMOPT_SOCKETFUNCTION` callback is invoked and the `curl_multi_assign()` call (invoked to associate a libev watcher to the given file descriptor) fails on the assertion. Everything is as described in https://github.com/curl/curl/issues/15201. The first bad libcurl's commit is [curl-8_10_0-4-g48f61e781][1], but later it was fixed in [curl-8_10_1-241-g461ce6c61][2]. This commit updates libcurl to this revision to fix the regression. Adjusted build options in our build script: * Added `CURL_DISABLE_IPFS=ON`: [curl-8_10_1-57-gce7d0d413][3] * Added `CURL_TEST_BUNDLES=OFF`: [curl-8_10_1-67-g71cf0d1fc][4] * Changed `ENABLE_WEBSOCKETS=OFF` to `CURL_DISABLE_WEBSOCKETS=ON`: [curl-8_10_1-130-gd78e129d5][5] [1]: https://github.com/curl/curl/commi... (continued)
69173 of 122857 branches covered (56.3%)
101962 of 116752 relevant lines covered (87.33%)
2550607.38 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
84.85 |
-1.52% | src/box/lua/ctl.c |
1 |
92.93 |
-0.11% | src/lib/core/fiber.c |
1 |
84.16 |
-0.11% | src/box/xlog.c |
1 |
90.38 |
-1.92% | src/lib/core/trigger.cc |
2 |
96.01 |
0.22% | src/lib/msgpuck/msgpuck.h |
2 |
94.11 |
-0.39% | src/lua/fiber.c |
2 |
85.71 |
-9.52% | src/lib/core/tt_sigaction.c |
4 |
22.62 |
-0.08% | src/lib/uri/uri_parser.c |
5 |
90.69 |
-0.16% | src/box/box.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11329930674.1 | 515 |
87.33 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|