View previous topic :: View next topic |
Author |
Message |
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 243 Location: Gentoo forums
|
Posted: Wed Nov 15, 2023 6:03 pm Post subject: [SOLVED] net-dns/c-ares-1.22.0 breaks curl |
|
|
After updating net-dns/c-ares from 1.21.0 to 1.22.0 today, any curl command hang indefinitely. For example:
Using --verbose doesn't display anything. I'm only seeing the curl process using a noticeable amount of my CPU.
I tried to re-emerge net-misc/curl and rebooting my system, but it doesn't make any difference.
Code: | $ eix -cI net-misc/curl
[I] net-misc/curl (8.4.0@11/15/2023): A Client that groks URLs
|
any Code: | $ git fetch
$ git pull | command is also hanging as I'm using the curl USE flag for dev-vcs/git.
Downgrading to net-dns/c-ares 1.21.0 immediately solves the issue without any further intervention.
Just wondering if someone's also having the same issue, it might be worth opening a bug in this case.
Last edited by eeckwrk99 on Thu Nov 16, 2023 6:15 pm; edited 1 time in total |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2892
|
Posted: Wed Nov 15, 2023 6:20 pm Post subject: |
|
|
I'm using c-ares-1.22.0 and curl-8.4.0[adns] and not having issues with curl myself (that command works, git[curl] is same as usual too).
Are you using any uncommon C(XX)FLAGS? Could potentially be triggering undefined behaviour issues in that particular version. Don't have a whole lot of ideas for possible causes (also don't see anything that sounds related on c-ares nor curl bug tracker so far, albeit 1.22.0 release is pretty recent). |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 243 Location: Gentoo forums
|
Posted: Wed Nov 15, 2023 7:18 pm Post subject: |
|
|
Ionen wrote: | Are you using any uncommon C(XX)FLAGS? Could potentially be triggering undefined behaviour issues in that particular version. |
No, I'm not:
Code: | # /etc/portage/make.conf
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
|
lonen wrote: | Don't have a whole lot of ideas for possible causes (also don't see anything that sounds related on c-ares nor curl bug tracker so far, albeit 1.22.0 release is pretty recent). |
I checked both GitHub repositories too prior to creating this thread but couldn't find anything relevant either. I'll stick with 1.21.0 for now.
I'll see if that also occurs on my Arch Linux install, 1.22.0 hasn't made it to the Arch repos yet, even in [extra-testing]. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2892
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23059
|
Posted: Thu Nov 16, 2023 12:02 am Post subject: |
|
|
For someone who can reproduce this, identifying in what function c-ares is spinning would be a useful next step. Debug symbols will likely be required for this to be meaningful. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 243 Location: Gentoo forums
|
Posted: Thu Nov 16, 2023 1:16 pm Post subject: |
|
|
Thanks, this is exactly the same issue indeed. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 243 Location: Gentoo forums
|
Posted: Thu Nov 16, 2023 6:14 pm Post subject: |
|
|
Fixed upstream with this commit.
I applied the patch and rebuilt net-dns/c-ares-1.22.0, all good now. |
|
Back to top |
|
|
|