curl-library
Curl_resolv_timeout (), Curl_failf(), curl_mvsnprintf() segmentation fault
Date: Mon, 11 Jan 2010 17:20:28 +0530
Hi list,
I using curl 7.19.4 for an application on MAC OS X Snow Leopard.
Sometimes, I get a crash whose backtrace in gdb is as under:
0 libcurl.4.dylib 0x00788714 addbyter + 36
1 libcurl.4.dylib 0x00788881 dprintf_formatf + 289
2 libcurl.4.dylib 0x0078a207 curl_mvsnprintf + 55
3 libcurl.4.dylib 0x0077737f Curl_failf + 63
4 libcurl.4.dylib 0x0076e0e2 Curl_resolv_timeout + 578
On searching the list, I found that I need to compile cURL with c-ares enabled.
But c-ares requires "clock_gettime()" from "librt" library.
So I get "error: c-ares library defective or too old"
But "librt" is not there for MAC OSX.
The version of c-ares is 1.7.0
Please help me in this regard.
Thanks,
Dhruva
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-11