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

Seg fault and misleading error messages if system header files are missing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 6.20/02
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:

      CentOS 7

      ROOT 6.20 and gcc 8 from LCG_97 defined in

      /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/setup.sh

    • Development:

      Description

      Dear ROOT developers

      I was not able to start ROOT 6.20 on a machine running standard CentOS 7. Opt version of ROOT produced seg fault without any hint what could be wrong, debug version of ROOT complained that SystemDir was missing, but did not say which directory exactly.

      Error messages from ROOT 6.18 were more informative: it complained about missing header file ctype.h

      Finally problem was solved by installing glibc-headers rpm, which was not installed initially, since we didn't plan to compile anything on this machine.

      In future it would be nice to have clear error message that ROOT can not start because certain file is missing, especially if it's not missing shared library which can be checked by "ldd"

      see details in

      https://root-forum.cern.ch/t/can-not-start-root-6-20-02-from-lcg-97-systemdir-is-missing/39594

       

      With best regards

      Sanya

       

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              solodkov Sanya Solodkov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: