[vox-tech] cygwin - segfault on array allocation

Bill Kendrick nbs at sonic.net
Wed Feb 8 14:40:43 PST 2006


On Wed, Feb 08, 2006 at 04:34:25PM -0500, Peter Jay Salzman wrote:
> Yeah, actually matt's suggestion worked.  I used:
> 
>    double *d = new double[N];
> 
> to allocate my arrays and it worked fine.  I never bumped against a stack
> size limit before.  the stack size limit as reported by ulimit is 2MB.  That
> seems pretty restrictive.

Feh!  Try cellphones! ;)

-bill!
(who recently had to move some stack stuff to heap on a game that worked
on every _other_ handset we tested on... til we hit one of the crappier
ones with a miniscule stack size)

PS - congrats on the job :)


More information about the vox-tech mailing list