cURL / Mailing Lists / curl-library / Single Mail


Re: crash of libcurl on FreeBSD 6.0

From: GOD GOD <>
Date: Mon, 15 May 2006 21:04:20 +0800 (CST)

sorry, to have a clear view of this programme.
  please try wrote:
On May 15, 2006, at 7:07 AM, GOD GOD wrote:

> I have tried to write a programme based on libcurl to regularly
> retrieve a HTTPS web page. This programme sleeps regular at night
> time, and wake up at 8 sharp morning.
> The programme i completed works well on Redhat Linux 9.0. When i
> tried to port to FreeBSD 6.0 . I found the programme crashes, when
> waking up. I have tried to locate the bugs to
> this line "curl_easy_perform(SomeCurlHandle);"
> Is this an OS related problem?
> What i guess, upon the problem, is FreeBSD regularly clean up the
> socket resource, which happens to touch the data struct of the curl
> handle, becuase the programme sleeps for 8 hours. This does not
> cause a problem on Red Hat Linux, and it does happen on FreeBSD.
> When the programme (on FreeBSD) gets back to run again, the data
> structure is ruined. It Crashes.
> Can anyone help me to figure out? I have already tried to GOOGLE,
> no much information out.

Post your code. No one can help you based on what you've written
above. Also, tell us what version of libcurl you are using.

Do you Yahoo!?
 Yahoo! Movies - Search movie info and celeb profiles and photos.
Received on 2006-05-15