Messages in this thread | | | Subject | Re: PROBLEM: large auto variables cause segfault under 2.6 | From | Arjan van de Ven <> | Date | Tue, 05 Oct 2004 15:40:52 +0200 |
| |
On Tue, 2004-10-05 at 15:27, Andrei A. Voropaev wrote: > Declaring very large auto variables cause segfaults in the program under > 2.6 kernel. > > Take a look at this program. > > int main( int argc, char **argv ) > { > unsigned char bRet = 0; > > char tst[67123456]; > you have a stack variable that is several orders of magnitude bigger than the rlimit you have set for the stack I suspect. Try increasing the stack rlimit...
[unhandled content-type:application/pgp-signature] | |