cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gethostbyname_thread: Access Violation

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 30 Aug 2005 23:57:57 +0200 (CEST)

On Tue, 30 Aug 2005, prasanna vijapur wrote:

> I have a problem where the process hangs while trying to post data using
> libcurl. The stack trace of the thread shows the folllwoing.

> ff065994 lwp_park (0, 0, 0)
> ff06166c mutex_lock_queue (ff078b44, 0, 3c4628, ff078000, 0, 0) + 104
> ff06206c slow_lock (3c4628, fef00200, 34, 3c4400, 1000, 39a400) + 58
> 00308540 malloc (d, fed7b05c, 0, 7efefeff, 39a498, ff0000) + 48
> fefd4224 strdup (fed7b04c, fed7b04c, 100, fed7b23b, 430e5172, 8) + c
> 0020da00 Curl_store_ip_addr (419800, 4322c0, 419898, fed7b1c4, fed7b23b, 0) +
> 48

Hm. It gets stuck in strdup() ? You aren't mixing memory allocation libs/types
are you?

> Does this patch/fix for gethostbyname_thread:Access violation fix above
> problem. problem occurs on libcurl 7.14.0.

I don't think it does. But it certainly would be easy enough for you to just
get a daily snapshot and see if you still experience this problem!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-31