Re: repeat() crash
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 27, 2003
- 343 views
Robert Elia wrote: > Has anyone ever seen this before? > > sequence s > > s = repeat(0,1073741823) > > I get a machine exception from ex.exe and exw.exe; If you try smaller or larger values you'll get a normal error message. You've hit on a number that causes C overflow problems when I call C's malloc(), leading to a machine-level exception. You should still get a Euphoria ex.err file. I'll add a test for this and give you a better message. > With ex.exe on XP, I didn't even get a Causeway error; > it just stopped running and returned to the command line. That seems to be typical for CauseWay errors on XP for DOS. Not much I can do, short of going into the CauseWay open source. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com