root 4.03 and shared memories (TMapFile)

From: Diego Faso <>
Date: Mon, 28 Feb 2005 18:24:59 +0100 (MET)

Hello, I'm using root-4.03/03 on linux Fedora Core-3 (gcc 3.4.2 20041017).

I'm trying to use the TMapFile class as described in the root tutorials (see attached macros). These macros work correctly with root-3.10/02 on Scientific Linux-3.03 (gcc 3.2.3 20030502), but only if I use the "rootn.exe" executable instead of "root".

When I try to run the producer on root-4.03/03 I obtain the output reported in the end of this message (complete stack trace). I tried to comment the line "mfile->Update();" in the producer source code and the producer runs, but the consumer can't find anything inside the "mapfile".

I thank you in advance for you help, cheers Diego

root [0] .x Producer1.C++
Info in <TUnixSystem::ACLiC>: creating shared library
mfile is: 0xf5879008
Memory mapped file:

Title:                Demo memory mapped file with histograms
Option:               CREATE
Mapped Memory region: 0xf5875000 - 0xf588e000 (0.10 MB)
Current breakval:     0xf587d000
Object               Class                Size
hpx                  (null)               0
hpxpy                (null)               0
hprof                (null)               0

Received on Mon Feb 28 2005 - 18:26:11 MET

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