Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12154

[C++][Gandiva] Fix gandiva crash in certain OS/CPU combinations

    XMLWordPrintableJSON

Details

    Description

      When running gandiva in a VM where the VM doesn't provide all the features of the host cpu, specifically vector instructions like avx512 which needs vm support (because VM is older version and doesn't support them, or passthrough is disabled for these features), llvm::sys::getHostCPUName detects the processor with these features and so gandiva generates jit compiled code with these vector instructions, which the guest OS is unable to execute and hence faults.

      Attachments

        Issue Links

          Activity

            People

              projjal Projjal Chanda
              projjal Projjal Chanda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m