Segmentation violation during compilation

Hi,

I am working on a new method for TMVA. When I try to compile ROOT with my changes, there is a segfault at compilation time.

In the following you find the log of the compilation. I use Ubuntu 14.10.

My new code can be found here for the time being:
github.com/therhaag/tmva/tree/m … /tmva_impl

[quote]Generating dictionary tmva/src/G__TMVA.cxx…
bin/rootcling -rootbuild -f tmva/src/G__TMVA.cxx -s lib/libTMVA.so -rml libTMVA.so -rmf lib/libTMVA.rootmap -m lib/libCore_rdict.pcm -m lib/libRIO._rdict.pcm -m lib/libHist._rdict.pcm -m lib/libMatrix._rdict.pcm -m lib/libTree._rdict.pcm -m lib/libGraf._rdict.pcm -m lib/libGpad._rdict.pcm -m lib/libTreePlayer._rdict.pcm -m lib/libMLP._rdict.pcm -m lib/libMinuit._rdict.pcm -m lib/libMathCore._rdict.pcm -m lib/libXMLIO._rdict.pcm -c -writeEmptyRootPCM -I/home/peters/code_peters/root /home/peters/code_peters/root/tmva/inc/TMVA/TActivationChooser.h /home/peters/code_peters/root/tmva/inc/TMVA/Results.h /home/peters/code_peters/root/tmva/inc/TMVA/MinuitWrapper.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCFMlpANN.h /home/peters/code_peters/root/tmva/inc/TMVA/GeneticPopulation.h /home/peters/code_peters/root/tmva/inc/TMVA/ModulekNN.h /home/peters/code_peters/root/tmva/inc/TMVA/DataSetInfo.h /home/peters/code_peters/root/tmva/inc/TMVA/SVKernelMatrix.h /home/peters/code_peters/root/tmva/inc/TMVA/IMethod.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamMultiTarget.h /home/peters/code_peters/root/tmva/inc/TMVA/TSpline1.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodRuleFit.h /home/peters/code_peters/root/tmva/inc/TMVA/PDF.h /home/peters/code_peters/root/tmva/inc/TMVA/KDEKernel.h /home/peters/code_peters/root/tmva/inc/TMVA/DecisionTreeNode.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodPDEFoam.h /home/peters/code_peters/root/tmva/inc/TMVA/LogInterval.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamEventDensity.h /home/peters/code_peters/root/tmva/inc/TMVA/GeneticFitter.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamKernelGauss.h /home/peters/code_peters/root/tmva/inc/TMVA/IPruneTool.h /home/peters/code_peters/root/tmva/inc/TMVA/SVKernelFunction.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodBDT.h /home/peters/code_peters/root/tmva/inc/TMVA/GeneticRange.h /home/peters/code_peters/root/tmva/inc/TMVA/CostComplexityPruneTool.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodANNBase.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodNN.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamTarget.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamDiscriminant.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodFDA.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableGaussTransform.h /home/peters/code_peters/root/tmva/inc/TMVA/TActivationSigmoid.h /home/peters/code_peters/root/tmva/inc/TMVA/DataInputHandler.h /home/peters/code_peters/root/tmva/inc/TMVA/SeparationBase.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodSVM.h /home/peters/code_peters/root/tmva/inc/TMVA/BinaryTree.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamDensityBase.h /home/peters/code_peters/root/tmva/inc/TMVA/TSynapse.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCFMlpANN_def.h /home/peters/code_peters/root/tmva/inc/TMVA/MCFitter.h /home/peters/code_peters/root/tmva/inc/TMVA/ExpectedErrorPruneTool.h /home/peters/code_peters/root/tmva/inc/TMVA/RuleFitAPI.h /home/peters/code_peters/root/tmva/inc/TMVA/DataSetFactory.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamKernelTrivial.h /home/peters/code_peters/root/tmva/inc/TMVA/ResultsMulticlass.h /home/peters/code_peters/root/tmva/inc/TMVA/TransformationHandler.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuronInputChooser.h /home/peters/code_peters/root/tmva/inc/TMVA/RegressionVariance.h /home/peters/code_peters/root/tmva/inc/TMVA/ConvergenceTest.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodKNN.h /home/peters/code_peters/root/tmva/inc/TMVA/SimulatedAnnealing.h /home/peters/code_peters/root/tmva/inc/TMVA/QuickMVAProbEstimator.h /home/peters/code_peters/root/tmva/inc/TMVA/Ranking.h /home/peters/code_peters/root/tmva/inc/TMVA/Volume.h /home/peters/code_peters/root/tmva/inc/TMVA/TActivationTanh.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamVect.h /home/peters/code_peters/root/tmva/inc/TMVA/DataSetManager.h /home/peters/code_peters/root/tmva/inc/TMVA/Types.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodLD.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoam.h /home/peters/code_peters/root/tmva/inc/TMVA/CCTreeWrapper.h /home/peters/code_peters/root/tmva/inc/TMVA/Configurable.h /home/peters/code_peters/root/tmva/inc/TMVA/CrossEntropy.h /home/peters/code_peters/root/tmva/inc/TMVA/FitterBase.h /home/peters/code_peters/root/tmva/inc/TMVA/Event.h /home/peters/code_peters/root/tmva/inc/TMVA/ResultsClassification.h /home/peters/code_peters/root/tmva/inc/TMVA/VariablePCATransform.h /home/peters/code_peters/root/tmva/inc/TMVA/SdivSqrtSplusB.h /home/peters/code_peters/root/tmva/inc/TMVA/RuleFit.h /home/peters/code_peters/root/tmva/inc/TMVA/NeuralNet_i.h /home/peters/code_peters/root/tmva/inc/TMVA/Rule.h /home/peters/code_peters/root/tmva/inc/TMVA/Config.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamTargetDensity.h /home/peters/code_peters/root/tmva/inc/TMVA/Tools.h /home/peters/code_peters/root/tmva/inc/TMVA/BinarySearchTreeNode.h /home/peters/code_peters/root/tmva/inc/TMVA/Factory.h /home/peters/code_peters/root/tmva/inc/TMVA/OptimizeConfigParameters.h /home/peters/code_peters/root/tmva/inc/TMVA/RuleEnsemble.h /home/peters/code_peters/root/tmva/inc/TMVA/GiniIndex.h /home/peters/code_peters/root/tmva/inc/TMVA/ROCCalc.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCompositeBase.h /home/peters/code_peters/root/tmva/inc/TMVA/RuleFitParams.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodTMlpANN.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableInfo.h /home/peters/code_peters/root/tmva/inc/TMVA/Node.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodHMatrix.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamDecisionTree.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamDecisionTreeDensity.h /home/peters/code_peters/root/tmva/inc/TMVA/ClassifierFactory.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCuts.h /home/peters/code_peters/root/tmva/inc/TMVA/MinuitFitter.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodPDERS.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamCell.h /home/peters/code_peters/root/tmva/inc/TMVA/BDTEventWrapper.h /home/peters/code_peters/root/tmva/inc/TMVA/SVWorkingSet.h /home/peters/code_peters/root/tmva/inc/TMVA/IFitterTarget.h /home/peters/code_peters/root/tmva/inc/TMVA/Interval.h /home/peters/code_peters/root/tmva/inc/TMVA/NodekNN.h /home/peters/code_peters/root/tmva/inc/TMVA/MsgLogger.h /home/peters/code_peters/root/tmva/inc/TMVA/TActivationRadial.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuronInput.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamDiscriminantDensity.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCategory.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamKernelLinN.h /home/peters/code_peters/root/tmva/inc/TMVA/ResultsRegression.h /home/peters/code_peters/root/tmva/inc/TMVA/Option.h /home/peters/code_peters/root/tmva/inc/TMVA/SimulatedAnnealingFitter.h /home/peters/code_peters/root/tmva/inc/TMVA/Monitoring.h /home/peters/code_peters/root/tmva/inc/TMVA/GeneticAlgorithm.h /home/peters/code_peters/root/tmva/inc/TMVA/LDA.h /home/peters/code_peters/root/tmva/inc/TMVA/TSpline2.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamKernelBase.h /home/peters/code_peters/root/tmva/inc/TMVA/ClassInfo.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodBayesClassifier.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuron.h /home/peters/code_peters/root/tmva/inc/TMVA/DataSet.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuronInputSum.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableIdentityTransform.h /home/peters/code_peters/root/tmva/inc/TMVA/Timer.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodLikelihood.h /home/peters/code_peters/root/tmva/inc/TMVA/CCPruner.h /home/peters/code_peters/root/tmva/inc/TMVA/Reader.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodMLP.h /home/peters/code_peters/root/tmva/inc/TMVA/RootFinder.h /home/peters/code_peters/root/tmva/inc/TMVA/GiniIndexWithLaplace.h /home/peters/code_peters/root/tmva/inc/TMVA/NeuralNet.h /home/peters/code_peters/root/tmva/inc/TMVA/Version.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableRearrangeTransform.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuronInputSqSum.h /home/peters/code_peters/root/tmva/inc/TMVA/PDEFoamEvent.h /home/peters/code_peters/root/tmva/inc/TMVA/TActivation.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodBoost.h /home/peters/code_peters/root/tmva/inc/TMVA/RuleCut.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableTransformBase.h /home/peters/code_peters/root/tmva/inc/TMVA/TNeuronInputAbs.h /home/peters/code_peters/root/tmva/inc/TMVA/MisClassificationError.h /home/peters/code_peters/root/tmva/inc/TMVA/BinarySearchTree.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodDT.h /home/peters/code_peters/root/tmva/inc/TMVA/TActivationIdentity.h /home/peters/code_peters/root/tmva/inc/TMVA/SVEvent.h /home/peters/code_peters/root/tmva/inc/TMVA/Pattern.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodBase.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodFisher.h /home/peters/code_peters/root/tmva/inc/TMVA/DecisionTree.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableNormalizeTransform.h /home/peters/code_peters/root/tmva/inc/TMVA/GeneticGenes.h /home/peters/code_peters/root/tmva/inc/TMVA/VariableDecorrTransform.h /home/peters/code_peters/root/tmva/inc/TMVA/MethodCFMlpANN_Utils.h /home/peters/code_peters/root/tmva/inc/LinkDef.h

*** Break *** segmentation violation

===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:

#0 0x00007fe672f9aa1c in __libc_waitpid (pid=8855, stat_loc=stat_loc
entry=0x7fffa38da2f0, options=options
entry=0) at …/sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007fe672f1e8e2 in do_system (line=) at …/sysdeps/posix/system.c:148
#2 0x0000000001057ee8 in TUnixSystem::Exec (this=0x44b3e10, shellcmd=0x9ffa6a0 “/home/peters/code_peters/root/etc/gdb-backtrace.sh 8843 1>&2”) at /home/peters/code_peters/root/core/unix/src/TUnixSystem.cxx:2069
#3 0x00000000010587b4 in TUnixSystem::StackTrace (this=0x44b3e10) at /home/peters/code_peters/root/core/unix/src/TUnixSystem.cxx:2297
#4 0x000000000105c301 in TUnixSystem::DispatchSignals (this=0x44b3e10, sig=kSigSegmentationViolation) at /home/peters/code_peters/root/core/unix/src/TUnixSystem.cxx:3533
#5 0x0000000001053ed5 in SigHandler (sig=kSigSegmentationViolation) at /home/peters/code_peters/root/core/unix/src/TUnixSystem.cxx:395
#6 0x000000000105c250 in sighandler (sig=11) at /home/peters/code_peters/root/core/unix/src/TUnixSystem.cxx:3510
#7
#8 0x0000000001c70bb8 in clang::DeclContext::isDependentContext() const ()
#9 0x0000000001d37e77 in clang::TemplateArgument::isInstantiationDependent() const ()
#10 0x0000000001d3fa8f in clang::TemplateSpecializationType::TemplateSpecializationType(clang::TemplateName, clang::TemplateArgument const*, unsigned int, clang::QualType, clang::QualType) ()
#11 0x0000000001c158ed in clang::ASTContext::getTemplateSpecializationType(clang::TemplateName, clang::TemplateArgument const*, unsigned int, clang::QualType) const ()
#12 0x0000000000f32e62 in cling::utils::GetPartiallyDesugaredTypeImpl (Ctx=…, QT=…, TypeConfig=…, fullyQualifyType=true, fullyQualifyTmpltArg=true) at /home/peters/code_peters/root/interpreter/cling/lib/Utils/AST.cpp:1209
#13 0x0000000000f33337 in cling::utils::Transform::GetPartiallyDesugaredType (Ctx=…, QT=…, TypeConfig=…, fullyQualify=true) at /home/peters/code_peters/root/interpreter/cling/lib/Utils/AST.cpp:1306
#14 0x0000000000d2158c in ROOT::TMetaUtils::GetNormalizedType (type=…, interpreter=…, normCtxt=…) at /home/peters/code_peters/root/core/metautils/src/TMetaUtils.cxx:3750
#15 0x0000000000d2165c in ROOT::TMetaUtils::GetNormalizedName (norm_name="", type=…, interpreter=…, normCtxt=…) at /home/peters/code_peters/root/core/metautils/src/TMetaUtils.cxx:3777
#16 0x0000000000d69a72 in SelectionRules::GetFunctionPrototype (this=0x7fffa38dde70, F=0x912fcd0, prototype="") at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:484
#17 0x0000000000d6b725 in SelectionRules::IsLinkdefFunSelected (this=0x7fffa38dde70, D=0x912fcd0, qual_name=“std::_Bind_simple<std::_Mem_fn<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> &, bool &)> (”…) at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:976
#18 0x0000000000d69528 in SelectionRules::IsDeclSelected (this=0x7fffa38dde70, D=0x912fcd0) at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:378
#19 0x0000000000d45e8e in RScanner::VisitFunctionDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:987
#20 0x0000000000d54d37 in clang::RecursiveASTVisitor::WalkUpFromFunctionDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:345
#21 0x0000000000d5510a in clang::RecursiveASTVisitor::WalkUpFromCXXMethodDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:349
#22 0x0000000000d4cf06 in clang::RecursiveASTVisitor::TraverseCXXMethodDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1797
#23 0x0000000000d48e23 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:349
#24 0x0000000000d53b76 in clang::RecursiveASTVisitor::TraverseTemplateInstantiations (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1505
#25 0x0000000000d4bcf7 in clang::RecursiveASTVisitor::TraverseFunctionTemplateDecl (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1548
#26 0x0000000000d489ff in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:183
#27 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x8ee01b8) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#28 0x0000000000d4c4a5 in clang::RecursiveASTVisitor::TraverseClassTemplateSpecializationDecl (this=0x7fffa38de080, D=0x8ee0180) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1655
#29 0x0000000000d48b72 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x8ee0180) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:237
#30 0x0000000000d53919 in clang::RecursiveASTVisitor::TraverseTemplateInstantiations (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1454
#31 0x0000000000d4bb95 in clang::RecursiveASTVisitor::TraverseClassTemplateDecl (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1546
#32 0x0000000000d489ca in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:177
#33 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x5e21338) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#34 0x0000000000d4b4de in clang::RecursiveASTVisitor::TraverseNamespaceDecl (this=0x7fffa38de080, D=0x5e21310) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1363
#35 0x0000000000d487b8 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x5e21310) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:93
#36 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x4544dd0) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#37 0x0000000000d4dcf4 in clang::RecursiveASTVisitor::TraverseTranslationUnitDecl (this=0x7fffa38de080, D=0x4544db0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1343
#38 0x0000000000d491a2 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x4544db0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:473
#39 0x0000000000d46828 in RScanner::Scan (this=0x7fffa38de080, C=…) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1133
#40 0x0000000000c86fb9 in RootCling (argc=186, argv=0x7fffa38de8b8, isDeep=false, isGenreflex=false) at /home/peters/code_peters/root/core/utils/src/rootcling.cxx:4326
#41 0x0000000000c8b8c7 in main (argc=186, argv=0x7fffa38de8b8) at /home/peters/code_peters/root/core/utils/src/rootcling.cxx:5550

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#8 0x0000000001c70bb8 in clang::DeclContext::isDependentContext() const ()
#9 0x0000000001d37e77 in clang::TemplateArgument::isInstantiationDependent() const ()
#10 0x0000000001d3fa8f in clang::TemplateSpecializationType::TemplateSpecializationType(clang::TemplateName, clang::TemplateArgument const*, unsigned int, clang::QualType, clang::QualType) ()
#11 0x0000000001c158ed in clang::ASTContext::getTemplateSpecializationType(clang::TemplateName, clang::TemplateArgument const*, unsigned int, clang::QualType) const ()
#12 0x0000000000f32e62 in cling::utils::GetPartiallyDesugaredTypeImpl (Ctx=…, QT=…, TypeConfig=…, fullyQualifyType=true, fullyQualifyTmpltArg=true) at /home/peters/code_peters/root/interpreter/cling/lib/Utils/AST.cpp:1209
#13 0x0000000000f33337 in cling::utils::Transform::GetPartiallyDesugaredType (Ctx=…, QT=…, TypeConfig=…, fullyQualify=true) at /home/peters/code_peters/root/interpreter/cling/lib/Utils/AST.cpp:1306
#14 0x0000000000d2158c in ROOT::TMetaUtils::GetNormalizedType (type=…, interpreter=…, normCtxt=…) at /home/peters/code_peters/root/core/metautils/src/TMetaUtils.cxx:3750
#15 0x0000000000d2165c in ROOT::TMetaUtils::GetNormalizedName (norm_name="", type=…, interpreter=…, normCtxt=…) at /home/peters/code_peters/root/core/metautils/src/TMetaUtils.cxx:3777
#16 0x0000000000d69a72 in SelectionRules::GetFunctionPrototype (this=0x7fffa38dde70, F=0x912fcd0, prototype="") at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:484
#17 0x0000000000d6b725 in SelectionRules::IsLinkdefFunSelected (this=0x7fffa38dde70, D=0x912fcd0, qual_name=“std::_Bind_simple<std::_Mem_fn<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> &, bool &)> (”…) at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:976
#18 0x0000000000d69528 in SelectionRules::IsDeclSelected (this=0x7fffa38dde70, D=0x912fcd0) at /home/peters/code_peters/root/core/metautils/src/SelectionRules.cxx:378
#19 0x0000000000d45e8e in RScanner::VisitFunctionDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:987
#20 0x0000000000d54d37 in clang::RecursiveASTVisitor::WalkUpFromFunctionDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:345
#21 0x0000000000d5510a in clang::RecursiveASTVisitor::WalkUpFromCXXMethodDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:349
#22 0x0000000000d4cf06 in clang::RecursiveASTVisitor::TraverseCXXMethodDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1797
#23 0x0000000000d48e23 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x912fcd0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:349
#24 0x0000000000d53b76 in clang::RecursiveASTVisitor::TraverseTemplateInstantiations (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1505
#25 0x0000000000d4bcf7 in clang::RecursiveASTVisitor::TraverseFunctionTemplateDecl (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1548
#26 0x0000000000d489ff in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x8f1f0d0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:183
#27 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x8ee01b8) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#28 0x0000000000d4c4a5 in clang::RecursiveASTVisitor::TraverseClassTemplateSpecializationDecl (this=0x7fffa38de080, D=0x8ee0180) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1655
#29 0x0000000000d48b72 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x8ee0180) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:237
#30 0x0000000000d53919 in clang::RecursiveASTVisitor::TraverseTemplateInstantiations (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1454
#31 0x0000000000d4bb95 in clang::RecursiveASTVisitor::TraverseClassTemplateDecl (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1546
#32 0x0000000000d489ca in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x5eecd20) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:177
#33 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x5e21338) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#34 0x0000000000d4b4de in clang::RecursiveASTVisitor::TraverseNamespaceDecl (this=0x7fffa38de080, D=0x5e21310) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1363
#35 0x0000000000d487b8 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x5e21310) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:93
#36 0x0000000000d46012 in RScanner::TraverseDeclContextHelper (this=0x7fffa38de080, DC=0x4544dd0) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1016
#37 0x0000000000d4dcf4 in clang::RecursiveASTVisitor::TraverseTranslationUnitDecl (this=0x7fffa38de080, D=0x4544db0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/RecursiveASTVisitor.h:1343
#38 0x0000000000d491a2 in clang::RecursiveASTVisitor::TraverseDecl (this=0x7fffa38de080, D=0x4544db0) at /home/peters/code_peters/root/interpreter/llvm/inst/include/clang/AST/DeclNodes.inc:473
#39 0x0000000000d46828 in RScanner::Scan (this=0x7fffa38de080, C=…) at /home/peters/code_peters/root/core/metautils/src/Scanner.cxx:1133
#40 0x0000000000c86fb9 in RootCling (argc=186, argv=0x7fffa38de8b8, isDeep=false, isGenreflex=false) at /home/peters/code_peters/root/core/utils/src/rootcling.cxx:4326
#41 0x0000000000c8b8c7 in main (argc=186, argv=0x7fffa38de8b8) at /home/peters/code_peters/root/core/utils/src/rootcling.cxx:5550

/home/peters/code_peters/root/tmva/Module.mk:89: recipe for target ‘tmva/src/G__TMVA.cxx’ failed
make: *** [tmva/src/G__TMVA.cxx] Error 139
[/quote]

can you give me a hint what causes the segfault at compile time?

cheers,
Peter

Hi Peter,

Which commit/version of ROOT are you using?

Cheers,
Philippe.

Hi Philippe,

Your question solved the problem. I was not on the latest commit but on a rather old one since I didn’t use git correctly.

thanks,
Peter