On Tue, Nov 04, 2014 at 03:09:46PM -0800, David J Ryan wrote:
> I have a multi-threaded application that appears to have no problem FTPing
> files to a large number of QNX boxes however I am getting a segmentation fault
> that appears to show the following call stack. I'm not sure how to handle 
> this.
> I'm not sure why it is calling resolve_server when I'm passing in IP 
> addresses.
> 
> addbyter(0x6e, 0xfd4aaeac, 0xfd4aa048, 0x4000, 0x0, 0x6e)
> dprintf_format(0xfd4aaeac, 0x30, 0xfed95112, 0x14800, 0xfffeb4f0, 0x3c284)
> curl_mvsnprintf(0xfffc3d28, 0x4000, 0xfed95c2c,0xfd4aaf64, 0x3c000,0xfedae000)
> Curl_failf(0xfedae000,0xfed95c2c,0x0,0x0,0x0,0x0)
> Curl_resolv_timeout(0x0,0xfedae000, 0xfedae000, 0xfd4ab0d0,0xffffffff,0x0)
> resolve_server(0x194fa8,0x2130d8,0xfd4ab0c4,0x6,0x212da8,0x2130d8)

What resolver are you using?  Some systems don't take well to the default
resolver handling of timeouts, which are based on alarm signals and cause the
main code to run within the context of the signal handler itself. If you're
using the default resolver, try the threaded one instead, or c-ares.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to