Bug with memory mapped file on NT

From: Mark Pollack (markp@bnl.gov)
Date: Tue Feb 10 1998 - 19:51:28 MET


Dear roottalk,

I get the following error when running the hcons.c and hprod.c
tutorial scripts on NT using root 1.03/09

CINT/ROOT C/C++ Interpreter version 5.13.36, Nov 30 1997
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x hprod.c
Memory mapped file:   hsimple.map
Title:                Demo memory mapped file with histograms
Option:               CREATE
Mapped Memory region: 0x17f0000 - 0x18086a0 (0.10 MB)
Current breakval:     0x17f8000
Object               Class                Size
                     TH1F                 1024
                     TH2F                 8080
                     TProfile             4096


Then in another root session


CINT/ROOT C/C++ Interpreter version 5.13.36, Nov 30 1997
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x hcons.c
Memory mapped file:   hsimple.map
Title:                Demo memory mapped file with histograms
Option:               READ
Mapped Memory region: 0x17f0000 - 0x18086a0 (0.10 MB)
Current breakval:     0x17fd000
Object               Class                Size
                     TH1F                 1024
                     TH2F                 8080
                     TProfile             4096
Error: illegal pointer to class object hpx 0x0 122  FILE:J:\mark\root\wrk\hcons.
c LINE:42


The demo works fine on Solaris.

Regards,
Mark Pollack
markp@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET