cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stack smashed when linked with pthreads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 29 Jul 2006 00:29:35 +0200 (CEST)

On Fri, 28 Jul 2006, Marshall Crocker wrote:

> Maybe I could try reducing curl's stack. I'm only using curl for sending an
> http request so I could disable ftp, ssl, telnet, etc.. if you think that
> would help?

Hardly, since if you don't use those protocols and functions, you won't use
the stack space they might want either.

I think you might need to bite the bullet and actually run a debugger and see
what, where and why it crashes... Or possibly you could try valgrind on it (if
this is x86 based).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-29