Problem(s) with Squeak3.2gamma-4743

Andreas Raab Andreas.Raab at gmx.de
Tue Mar 5 15:16:32 UTC 2002


Lex,

> Yuck!  You mean you grab the border of the window and then drag it
> around a lot, and eventually you get a core dump?
> 
> I can't duplicate this here, which makes it hard to debug.  
> Possibly the above fix will help this, too, though, so please
> test that too if you get around to it!
> 
> Speeking vaguely, it looks like different parts of Squeak 
> seem to disagree on the size of the window.  If the above fix
> doesn't also make this problem go away, then this problem could
> be really tricky to track down....

FWIW, I've had the same problem in the early days of the Windows VM. The
place to look at is in ioShowDisplay where it should check that the
affected region is within the display bounds, e.g., the following fixed
the problem for me:

  /* Careful here: 
     After resizing the main window the affected area can
     be larger than the area covered by the display bits ... */
  if (affectedR > width) affectedR= width;
  if (affectedB > height) affectedB= height;
  /* ... and don't forget left and top - else reverse_image_* will crash
*/
  if (affectedL > width) affectedL= width;
  if (affectedT > height) affectedT= height;

Hope this helps,
  - Andreas





More information about the Squeak-dev mailing list