curl-library
Re: Curl_compareheader SIGSEGV
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 7 Mar 2003 10:10:34 +0100 (CET)
Date: Fri, 7 Mar 2003 10:10:34 +0100 (CET)
On Fri, 7 Mar 2003, jose wrote:
> I get a segmentation fault reading pages from a local Apache 2 server
>
> The stack is:
>
> 1. strncasecmp
> 2. curl_strnequal
> 3. Curl_compareheader
>
> Any ideas of what causes this ? I don't get this error when fetching the
> same pages from an Apache 1.3 server over the network.
Show us the stack strace. Check out the fram in (3) and see what the local
variables are like and what pointers that are being passed to the (2)
function and then onto the (1)...
Also, can you provide us with source to an app that reproduces this problem?
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.comReceived on 2003-03-07