cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1315 curl-7.34.0: hangs after hitting IPv6 address with no IPv6 available

From: Michał Górny <mgorny-gentoo_at_users.sf.net>
Date: Thu, 26 Dec 2013 09:11:50 +0000

Sure.

    $ curl -v bad12.haxx.se
    * Rebuilt URL to: bad12.haxx.se/
    * Hostname was NOT found in DNS cache
    * Adding handle: conn: 0x84fbb0
    * Adding handle: send: 0
    * Adding handle: recv: 0
    * Curl_addHandleToPipeline: length: 1
    * - Conn 0 (0x84fbb0) send_pipe: 1, recv_pipe: 0
    * Trying 2a00:1a28:1200:9::1...
    * Immediate connect fail for 2a00:1a28:1200:9::1: Sieć jest niedostępna
    * Trying 2a00:1a28:1:2010::1...
    * Immediate connect fail for 2a00:1a28:1:2010::1: Sieć jest niedostępna

After this, it hangs. The gdb stepping goes the same way as with my other example -- except for a different domain in the output :).

I can reproduce it with today's snapshot as well. Additionally, I can confirm that it doesn't happen when c-ares is disabled.

---
** [bugs:#1315] curl-7.34.0: hangs after hitting IPv6 address with no IPv6 available**
**Status:** open
**Created:** Tue Dec 24, 2013 04:00 PM UTC by Anthony G. Basile
**Last Updated:** Wed Dec 25, 2013 10:50 PM UTC
**Owner:** Bjorn Stenberg
This was hit on a gentoo system and the downstream report can be seen at

   https://bugs.gentoo.org/show_bug.cgi?id=495170


In brief, if curl 7.34.0 tries an ipv6 address when one isn't available, it falls into a loop and eats 100% cpu.  This issue is not reproduceable on 7.33.0.

Here we used c-ares-1.9.1, libidn-1.28, openssl-1.0.1e and zlib-1.2.8.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-12-26

These mail archives are generated by hypermail.

donate! Page updated December 19, 2013.
web site info

File upload with ASP.NET