Message: Re: Segmentation Fault when using ROOT 6 to open output from TestEm5 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Segmentation Fault when using ROOT 6 to open output from TestEm5 

Forum: Analysis
Re: Question Segmentation Fault when using ROOT 6 to open output from TestEm5 (Chris Howard)
Re: None Re: Segmentation Fault when using ROOT 6 to open output from TestEm5 (Guy Barrand)
Date: 20 Jan, 2015
From: Guy Barrand <Guy Barrand>

   Hi Chris

 Some news. I have the fixes in g4tools to avoid that CERN-ROOT/6.02.03 crashes when reading files
produced by tools/wroot. Mainly it consists to be more precise on the description of some of the "streamer
infos". Then you can wait a Geant4 patch release (with more testing on our side), but if in a hurry, you
can have a try with a corrected version of the file :
     tools/wroot/infos
that I have put on github, under :
     gbarrand/g4tools/for_hurry_people/fix_ROOT_6_02_03_crash/infos

 To sumup, the patches in the "infos" file are :
- change "fScaleFactor" to "fScalefactor" for a TH2 field description (sigh).
- (less obvious) change the usage of :
     streamer_basic_type(...,OBJECT_ANY,...)
  to :
     streamer_object(...)
  as for the description of the fXaxis field of TH1 :
     info->add(new streamer_object("fXaxis","X axis descriptor",64,"TAxis"));

   Cheers. Guy

 Add Message Add Message
to: "Re: Segmentation Fault when using ROOT 6 to open output from TestEm5"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]