Segmentation fault when accessing an object in a RooWorkbook

Hi,

trying to access an object in a RooWorkbook, I get the following error. Why doesn’t w::g.Print() work?
( I am running ROOT 5.24/00, CINT 5.17.00, RooFit v3.00 )

root [0] RooWorkspace w(“w”,kTRUE);

RooFit v3.00 – Developed by Wouter Verkerke and David Kirkby
Copyright © 2000-2009 NIKHEF, University of California & Stanford University
All rights reserved, please read roofit.sourceforge.net/license.txt

[#1] INFO:ObjectHandling – RooWorkspace::exportToCint(w) INFO: references to all objects in this workspace will be created in CINT in 'namespace w’
root [1] w.factory(“Gaussian::g(x[-10,10],mean[0],sigma[3])”);
root [2] g.Print()
Error: Symbol g is not defined in current scope (tmpfile):1:
Error: Failed to evaluate g.Print()
*** Interpreter error recovered ***
root [3] w->pdf(“g”).Print()
RooGaussian::g[ x=x mean=mean sigma=sigma ] = 1
root [4] w::g.Print()

*** Break *** segmentation violation
/Users/deil/bin/root/72182: No such file or directory
Attaching to process 72182.
Reading symbols for shared libraries . done
Reading symbols for shared libraries … done
0x00007fff83ede420 in wait4 ()

========== STACKS OF ALL THREADS ==========

Thread 1 (process 72182):
#0 0x00007fff83ede420 in wait4 ()
#1 0x00007fff83ef29f6 in system ()
#2 0x00000001000c90fa in TUnixSystem::StackTrace ()
#3 0x00000001000cc3ad in TUnixSystem::DispatchSignals ()
#4
#5 0x00000001001e56ac in G__G__Base2_10_0_45 ()
#6 0x000000010087fb63 in Cint::G__ExceptionWrapper ()
#7 0x000000010093d0ec in G__execute_call ()
#8 0x000000010093d57e in G__call_cppfunc ()
#9 0x0000000100915e16 in G__interpret_func ()
#10 0x00000001009031df in G__getfunction ()
#11 0x00000001009fb38a in G__getstructmem ()
#12 0x00000001009f2182 in G__getvariable ()
#13 0x00000001008d558f in G__getitem ()
#14 0x00000001008d7e12 in G__getexpr ()
#15 0x000000010096b2d9 in G__exec_statement ()
#16 0x00000001008c1eef in G__exec_tempfile_core ()
#17 0x00000001008c224a in G__exec_tempfile_fp ()
#18 0x0000000100978078 in G__process_cmd ()
#19 0x00000001000b6a75 in TCint::ProcessLine ()
#20 0x00000001000081b6 in TApplication::ProcessLine ()
#21 0x0000000101460b38 in TRint::HandleTermInput ()
#22 0x00000001014601a7 in TTermInputHandler::Notify ()
#23 0x0000000101461ead in TTermInputHandler::ReadNotify ()
#24 0x00000001000cc684 in TUnixSystem::CheckDescriptors ()
#25 0x00000001000ccdc9 in TUnixSystem::DispatchOneEvent ()
#26 0x0000000100055e3d in TSystem::InnerLoop ()
#27 0x00000001000582ec in TSystem::Run ()
#28 0x0000000100005f27 in TApplication::Run ()
#29 0x000000010146138c in TRint::Run ()
#30 0x0000000100000a00 in main ()

Btw, I also get a segmentation fault when executing .x rf509_wsinteractive.C in the line where the workbook contents are accessed for the first time:
RooDataSet* d = w::model.generate(w::x,1000) ;

Hi,

There is a bug in RooFit for ROOT 5.24 for ‘w::g’ syntax on architectures
with 64-but pointers. The problem has been fixed in ROOT 5.25/02 (RooFit 3.10)

Wouter