This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-05-16 22:49:26

Shrimpster
Scratcher
Registered: 2007-05-16
Posts: 3

Overflow bug

Seems that Scratch doesn't have a catch for overflows...

4 lines, essentially just a loop with x+= x^x each time... kill time is usually about 2-3 seconds. Sometimes it brings up the debug window, other times it just kills Scatch, others it freezes the computer, but I kind of expected Scratch to catch this one.

http://scratch.mit.edu/projects/Shrimpster/3669

The embedded java has a catch for it to prevent it from going evil, but downloading the program and running it will kill Scratch.

-Chris

Offline

 

#2 2007-05-17 09:14:02

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Overflow bug

Thanks for reporting this bug. Let us know if you find any others.

  -- John

Offline

 

#3 2007-05-17 15:41:17

rszrama
Scratcher
Registered: 2007-05-15
Posts: 25

Re: Overflow bug

Shrimpster wrote:

I kind of expected Scratch to catch this one.

Sometimes bugs just show up, whether you want them or not.  You write a lot of code and something will slip through the cracks.  It doesn't reflect on the project or even the quality of the coders.  smile

Offline

 

Board footer