Error removing GLCanvas from JPanel

Hi, I’m getting an error sometimes when I try to remove a GLCanvas from a JPanel. I get

Xlib: unexpected async reply (sequence 0x109a)!

sometimes and when it hangs I can’t kill the program with Ctrl^C, only with kill -9 pid.

I’m uisng the latest jogl for linux platform and ATI 9800 Pro driver 3.11. Has anybody experienced the same. I’m wondering what is the correct sequence to remove a canvas from a JPanel, should I make it hidden first, etc.

Can anybody tell me or point me where to go and find the answer.

Thanks

John

In theory the current JOGL sources should support this; aside from perhaps trying to make sure that nobody is currently rendering into the GLCanvas, no special treatment should be required. Do you have a small test case that shows the problem? If so, could you please file a bug with the Issue Tracker on the JOGL home page?