[ROOT] Re: TMapFile::SetMapAddress

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Apr 06 2000 - 14:20:04 MEST


Hi Stefano,

  the problem is that with the latest versions of ROOT the system
has been modularized in such a way that many shared libraries are
only loaded when needed, like the Minuit, HistPainter, GX11, etc.
So depending on what libraries are loaded you will get a different
map start address. Try taking a start address that is quite a bit
larger than needed and see if that works.

Cheers, Fons.



Stefano Argiro' wrote:
> 
> Hi Rooters,
> 
> I have a producer program that creates ~100 TGraphs and a consumer script
> to
> display them. If I do not adopt the procedure described in
> TMapFile::SetAddress the consumer crashes when I try to load any TGraph.
> 
> If I do set the Map Address it works ok but I think I noticed this:
> 
> 1) when connecting from another machine, the result of :
> 
>   root
>   root[0] TMapFile *m = new TMapFile ("dummy.map");
>   root[1] m->Print()
> 
>         gives a different number for the preferred address
> 
>  consumer crashes, no way to load TGraphs
> 
> 2) same after recompiling ROOT
> 
> ROOT 2.23 on Debian
> 
> With ROOT 2.22 I did not need to use SetMapAddress , the programs were
> stable.
> 
> Is there a way to do it such that one does not need to repeat the
> procedure and recompile programs too often ?
> 
> Thanks for suggestions/explanations
> 
> Cheers
>                 Stefano Argiro'
> 
> Stefano Argiro'
> Universita' di Milano, Italy
> Dipartimento di Fisica delle Particelle

-- 
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 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET