Problem 1019 - Segmentation fault when running the AIDA-version of the example
Summary: Segmentation fault when running the AIDA-version of the example
Status: RESOLVED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: radioactivedecay/exrdm (show other problems)
Version: 9.1
Hardware: All All
: P5 trivial
Assignee: flei
URL:
Depends on:
Blocks:
 
Reported: 2008-08-08 17:24 CEST by Patrick Sizun
Modified: 2009-09-23 10:03 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Patrick Sizun 2008-08-08 17:24:45 CEST
While the example runs fine with ROOT output, the AIDA version causes a segmentation fault due to an error when booking tuples.
In the exrdmHisto::addTuple method,

#ifdef G4ANALYSIS_USE_AIDA
  ntup.push_back(0);
#endif

should be

#ifdef G4ANALYSIS_USE_AIDA
  tupleId.push_back(w1);
  tupleName.push_back(w2) ;
  tupleList.push_back(w3) ;
  ntup.push_back(0);
#endif
Comment 1 Gabriele Cosmo 2009-09-23 10:03:45 CEST
Fixed introduced in release 9.2.