gl.gen_textures(n) causes system crash

Erik De Rijcke derijcke.erik at gmail.com
Thu Mar 26 11:30:05 PDT 2009


I forgot to mention this is an Escher problem, but that should be obvious of
course :)

On Thu, Mar 26, 2009 at 6:45 PM, Erik De Rijcke <derijcke.erik at gmail.com>wrote:

> Hi,
>
> Calling the method gen_textures(n) from the GL class blocks when tried on a
> nested X server like Xephyr or makes my system crash on a native X server
> (with fglrx drivers).
>
> Upon closer inspection (tried with Xephyr) the blocking seems to occur when
> trying to access the responceInputStream.
>
>     public int[] gen_textures(int n) {
>
>         RequestOutputStream o = display.out;
>         int[] textures;
>         synchronized (o) {
>             o.begin_request(glx.major_opcode, 145, 3);
>             o.write_int32(tag);
>             o.write_int32(n);
>             ResponseInputStream in = display.in;
>             synchronized (in) {
>                * in.skip(32);*
>                 textures = new int[n];
>                 for (int i = 0; i < n; i++)
>                     textures[i] = *in.read_int32()*;
>             }
>         }
>         return textures;
>     }
>
> So probably a problematic request has been sent to the server.
> I'm not sure if this is causes by my fgrlx drivers or a mistake I made
> (drawing simple colored figures works just fine), I'll see if it works with
> the 'ati' driver.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20090326/4c787ea2/attachment.html 


More information about the caciocavallo-dev mailing list