cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl_global_init chrashes when used with dmalloc

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 8 Dec 2002 13:17:23 +0100 (MET)

On Sun, 8 Dec 2002, admir efendic wrote:

> I have compiled curl-7.10.2, and added "--with-dmalloc" in configure options.
> I have dmalloc-4.8.2-r1 installed on gentoo-1.4_rc1, gcc-3.2
>
> DMALLOC_OPTIONS='debug=0x4e40503,inter=100,lockon=10,log=dmalloc.log'
> (debug = low)
>
> I have linked my program with -ldmalocth as last library, and i have
> included dmalloc.h as last header in my files.
>
> now I know I might as well post this to dmalloc mailing list, but I
> wondered if anyone had any ideas here as well...

What does a stack trace of the crash show? If you check out the
curl_global_init function, you'll see that it does very little. As you're
using Linux, all it does is initializing OpenSSL if you built it with SSL
enabled.

I have very little experience with dmalloc.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-08