Re: BadAccess

From: Andrei Kuznetsov <andreik_at_mail.cern.ch>
Date: Wed, 17 Aug 2005 12:16:00 +0200 (CEST)

Hi,

I also tried it with ROOT version 4.04. And it worked on my PC. You can see some difference between the versions from this:


~/Simul/macri> root


FreeType Engine v2.1.3 used to render TrueType fonts. Compiled for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.169, Mar 14 2005 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }.

root [0] TCanvas *b=new TCanvas();
root [1] delete b                 
root [2] .q
~/Simul/macri> export ROOTSYS=/home/apddata/Simul/macri/ROOT5new2/root
~/Simul/macri> export PATH=$ROOTSYS/bin:$PATH
~/Simul/macri> export LD_LIBRARY_PATH=.:$ROOTSYS/lib ~/Simul/macri> root

FreeType Engine v2.1.9 used to render TrueType fonts. Compiled on 9 August 2005 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.2, July 14 2005 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }.

root [0] TCanvas *b=new TCanvas();
root [1] delete b                 
root [2] Error in <RootX11ErrorHandler>: BadAccess (attempt to access private resource denied) (XID: 15749119, XREQ: 88)

===================================================================================

I connected from Windows XP to PC with SLC3. With ROOT 404 it works without "-X" as well as with "-X". The only difference is that without "-X" I should export "DISPLAY" manually.   

Best regards,
Andrei.

On Wed, 17 Aug 2005, Rene Brun wrote:

> There are NO changes between 4.04 and 5.03 in the X11 support.
> You probably moved meanwhile to a new version of Linux that requires
> ssh -X (or -y) or you have an obsolete X11 emulator on your Windows system
> that does not understand the required protocol.
> 
> Rene Brun
> 
> On Tue, 16 Aug 2005, Dmitry Yakorev wrote:
> 
> > Dear rooters,
> > 
> > I have found the same problem (see below).
> > 
> > I use Windows 2000 SP4.  This problem appears with version 5.03/01 (when I
> > used ROOT version 4.04 I had no problem).
> > 
> > Could you help me?
> > 
> > Best regards,
> > Dmitry Yakorev.
> > 
> > 
> > 
> > 
> > From: Andrei Kuznetsov (andreik_at_mail.cern.ch)
> > Date: Wed Aug 03 2005 - 16:27:02 CEST
> > 
> > Next message: Faine, Valeri: "RE: [ROOT] TCanvas::SaveAs"
> > Previous message: Edmond Offermann: "Re: [ROOT] matrix multiplication"
> > In reply to: Rene Brun: "Re: [ROOT] BadAccess"
> > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 
> > 
> > I use PuTTY as a client program for the SSH. And there is no "-Y". Only
> > "-X" which is equivalent to flag "Enable X11 forwarding".
> > And it doesn't help unfortunately.
> > 
> > Best regards,
> > Andrei.
> > 
> > 
> > On Wed, 3 Aug 2005, Rene Brun wrote:
> > 
> > > From Windows, when connecting with ssh do
> > >   ssh -Y ...
> > > 
> > > Rene Brun
> > > 
> > > On Wed, 3 Aug 2005, Andrei Kuznetsov wrote:
> > > 
> > > > 
> > > > Hi Fons,
> > > > 
> > > > I do not allocate any memory except for what is allocated by Windows.
> > > > Physical memory installed in my Windows PC is 384MB.
> > > > 
> > > > This error message appears if I connect to SLC3 PC with ROOT Version
> > > > 5.03/01 (I do really need this ROOT version). It works good if I connect
> > > > to RedHat7.3 PC with ROOT version 3.10/02.
> > > > 
> > > > Thank you in advance,
> > > > Andrei.
> > > > 
> > > > 
> > > > 
> > > > On Tue, 2 Aug 2005, Fons Rademakers wrote:
> > > > 
> > > > > Hi Andrei,
> > > > > 
> > > > >   it is a resource problem with the Exceed server you are using. How
> > > > > much
> > > > > memory have you allocated to it?
> > > > > 
> > > > > Cheers, Fons.
> > > > > 
> > > > > 
> > > > > 
> > > > > Andrei Kuznetsov wrote:
> > > > > > I cannot solve the problem though I've read everything about
> > > > > > "BadAccess"
> > > > > > in
> > > > > > http://root.cern.ch/phpBB2/search.php
> > > > > > 
> > > > > > I have set "Enable X11 forwarding" in my PuTTY. And it does not work
> > > > > > also.
> > > > > > Could you explain to me in detail, please?
> > > > > > 
> > > > > > Best regards,
> > > > > > Andrei.
> > > > > > 
> > > > > > 
> > > > > > On Fri, 29 Jul 2005, Olivier Couet wrote:
> > > > > > 
> > > > > > 
> > > > > > > Go there: http://root.cern.ch/phpBB2/search.php
> > > > > > > and search the Keyword "BadAccess". several posts treat that
> > > > > > > question.
> > > > > > > 
> > > > > > > O.
> > > > > > > 
> > > > > > > On Fri, 29 Jul 2005, Andrei Kuznetsov wrote:
> > > > > > > 
> > > > > > > 
> > > > > > > > Dear rooters,
> > > > > > > > 
> > > > > > > > could you explain me, please, what does it means:
> > > > > > > > 
> > > > > > > > root [0] TCanvas b
> > > > > > > > root [1] Error in <RootX11ErrorHandler>: BadAccess (attempt to
> > > > > > > > access
> > > > > > > > private resource denied) (XID: 15749119, XREQ: 88)
> > > > > > > > 
> > > > > > > > 
> > > > > > > > This message appears if I work on my Linux (SLC3) PC from remote
> > > > > > > > Window
> > > > > > > > XP PC (using Exceed) and try to close Canvas b (using canvas
> > > > > > > > menu
> > > > > > > > "File->Close Canvas"). It doesn't happen if I work on my Linux
> > > > > > > > (SLC3) PC
> > > > > > > > directly. And it didn't happen when I used ROOT version 3.10/02
> > > > > > > > .
> > > > > > > > Now I use ROOT Version 5.03/01
> > > > > > > > 
> > > > > > > > Thank you in advance,
> > > > > > > > Andrei.
> > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > 
> > > > > 
> > > > 
> > > 
> 
> 
Received on Wed Aug 17 2005 - 12:26:03 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET