Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6011

cling dynamic library manager fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.00.beta
    • Fix Version/s: 6.10/00
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      MacOS 10.9

    • Development:

      Description

      run cling doesntexist (i.e file doesn't exist) and you get a crash:
      #0 0x00007ffff7547640 in std::string::c_str() const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #1 0x0000000000a87db8 in cling::GetSystemLibraryPaths (Paths=...)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/Interpreter/DynamicLibraryManager.cpp:150
      #2 0x0000000000a87fc7 in cling::DynamicLibraryManager::tryLinker (this=0x350d3f0, filename=..., permanent=false, isAbsolute=false,
      exists=@0x7fffffffd989: false, isDyLib=@0x7fffffffd98a: false)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/Interpreter/DynamicLibraryManager.cpp:204
      #3 0x0000000000a88687 in cling::DynamicLibraryManager::loadLibrary (this=0x350d3f0, filename=..., permanent=false, tryCode=0x7fffffffda9b)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/Interpreter/DynamicLibraryManager.cpp:291
      #4 0x0000000000a28fd0 in cling::Interpreter::loadFile (this=0x7fffffffdee0, filename=..., allowSharedLib=true)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/Interpreter/Interpreter.cpp:900
      #5 0x0000000000a0c4b6 in cling::MetaProcessor::executeFile (this=0x35e99d0, file=..., args=..., compRes=@0x7fffffffdc18: cling::Interpreter::kFailure,
      result=0x0) at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaProcessor.cpp:181
      #6 0x0000000000a0fc3c in cling::MetaSema::actOnxCommand (this=0x38d0e70, file=..., args=..., result=0x0)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaSema.cpp:65
      #7 0x0000000000a232b6 in cling::MetaParser::isXCommand (this=0x38effe0, actionResult=@0x7fffffffdde8: cling::MetaSema::AR_Success, resultValue=0x0)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaParser.cpp:238
      #8 0x0000000000a22934 in cling::MetaParser::isCommand (this=0x38effe0, actionResult=@0x7fffffffdde8: cling::MetaSema::AR_Success, resultValue=0x0)
      at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaParser.cpp:112
      #9 0x0000000000a227ef in cling::MetaParser::isMetaCommand (this=0x38effe0, actionResult=@0x7fffffffdde8: cling::MetaSema::AR_Success,
      resultValue=0x0) at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaParser.cpp:91
      #10 0x0000000000a0c26c in cling::MetaProcessor::process (this=0x35e99d0, input_text=0x38f00d8 ".x i686-apple-darwin",
      compRes=@0x7fffffffde5c: cling::Interpreter::kSuccess, result=0x0) at /home/vvassilev/workspace/llvm_root/src/tools/cling/lib/MetaProcessor/MetaProcessor.cpp:132
      #11 0x0000000000a09031 in main (argc=8, argv=0x7fffffffe078) at /home/vvassilev/workspace/llvm_root/src/tools/cling/tools/driver/cling.cpp:60

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            vvasilev Vasil Georgiev Vasilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: