curl-library
Re: Stack smashed when linked with pthreads
Date: Fri, 28 Jul 2006 17:23:28 -0500
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?
Thanks for your help,
Marshall
Daniel Stenberg wrote:
> On Fri, 28 Jul 2006, Marshall Crocker wrote:
>
>> Hmm...that may be it. I'm not exactly sure of my stack size but I am
>> using the linux-tiny patches for the 2.6 kernel which may very well
>> reduce the size below the default 8K. I assume 8K would be big
>> enough to handle curl and pthreads right?
>
> If it does not, I expect that we should/could fix things to make it pass.
>
Received on 2006-07-29