I am trying to run an application which uses the ROOT libraries and some other code which makes explicit calls to the X server. To be specific, the ROOT libs are used to build a nice GUI with a number of controls (sliders, buttons, etc), and the other code produces a scrolling plot by using directly functions like XCopyArea, etc. The scrolling plot is inside the GUI window, and it is updated using a TTimer object. Everything works very well when I leave the code running without touching any of the control widgets. When I start playing with the sliders and buttons, however, it doesn't take long that the application gets trap into an infinite loop (CPU usage jumps to 100%, and sometimes my display 'freezes' until I kill the application). While the application is frozen, if I attach gdb to the process, it tells me that the code is stuck in _XFlushInt(). I never call XFlush explicitely. It seems that there is a weird interaction between how ROOT handles its control widgets and how my Xlib based objects gets updated. Any ideas/suggestions about that? Thanks, Julien. ----------------------++---------------------- Julien Sylvestre email: julien@ligo.mit.edu phone: 617-253-7878 URL: web.mit.edu/julien/www
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:26 MEST