Running error on Ubuntu 12.04

[b]Hello, everyone.

I’ve got a problem with my ROOT

I’ve just installed Ubuntu & ROOT on my VMware workstation9 and also installed all prerequisites

However, it can not be run if I run any tutorial file.

below test is a messege when I run the /root/tutorial/graphs/approx.C

There are no running tutorial files on my root.
[/b]

ROOT 5.99/01 (trunk@49365, Jun 11 2013, 01:29:07 on linux)
cling C/C++ Interpreter: type .? for help.
root [0]
Processing approx.C…
Stack dump:
0. /home/myeongjin/root/tutorials/graphs/./approx.C:4:6: Generating code for declaration ‘approx’

*** Break *** segmentation violation

===========================================================
There was a crash (#6 0xb6025f3b in SigHandler(ESignals) () from /home/myeongjin/root/lib/libCore.so).
This is the entire stack trace of all threads:

#0 0xb7701424 in __kernel_vsyscall ()
#1 0xb58c19e3 in waitpid () from /lib/i386-linux-gnu/libc.so.6
#2 0xb5848ff3 in ?? () from /lib/i386-linux-gnu/libc.so.6
#3 0xb601e9fb in TUnixSystem::Exec(char const*) () from /home/myeongjin/root/lib/libCore.so
#4 0xb6023300 in TUnixSystem::StackTrace() () from /home/myeongjin/root/lib/libCore.so
#5 0xb6025e27 in TUnixSystem::DispatchSignals(ESignals) () from /home/myeongjin/root/lib/libCore.so
#6 0xb6025f3b in SigHandler(ESignals) () from /home/myeongjin/root/lib/libCore.so
#7 0xb601cf52 in sighandler(int) () from /home/myeongjin/root/lib/libCore.so
#8
#9 0xb5e774c9 in (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) () from /home/myeongjin/root/lib/libCore.so
#10 0xb636b570 in clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) () from /home/myeongjin/root/lib/libCore.so
#11 0xb636e82b in clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) () from /home/myeongjin/root/lib/libCore.so
#12 0xb63239a9 in clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) () from /home/myeongjin/root/lib/libCore.so
#13 0xb6334140 in clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) () from /home/myeongjin/root/lib/libCore.so
#14 0xb63cd2ef in clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) () from /home/myeongjin/root/lib/libCore.so
#15 0xb63cffd2 in clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) () from /home/myeongjin/root/lib/libCore.so
#16 0xb62721b8 in clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&) () from /home/myeongjin/root/lib/libCore.so
#17 0xb6276c51 in clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) () from /home/myeongjin/root/lib/libCore.so
#18 0xb6292912 in clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#19 0xb6294120 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#20 0xb6294673 in clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#21 0xb629512c in clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) [clone .part.2175] () from /home/myeongjin/root/lib/libCore.so
#22 0xb62678a7 in (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) () from /home/myeongjin/root/lib/libCore.so
#23 0xb608abd6 in cling::IncrementalParser::commitTransaction(cling::Transaction*) () from /home/myeongjin/root/lib/libCore.so
#24 0xb608bbe6 in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /home/myeongjin/root/lib/libCore.so
#25 0xb608e086 in cling::Interpreter::DeclareInternal(std::string const&, cling::CompilationOptions const&, clang::Decl const**) () from /home/myeongjin/root/lib/libCore.so
#26 0xb608e133 in cling::Interpreter::declare(std::string const&, clang::Decl const**) () from /home/myeongjin/root/lib/libCore.so
#27 0xb6092e87 in cling::Interpreter::loadFile(std::string const&, bool) () from /home/myeongjin/root/lib/libCore.so
#28 0xb60b48d7 in cling::MetaProcessor::executeFile(llvm::StringRef, llvm::StringRef, cling::StoredValueRef*, cling::Interpreter::CompilationResult*) () from /home/myeongjin/root/lib/libCore.so
#29 0xb60b61ad in cling::MetaSema::actOnxCommand(llvm::sys::Path, llvm::StringRef) () from /home/myeongjin/root/lib/libCore.so
#30 0xb60b3f36 in cling::MetaParser::isXCommand() () from /home/myeongjin/root/lib/libCore.so
#31 0xb60b4100 in cling::MetaParser::isCommand() () from /home/myeongjin/root/lib/libCore.so
#32 0xb60b4200 in cling::MetaParser::isMetaCommand() () from /home/myeongjin/root/lib/libCore.so
#33 0xb60b45a9 in cling::MetaProcessor::process(char const*, cling::StoredValueRef*, cling::Interpreter::CompilationResult*) () from /home/myeongjin/root/lib/libCore.so
#34 0xb5fee358 in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /home/myeongjin/root/lib/libCore.so
#35 0xb5fe05df in TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /home/myeongjin/root/lib/libCore.so
#36 0xb5f0ffa5 in TApplication::ExecuteFile(char const*, int*, bool) () from /home/myeongjin/root/lib/libCore.so
#37 0xb5f1036c in TApplication::ProcessFile(char const*, int*, bool) () from /home/myeongjin/root/lib/libCore.so
#38 0xb5f0eaad in TApplication::ProcessLine(char const*, bool, int*) () from /home/myeongjin/root/lib/libCore.so
#39 0xb5ad55fc in TRint::Run(bool) () from /home/myeongjin/root/lib/libRint.so
#40 0x08048c7f in main ()

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.

#9 0xb5e774c9 in (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) () from /home/myeongjin/root/lib/libCore.so
#10 0xb636b570 in clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) () from /home/myeongjin/root/lib/libCore.so
#11 0xb636e82b in clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) () from /home/myeongjin/root/lib/libCore.so
#12 0xb63239a9 in clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) () from /home/myeongjin/root/lib/libCore.so
#13 0xb6334140 in clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) () from /home/myeongjin/root/lib/libCore.so
#14 0xb63cd2ef in clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) () from /home/myeongjin/root/lib/libCore.so
#15 0xb63cffd2 in clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) () from /home/myeongjin/root/lib/libCore.so
#16 0xb62721b8 in clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&) () from /home/myeongjin/root/lib/libCore.so
#17 0xb6276c51 in clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) () from /home/myeongjin/root/lib/libCore.so
#18 0xb6292912 in clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#19 0xb6294120 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#20 0xb6294673 in clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) () from /home/myeongjin/root/lib/libCore.so
#21 0xb629512c in clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) [clone .part.2175] () from /home/myeongjin/root/lib/libCore.so
#22 0xb62678a7 in (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) () from /home/myeongjin/root/lib/libCore.so
#23 0xb608abd6 in cling::IncrementalParser::commitTransaction(cling::Transaction*) () from /home/myeongjin/root/lib/libCore.so
#24 0xb608bbe6 in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /home/myeongjin/root/lib/libCore.so
#25 0xb608e086 in cling::Interpreter::DeclareInternal(std::string const&, cling::CompilationOptions const&, clang::Decl const**) () from /home/myeongjin/root/lib/libCore.so
#26 0xb608e133 in cling::Interpreter::declare(std::string const&, clang::Decl const**) () from /home/myeongjin/root/lib/libCore.so
#27 0xb6092e87 in cling::Interpreter::loadFile(std::string const&, bool) () from /home/myeongjin/root/lib/libCore.so
#28 0xb60b48d7 in cling::MetaProcessor::executeFile(llvm::StringRef, llvm::StringRef, cling::StoredValueRef*, cling::Interpreter::CompilationResult*) () from /home/myeongjin/root/lib/libCore.so
#29 0xb60b61ad in cling::MetaSema::actOnxCommand(llvm::sys::Path, llvm::StringRef) () from /home/myeongjin/root/lib/libCore.so
#30 0xb60b3f36 in cling::MetaParser::isXCommand() () from /home/myeongjin/root/lib/libCore.so
#31 0xb60b4100 in cling::MetaParser::isCommand() () from /home/myeongjin/root/lib/libCore.so
#32 0xb60b4200 in cling::MetaParser::isMetaCommand() () from /home/myeongjin/root/lib/libCore.so
#33 0xb60b45a9 in cling::MetaProcessor::process(char const*, cling::StoredValueRef*, cling::Interpreter::CompilationResult*) () from /home/myeongjin/root/lib/libCore.so

Root >

Please, tell me the problems and its solutions.

Thanks

Try the v5-34-00-patches branch instead of the 5.99/01 trunk. Something like:
git clone -b v5-34-00-patches root.cern.ch/git/root.git v5-34-00-patches