In ROOT 5.14, RooMCStudy::run crashes, either as a macro or compiled application. I have attached the code and Makefile. All is well in ROOT 5.12 and 5.13.
[berryhil@cmswn070 RooFitEff]$ run_test
RooFit v2.10 -- Developed by Wouter Verkerke and David Kirkby
Copyright (C) 2000-2005 NIKHEF, University of California & Stanford University
All rights reserved, please read http://roofit.sourceforge.net/license.txt
RooMCStudy::run: Generating and fitting sample 9999
*** Break *** segmentation violation
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Attaching to program: /proc/1276/exe, process 1276
[Thread debugging using libthread_db enabled]
[New Thread -1218639104 (LWP 1276)]
0x07d3b4de in __waitpid_nocancel () from /lib/tls/libc.so.6
Thread 1 (Thread -1218639104 (LWP 1276)):
#0 0x07d3b4de in __waitpid_nocancel () from /lib/tls/libc.so.6
#1 0x07cd01c4 in do_system () from /lib/tls/libc.so.6
#2 0x03e7ed7f in system () from /lib/tls/libpthread.so.0
#3 0x003a5fd1 in TUnixSystem::Exec ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libCore.so
#4 0x003a6479 in TUnixSystem::StackTrace ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libCore.so
#5 0x003a42bf in TUnixSystem::DispatchSignals ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libCore.so
#6 0x003a22fc in SigHandler ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libCore.so
#7 0x003a905e in sighandler ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libCore.so
#8 <signal handler called>
#9 0x01c1ea09 in RooLinkedList::iterator ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libRooFit.so
#10 0x01b72a8a in RooAbsCollection::operator= ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libRooFit.so
#11 0x01c24cce in RooMCStudy::run ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libRooFit.so
#12 0x01c2527c in RooMCStudy::generateAndFit ()
from /uscmst1/prod/sw/cms/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_3_1/external/slc3_ia32_gcc323/lib/libRooFit.so
#13 0x08049ba0 in Test () at Test.cc:76
#14 0x0804ab36 in main (argc=1, argv=0xbfffa594) at Test.cc:180
tar of cc file and Makefile