Re: [ROOT] TMapFiles

From: Piergiorgio Cerello (cerello@to.infn.it)
Date: Mon Jun 04 2001 - 15:06:37 MEST


Hi Fons,
first of all, thanks.
I'm now linking with:

ROOTLIBS      = $(shell $(ROOTSYS)/bin/root-config --new --glibs) -lMinuit
-lHtml -lProof -lThread

Second, unfortunately, I still get an error when trying to open the
shared memory:

gdb) run 127.0.0.1 /data1 onl > geb2hdt.dat
Starting program: /data1/fROOT/bin/tgt_Linux/geb2hdt 127.0.0.1 /data1 onl
> geb2hdt.dat

Program received signal SIGSEGV, Segmentation fault.
0x41cd5000 in ?? () from /data2/root/lib/libGraf3d.so
Current language:  auto; currently c

Any suggestion?

Thanks, ciao,

 Piergiorgio

PS: I'm running on RedHat 6.2

On Tue, 29 May 2001, Fons Rademakers wrote:

> Hi Piergiorgio,
> 
>   is this in a standalone program or using the root.exe module? In the
> first case make sure you link with libNew.so (i.e. root-config --new --libs)
> in the latter use directly "rootn.exe" instead of "root" which call "root.exe".
> 
> Cheers, Fons.
> 
> 
> 
> Piergiorgio Cerello wrote:
> > 
> > Dear all,
> > in migrating to ROOT 3.00 (from 2.23) I find the following error in
> > creating a TMapFile:
> > 
> > Error in <TMapFile::TMapFile>: mapped file not in mmalloc format or
> > already open in RW mode by another process
> > 
> > which was not there before.
> > Any suggestion?
> > thanks!
> > Piergiorgio
> 
> -- 
> 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 01 2002 - 17:50:47 MET