Re: [ROOT] Error in <TMapFile::TMapFile>

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 18 2003 - 10:48:48 MET


Hi,

As correctly reported by the error message, you must run with rootn.exe
instead of root/root.exe when using the shared memory class TMapFile.
If you get an error when running with rootn.exe, please send the traceback as
explained at:

http://root.cern.ch/root/roottalk/RoottalkRules.html

Rene Brun

Jianglai Liu wrote:
> 
> Dear ROOTers,
> 
> I am having problems to run TMapfile produers. In the attachment you could
> find an example producer code that I am struggling with.
> 
> I have a locally-compiled ROOT3.05-07 with gcc3.2.3, which I simple
> configured as "linux" during compilation. Everything went through and
> looks like I've got all the libraries and bins. (Yes, libNew.so was
> made.) Then I compiled the producer with the root libraries (see the
> attached Makefile), with -lNew options. The executable was made OK.
> 
> But when I tried to run the producer, I've got the error messages like:
> 
> Error in <TMapFile::TMapFile>: no memory mapped file capability available
> Use rootn.exe or link application against "-lNew"
> 
> If I tried to run the code in rootn.exe CINT. It doesn't complain about
> the TMapFile. But when if I try to break it with ctrl-c, it crashed
> horribly with errors like:
> 
>  *** Break *** segmentation violation
>  Generating stack trace...
> BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
> BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
> BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
> ...
> 
> On the other hand if I tried the same thing on my laptop (standard
> RH9/gcc3.2.2/ROOT3.05-07), everything is fine. Could there be any
> incompatibility between root and gcc3.2.3?
> 
> The gcc3.2.3 I used is from our computer center server, which is a RH7.3
> with all kinds of patches. So it could be that some other libraries were
> missing when ROOT got compiled. If you need more details about this
> specific ROOT compilation I will pipe it.
> 
> Thanks very much!
> 
> Jianglai
> 
> 
> 
>   --------------------------------------------------------------------------------
>                       Name: map_trouble.txt
>    map_trouble.txt    Type: Plain Text (TEXT/PLAIN)
>                   Encoding: BASE64



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET