[ROOT] Re: [ROOTDEV] RootX11ErrorHandle : Bad Access (PR#2356)

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Fri Aug 27 2004 - 11:59:49 MEST


 Hi,
the problem is caused by sawfish window manager.
It has arrow keys shortcuts, e.g  Shift-Alt-Right_Arrow etc. to navigate between descktops
These key bindings performed on each top level window at its creation time.
So, if user's program has calls TGFrame::BindKey(arrow_key, any_modifier)  that
conflicts with sawfish shortcuts. There are two solutions:

1. disable/remove sawfish shortcuts which are using arrow keys. Can be done via 
    control panel or by editting ~/.sawfish/custom 
2. use TGFrame::BindKey(arrow_key, 0) /no modifier  instead of 
          TGFrame::BindKey(arrow_key, any_modifier)  

Regards. Valeriy  



> Hi Mike,
> the problem with freezing menus under Gnome is fixed. 
> However the problem with Gnome is more general and we are looking solution.
> 
> Regards. Valeriy
> 
> > Hi,
> > 
> > > Hi Mike,
> > > you can use development version. 
> > 
> > So the problem has been fixed?  Rene's original message made it appear as 
> > if the problem was still outstanding.
> > 
> > mike
> > 
> > > 
> > > Regards. Valeriy
> > > 
> > > > Hi,
> > > > 
> > > > > We had a few reports of similar problems with people working under 
> > > > > Gnome.
> > > > > If this is your case could you work with KDE instead?
> > > > > We are trying to understand the problem with Gnome.
> > > > 
> > > > KDE, Yikes!  I'm afraid I don't have it installed...  I'll have to ask
> > > > someone more experienced with linux guts. Clearly there are some kde
> > > > libraries on my machine but I don't think I installed the full window
> > > > manager.  I can try to install it of course.
> > > > 
> > > >  Would you be able to say approximately when the trouble started?  I could
> > > > go back to 4.00.6, the only problem being that I'm using a few of the new
> > > > features (such as TF1::Mean() which works properly in 4.00.08).
> > > > 
> > > > mike
> > > > 
> > > > > 
> > > > > Rene
> > > > > 
> > > > > On Fri, 23 Jul 2004 
> > > > > kordosky@mail.hep.utexas.edu wrote:
> > > > > 
> > > > > > Full_Name: Mike Kordosky
> > > > > > Version: 4.00.8
> > > > > > Hardware: pc
> > > > > > OS: linux rh 7.3
> > > > > > Severity: critical
> > > > > > Reproducable: always
> > > > > > Submission from: (NULL) (128.83.149.81)
> > > > > > 
> > > > > > 
> > > > > > It doesn't exactly crash my system - just X windows.
> > > > > > 
> > > > > > I upgraded to 4.00.08 the other day (July 11) and I now get a horrible error
> > > > > > that crashes X whenever I access one of the pull-down menus.  I haven't
> > > > > > exhastively checked each pulldown but "Options" certainly causes a crash. The
> > > > > > error is:
> > > > > > 
> > > > > > Error in <RootX11ErrorHandler>: Bad Access (attempt to access private resource
> > > > > > denied) XID: 37748790 XREQ: 33
> > > > > > 
> > > > > > (I read this from my dead xsession and copied to paper but I think I got it down
> > > > > > right.)
> > > > > > 
> > > > > > This error most certainly wasn't present in previous versions. I built root by
> > > > > > hand in my usual way (just ./configure linux) from the source tarball at:
> > > > > > 
> > > > > > http://root.cern.ch/root/Version400.html
> > > > > > 
> > > > > > Possibly I grabbed a version of 4.00.08 before it was completely ready (I built
> > > > > > on July 11 and it looks like the version was announced on July 12). If there was
> > > > > > some late X-windows related insert please let me know.  My xwindows version
> > > > > > hasn't changed in ages.  I suppose that this is somehow fairly local to my
> > > > > > system as I haven't seen anyone else report it.  If you could suggest
> > > > > > workarounds I'd really be grateful.
> > > > > > 
> > > > > > 
> > > > > 
> > > > 
> > > > -- 
> > > > Graduate Research Assistant  // High Energy Physics Lab
> > > > kordosky@hep.utexas.edu     // University of Texas at Austin
> > > > kordosky@fnal.gov    //
> > > > ph: (512) 471-8426 (RLM Lab, Office)
> > > >     (512) 475-8673 (ENS Lab)
> > > > 
> > > > 
> > > > 
> > > 
> > 
> > -- 
> > Graduate Research Assistant  // High Energy Physics Lab
> > kordosky@hep.utexas.edu     // University of Texas at Austin
> > kordosky@fnal.gov    //
> > ph: (512) 471-8426 (RLM Lab, Office)
> >     (512) 475-8673 (ENS Lab)
> > 
> > 
> > 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET