Here’s a valgrlind log showing many invalid writes to freed addresses in cb_data_free → curl_multi_remove_handle and nm_connectivity_check_start → curl_multi_add_handle, which could explain the heap corruption.
Here’s a valgrlind log showing many invalid writes to freed addresses in cb_data_free → curl_multi_ remove_ handle and nm_connectivity _check_ start → curl_multi_ add_handle, which could explain the heap corruption.