Bug#357830: classpath: deadlock in image drawing code
Petter Reinholdtsen
pere at hungry.com
Sun Mar 19 19:18:57 UTC 2006
Package: classpath
Version: 0.90-1
Tags: patch
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
<URL:http://article.gmane.org/gmane.comp.java.classpath.patches/7660>.
Please apply this to the next upload of classpath. I tested this
patch, and it fixed the deadlock.
Now cacao get as far as drawing some of the window before reporting
this error. Had to use '-Xmx200M' to avoid OOM exceptions.
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.
Anyway, the proposed patch solves the deadlock issue.
Friendly,
--
Petter Reinholdtsen
More information about the pkg-java-maintainers
mailing list