[ggo-discussion] Re: A minor bug on OS X
- From: Peter Strempel <zotan@xxxxxx>
- To: ggo-discussion@xxxxxxxxxxxxx
- Date: Tue, 11 Feb 2003 07:32:18 +0100
On Mon, Feb 10, 2003 at 05:06:55PM -0800, Richard wrote:
> When you first observe a (19x19) game, the yellow board
> color covers something more like a 13x13. Unobing that instance of
> the game and reobing a new instance, the color correctly covers the
> entire board. Subsequently there are no problems with the coloring
> (until the inevitable choking and stalling that occurs after a few
> hours.)
I know about this problem. I got some screenshots with the wrecked board
from another OS X user some weeks ago. He also sent me the error log, so I
could see where the error occurs. I investigated a little and asked my
friend Google. This is a bug in the Apple Java virtual machine, to be exact,
in the image resize code. When the board window is created, the kaya board
image needs to be rescaled to the proper size. I use a standard rendering
method from the Graphics2D package for this. Nothing exotic, so one might
assume this should work. Unfortunately this part of code has a bug in the
Apple JVM. As far as I understood it, there is nothing I can do about it.
The only fix would be to use another rendering method from the old Graphics
package, but the image quality would suffer significantly. If you know the
first qGo/Java releases version 0.0.1 to 0.0.8, their board image code used
this low quality rendering and are of much inferior quality. So this is no
real option.
What I do not understand: Why it only happens randomly. From what I was told
from other OS X users, the problem occurs quite rare and they could not
figure out a trigger for the effect. The JVM bug is a floating operating
problem, so I suppose it only occurs on certain board sizes. But this is
just a guess...
So I guess you need to wait and hope the OS X JRE 1.4 release will fix it -
if it ever happens. Any news from the OS X Java front?
Peter
- Follow-Ups:
- [ggo-discussion] Re: A minor bug on OS X
- From: Richard
- References:
- [ggo-discussion] Re: gGo, OSS, netlag and cheating
- From: Matthew Rohn
- [ggo-discussion] A minor bug on OS X
- From: Richard
Other related posts:
- » [ggo-discussion] A minor bug on OS X
- » [ggo-discussion] Re: A minor bug on OS X
- » [ggo-discussion] Re: A minor bug on OS X
- » [ggo-discussion] Re: A minor bug on OS X
- » [ggo-discussion] Re: A minor bug on OS X
- [ggo-discussion] Re: A minor bug on OS X
- From: Richard
- [ggo-discussion] Re: gGo, OSS, netlag and cheating
- From: Matthew Rohn
- [ggo-discussion] A minor bug on OS X
- From: Richard