[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is this a bug?
From: |
Eli Zaretskii |
Subject: |
Re: is this a bug? |
Date: |
Fri, 04 Dec 2009 21:28:25 +0200 |
> From: "Mark Galeck (CW)" <address@hidden>
> Date: Fri, 4 Dec 2009 11:22:37 -0800
> Accept-Language: en-US
> acceptlanguage: en-US
>
> >If you're then passing that wildcard list to a program, you could very well
> >be exceeding the maximum argument length limit of your shell.
>
>
> No, I isolated this so there is nothing else, only
> foobar: \
> $(wildcard \
> <file path> \
> <file path> \
> (... 50000 file paths, average 100 characters each)
> <file path>\
> )
>
> And then
>
> >make foobar
>
> produces
>
> >make.exe -r foobar
> make.exe: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)
Probably we use alloca, and this blows up the stack. 50K file names
100 characters each is about 0.5MB.