|Anonymous | Login||01-24-2021 22:52 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000478||[Squeak] Kernel||major||always||10-31-04 21:07||11-08-04 23:34|
|Summary||0000478: warpbit bug invoked by simple etoy program|
Get a rectangle. Get a viewer.
Create a one line script.
rectangle's left := rectangle's left + 1 / 2.
Executing the script will throw squeak into the emergency evaluator.
Warp bit chokes on the fractional co-ordinate created.
And of course it chokes again when trying to display the invalid rectangle. (that is where the emergency evaluator gets invoked as an error recovery error.)
The bug won't happen if script
rectangle's x := rectangle's x + 1 / 2.
is run first because that will change the coords to floats not integers. And once the numbers are floats warpbit can proceed.
The first encounter of the difficulty is handled by throwing up an error: error: warbit foobaz fraction etc. error box then the next attempt to display the screen throws up the emergency stuff.
So I suspect one part of the solution is to make invalid rectangle drawing a little more robust. In this case by insuring the coordinates are something simple e.g intergers or floats.
Also what is the story for etoy behavior should it let coords be forced to floats or kept integer?
The bug has been present all along and was still present in squeak3.7-5988 full.
mouseBuster.gif [^] (3,492 bytes) 10-31-04 21:07
CoordGuard-nk.1.cs [^] (1,004 bytes) 11-03-04 20:09
(0000569 - 21 - 21 - 21 - 121 - 121 - 121)
|See also bug 0000457|
(0000594 - 60 - 66 - 66 - 66 - 66 - 66)
|Attached CS guards Morph>>position: and avoids this problem.|
(0000623 - 29 - 29 - 29 - 29 - 29 - 29)
|added as 6357CoordGuard-nk.cs|
|10-31-04 21:07||wiz||New Issue|
|10-31-04 21:07||wiz||File Added: mouseBuster.gif|
|10-31-04 21:12||wiz||Note Added: 0000569|
|11-03-04 20:09||ned||Status||new => assigned|
|11-03-04 20:09||ned||Assigned To||=> ned|
|11-03-04 20:09||ned||File Added: CoordGuard-nk.1.cs|
|11-03-04 20:10||ned||Status||assigned => resolved|
|11-03-04 20:10||ned||Resolution||open => fixed|
|11-03-04 20:10||ned||Note Added: 0000594|
|11-08-04 23:34||MarcusDenker||Status||resolved => closed|
|11-08-04 23:34||MarcusDenker||Note Added: 0000623|
|03-28-09 01:06||wiz||Relationship added||child of 0007323|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
56 total queries executed.|
38 unique queries executed.