[Buildbot-devel] Windows Problem with FileUpload

Darrin Thompson darrinth at gmail.com
Mon Mar 26 00:38:40 UTC 2007


On 3/25/07, Brian Warner <warner-buildbot at lothar.com> wrote:
> > I did some deep digging the other day. The "invisible" exception
> > thrown on large files and small block sizes appears to be a stack
> > overflow. So maybe you are massaging the deffered chain wrong?
>
> Hmm, that's a good lead. I'll look at the code and see if there is an error
> path that could result in infinite recursion of some sort.
>

Well, assuming I'm right about the stack overflow, I don't think it's
an error path, as increasing the block size fixes it. Are you really
sure we are generating the deffereds right? It looks to me like the
stack overflows when the chain gets too long, indicating that we're
doing something subtly wrong when we "schedule" the next read, causing
the eventual overflow.

But I'm a n00b at deferreds, so disregard if I'm an idiot. If I was
more sure I'd be posting a patch. :-)

--
Darrin




More information about the devel mailing list