1. repeat() crash

--=======2C177438=======

Hello all,

	Has anyone ever seen this before?

		sequence s

		s = repeat(0,1073741823)

	I get a machine exception from ex.exe and exw.exe; With ex.exe on XP, I 
didn't even get a Causeway error; it just stopped running and returned to 
the command line.  I haven't tried it with other large values.

	This isn't a contrived example; I had initialized an integer var to 
"high-values" and my logic was bad.

		Bob

--=======2C177438=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert;
x-avg-checked=avg-ok-2B1D712E
Content-Disposition: inline


---

--=======2C177438=======--

new topic     » topic index » view message » categorize

2. Re: repeat() crash

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: repeat() crash

Robert Craig wrote:

>  > 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.

I have no XP to try that, but maybe 3.49 version (last at all) 
of CauseWay is better than 3.45 for XP ?

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

4. Re: repeat() crash

--=======3C5723CF=======

At 09:51 PM 9/27/03 +0400, Igor wrote:

>
>
>Robert Craig wrote:
>
> >  > 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.
>
>I have no XP to try that, but maybe 3.49 version (last at all)
>of CauseWay is better than 3.45 for XP ?
>
>Regards,
>Igor Kachan
>kinz at peterlink.ru

         Thanks for the suggestion, Igor.

                 Bob
                 

--=======3C5723CF=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert;
x-avg-checked=avg-ok-459E6DDC
Content-Disposition: inline


---

--=======3C5723CF=======--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu