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

[C++] Illegal instruction on haswell cpu

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • C++

    Description

      Some unit tests failed with "Illegal instruction" on Intel E5-2650 (haswell).

      $ cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DARROW_BUILD_TESTS=ON -DARROW_COMPUTE=ON ..
      
      $ ninja unittest
      ......
      The following tests FAILED:
      	 11 - arrow-stl-test (Failed)
      	 14 - arrow-diff-test (Failed)
      	 22 - arrow-compute-internals-test (Failed)
      	 23 - arrow-compute-scalar-test (Failed)
      	 24 - arrow-compute-vector-test (Failed)
      	 25 - arrow-compute-aggregate-test (Failed)
      
      $ release/arrow-stl-test
      ......
      Illegal instruction
      
      $ lscpu
      ......
      Model name:          Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
      

      Using git bitsect I find the PR causes this error, https://github.com/apache/arrow/pull/7700

      frankdu, would you double check it? thanks.

      Attachments

        1. avx512-workaround.diff
          3 kB
          Yibo Cai
        2. CMakeCache.txt
          25 kB
          Yibo Cai

        Issue Links

          Activity

            People

              frank.du Frank Du
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 1h 40m
                  1h 40m