problem with glcanvas

Hi all!
    i'm developing a 3d interactive geometry tool. I have implemented
a glcanvas in mmy frame and i can display a cube, as in the example
but i have a strange problem.

First time i run the application everiything is ok. second time
before the main frame (that contains the glcanvas) X freeze and i
can't get control.... the only thing i can do is to power off my linux
box :expressionless:

what i'm missing?
thanks,
   nelson

nelson - wrote:

Hi all!
   i'm developing a 3d interactive geometry tool. I have implemented
a glcanvas in mmy frame and i can display a cube, as in the example
but i have a strange problem.

First time i run the application everiything is ok. second time
before the main frame (that contains the glcanvas) X freeze and i
can't get control.... the only thing i can do is to power off my linux
box :expressionless:

It may not be totally frozen, it could be that the mouse is captured and unable to interact with any other app. Try changing to screen 1 (Ctrl-Alt-F1) and kill the process for your app, then switch back to X with Ctrl-Alt-F7.)

what i'm missing?

If the above works then there is probably some place that the mouse is captured but not released, perhaps because of some exception being raised.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

It may not be totally frozen, it could be that the mouse is captured and
unable to interact with any other app. Try changing to screen 1
(Ctrl-Alt-F1) and kill the process for your app, then switch back to X
with Ctrl-Alt-F7.)

no no nothing works... keyboard frozen, mouse ffrozen (and only second
tima i run the application....)

nelson