Bug#357830: classpath: deadlock in image drawing code
mark at klomp.org
Mon Mar 20 15:29:44 UTC 2006
On Sun, 2006-03-19 at 20:18 +0100, Petter Reinholdtsen wrote:
> As reported in bug #348504, classpath can sometimes deadlock when
> image drawing is done in parallel with other graphics operations.
> This was discovered when testing worldwind2d with cacao.
> Mark Wielaard had a look at this problem and proposed a patch that is
> available from
> Please apply this to the next upload of classpath. I tested this
> patch, and it fixed the deadlock.
That patch is now committed to GNU Classpath cvs.
But since key events aren't fully working yet you will want to have a
scroll wheel mouse and also the following patch installed:
> Now cacao get as far as drawing some of the window before reporting
> this error. Had to use '-Xmx200M' to avoid OOM exceptions.
I used -Xmx750M :)
> WW2D 0.99.87 by Vitaliy Pronkin <pronvit at gmail.com> starting...
> The program '.' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'GLXBadRenderRequest'.
> (Details: serial 266 error_code 164 request_code 145 minor_code 1)
> (Note to programmers: normally, X errors are reported
> asynchronously; that is, you will receive the error a while after
> causing it. To debug your program, run it with the --sync
> command line option to change this behavior. You can then get a
> meaningful backtrace from your debugger if you break on the
> gdk_x_error() function.)
> This error might be related to the fact that I run ww2d across an ssh
> X tunnel.
That is worrying. That might mean that we have a timing related
drawing/locking bug where multiple thread do try to access X at the same
time. Or there is some bug which makes GLX detection go bonkers when
done over the ssh wire.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20060320/ab422331/attachment.pgp
More information about the pkg-java-maintainers