curl-library
Re: segfault in ConnectionKillOne
Date: Mon, 20 Sep 2004 15:22:14 -0700
> The easy handle is re-used once and then closed?
It's used and closed (and not reused/shared after that) within each 
get/put function, but the get/puts can be called N times.
> Since you said in another mail that you run this on Linux, can you try 
> using valgrind when running your program to see if you learn something 
> more?
valgrind won't analyze it because of some old RPC code we use.  I tried 
to use Purify, but IBM's site is having issues with the sample install 
file today, and our site's copy isn't installed.
> This problem indicates a memory problem somewhere else, as the 'conn' 
> pointer is simply fetched from an array and this code has worked fine 
> for a very long time with no failures.
Right.  And even better is that if I compile curl with --enable-debug, 
everything works fine.
> What "apache output" are you referring to? You can use options and 
> callbacks to take care of all data and headers.
When you put a file via webdav, the html you get back saying that 
apache successfully created the resource which is getting piped to 
stdout.
However, I now think that our build/install was just a bit funky (as 
for why it worked fine for most people for months, I have no clue), as 
I tried recompiling/re-installing libcurl, and then everything works 
fine for me locally (both in debug/non-debug builds).  I love computers 
:)
Thanks,
Josh
--- Josh Anon Studio Tools, Pixar Animation Studios josha_at_pixar.comReceived on 2004-09-21