cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl for Android

From: Lucas Santos <lucas.santos_at_truetech.com.br>
Date: Mon, 8 Apr 2013 14:12:56 +0000

Hello all,

I'm an Android developer and nowadays I'm using libcurl (NDK) to make some posts to use some webservices of my platform.
But I faced a big problem: when the lib try to resolve the server name in the function curl_getaddrinfo_ex the application simply crashes. A segfault occurs.
Debugging my app, I can see that the problem occurs when this function calls getaddrinfo(), but when I call the same function (getaddrinfo) in another stack frame, this function works fine. It returns 0 and the addrinfo ** is correctly filled.

I'm trying to solve this problem since last week and without success. Do you have any idea about this problem ? I "googled" about it and some people has the same problem as you see in the link below:

http://curl.haxx.se/mail/lib-2007-09/0061.html

Thanks a lot.
Kind regards,

[Descrição: Descrição: Descrição: Descrição: Descrição: cid:image001.gif_at_01CAFB57.56E20520]

[Descrição: Descrição: Descrição: Descrição: Descrição: cid:image001.gif_at_01CAFB57.56E20520]

Lucas Santos

Software Developer

11 3040 5444
Fax: 3040 5449

[Descrição: Descrição: Descrição: Descrição: Descrição: cid:image002.png@01CAFCBC.03275140]<http://www.twitter.com/truetechmedia>

www.truetech.com.br<http://www.truetech.com.br/>

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

image001.gif
image002.png
image003.png
Received on 2013-04-08