cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stack smashed when linked with pthreads

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 28 Jul 2006 15:55:43 -0700

On Fri, Jul 28, 2006 at 05:23:28PM -0500, Marshall Crocker wrote:
> From what I can tell, I am using the default 8K stacks. One of the
> patches I include adds the option for 4K stacks but it's not selected.
> The problem may have to do with the way uClibc implements pthreads.
> Maybe it uses more of the stack than glibc?
>
> 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?

I thought you were talking about 8K application stacks using some kind of
RTOS. I wouldn't expect the size of kernel stacks to affect your app.
To which stack is the message "stack smashing detected" referring? I thought
the app stack.

>>> Dan

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