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 | ||||
Reporter | wiz | View Status | public | ||||||
Assigned To | ned | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000478: warpbit bug invoked by simple etoy program | ||||||||
Description |
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. |
||||||||
Additional Information |
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. |
||||||||
Attached Files |
![]() ![]() |
||||||||
|
![]() |
|
(0000569 - 21 - 21 - 21 - 121 - 121 - 121) wiz 10-31-04 21:12 |
See also bug 0000457 |
(0000594 - 60 - 66 - 66 - 66 - 66 - 66) ned 11-03-04 20:10 |
Attached CS guards Morph>>position: and avoids this problem. |
(0000623 - 29 - 29 - 29 - 29 - 29 - 29) MarcusDenker 11-08-04 23:34 |
added as 6357CoordGuard-nk.cs |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
56 total queries executed. 38 unique queries executed. |