cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stack smashed when linked with pthreads

From: Marshall Crocker <marshall_at_iconux.org>
Date: Fri, 28 Jul 2006 17:46:01 -0500

This is indeed an x86 based system and I was in the process of building
valgrind for my system so I'll try that first. Running a debugger is
going to be difficult for reasons I won't get into here. I'll see what
valgrind turns up and report back.

Marshall

Daniel Stenberg wrote:
> 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).
>
Received on 2006-07-29