curl-library
crash in curl_easy_init
Date: Thu, 14 Dec 2006 14:01:34 +0100
Hi All,
I started using cURL on SunOS 5.8 with the example source getinmemory.c as
it is provided. Statically linked it works fine.
However, if I dinamically link the libcurl.so.4.0.0 into my application
together with other libraries and call the function (the same as in main()
in the above example source), there is a core dump generated during
curl_easy_init:
----------------- lwp# 1 / thread# 1 --------------------
fcaa5c28 Curl_open (1b, 0, 0, 0, 0, ffbeeea4) + 114
fcab2308 curl_easy_init (0, 0, 0, 0, 0, 0) + 44
fca1e570 curltest (ffbeefa8, fca52660, fca52648, 4f, 0, 12b864) + 30
The curl_global_init() completes, the crash occurs in the
curl_handle = curl_easy_init();
line.
Any ideas what goes wrong?
Many thanks,
Zoltan
Received on 2006-12-14