Re: [ROOT] Error in <RootX11ErrorHandler>: BadAccess

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Apr 09 2002 - 10:34:31 MEST


Hi Patrick,  Iouri,

  in the error message XREQ=88 means the error was generated by a call
to FreeColors (see /usr/include/X11/Xproto.h). So colormap related.
Normally this should result in non-colored images in the GUI or in case
large custom pallettes are used. I've not seen a complete hang of the
terminal yet, but it could be possible, but I cannot reproduce it at the
moment.

Cheers, Fons.



On Tue, 2002-04-09 at 10:17, Chitov Iouri wrote:
> Hello Patrick,
> 
> I have this error then I try to use root simultaneously with some
> GUI-applications
> like netscape, acroread, wincenter... Last version of ROOT in this case give
> me
> such warnings:
> 
> Warning in <TGClient::GetColorByName>: couldn't retrieve color LightYellow.
> Please close any other application, like netscape, that might exhaust
> the colormap and start ROOT again
> Error in <TGClient::GetShadow>: couldn't allocate shadow color
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   3.03/03      5 April 2002   *
> 
> Also in this case ROOT picture showed during loading is unpainted.
> 
> Im my case working in this mode root crashes after any several calls of
> drawing routines, leaving exactly the message, you pointed. I would even
> report
> this problem, but then I discovered, that if I close GUI-applications and
> restart
> ROOT, everything works fine.
> 
> I'm surprised little bit, that problems with colormap leads to such a strong
> crash
> (after this error not only ROOT session, but also the terminal are dead).
> Maybe our
> ROOT experts find a moment to answer us. :)
> 
> Best wishes,
> Yuriy.
> 
> 
> Patrick Murray wrote:
> 
> > Error in <RootX11ErrorHandler>: BadAccess (attempt to access private
> > resource denied) (XID: 0, XREQ: 88)
> > What does this mean?? The program once worked but I compiled some new
> > classes (not in this program so I do not think it some have changed
> > anything) and then left for a week(which again should have had no effect)
> > and now I get this error??
> >
> > Thank You,
> >
> > Pat
> 
> --
>  ---/---> Chitov Yuriy        The more, the better...
> 
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET