cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Possible libcurl bugs

From: Peter Soxberger <Peter.Soxberger_at_gmx.net>
Date: Mon, 21 Sep 2009 17:20:43 +0200

This could indeed be the problem!

I really admire such a great knowhow :)

Thanks!

-------- Original-Nachricht --------
> Datum: Sat, 19 Sep 2009 10:23:26 -0700
> Von: Joshua Kwan <jkwan_at_vmware.com>
> An: libcurl development <curl-library_at_cool.haxx.se>
> Betreff: Re: Possible libcurl bugs

> Hey Peter,
>
> On 9/19/09 02:37, "Peter Soxberger" <Peter.Soxberger_at_gmx.net> wrote:
> > 1) If I use fopen() before calling
> > curl_easy_setopt(easyhandle,CURLOPT_PASSWORD,password); I always get a
> crash.
> > Ok, the workaround is easy because I only have to place the fopen()
> after the
> > mentioned line.
> >
> > 2) If I use CURLOPT_VERBOSE with the ftp upload function, libcurl always
> tries
> > to write at position 0x00000000 => application crashes
> > I found no working workaround!
> > When downloading a file from an ftp server I can use CURLOPT_VERBOSE
> without
> > any problems...
>
> These generally sound like problems relating to mismatched CRT libraries.
> e.g. your binary proper is compiled with the release CRT msvcrxx.dll but
> libcurl is compiled with the debug CRT msvcrxxd.dll, or vice versa.
> Failures
> in functions related to writing files are generally indicative of this.
>
> You can visualize the dependency by compiling a binary and dragging it
> into
> Dependency Walker: http://www.dependencywalker.com/
>
> HTH
> -Josh

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Received on 2009-09-21