cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl crash on curl_global_init for LG

From: Prashant Rathi <prashant.8579_at_gmail.com>
Date: Tue, 27 Sep 2011 15:40:23 +0400

Hi Daneil,

I built libcurl.a using android.mk (available under curl source
7.21.7) and some more info from the net. Along with this I built
libssl.so and libcrypto.so
I am using NDK to call libcurl calls from my Android application to
make secure communication with server.

My application works fine for some models of Android phones like: HTC
Desire/HTC Sense/Samsung Galaxy Tab/Nexus etc.

On the other side it crashes on some Android phones at my first call
to native code i.e curl_global_init(CURL_GLOBAL_SSL) like: HTC Legend/
HTC wildfire/ LG P503.

PFA crash log.

Since log is having message for libcrypto.so. So I tries to call
curl_global_init(CURL_GLOBAL_NOTHING) also. But even then it crashes
on the devices mentioned above.

Please suggest what could be wrong.

Regards
Prashant

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

Received on 2011-09-27