cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link issues on Mac OS X

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 16 Sep 2008 13:20:06 -0700

On Tue, Sep 16, 2008 at 12:47:57PM -0700, Ramesh Nagul wrote:
> I was able to link to the library ok, but when I call
> curl_global_init(CURL_GLOBAL_ALL) it crashes on my system. Why would it
> crash?

A likely cause is a mismatched library, or the calling it when it's not
allowed (read the fine print in the man page about that).

> This is the message I get GDB: Program received signal: "EXC_BAD_ACCESS"

Try getting a stack backtrace when running under gdb. That will help you
isolate what part of the init is failing.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-09-16