Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4493

StringCompareTest fails under ASAN

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Backend
    • Labels:

      Description

      I ran into this on a private build but it looks like we will hit it with the ASAN build.

      [==========] Running 1 test from 1 test case.
      [----------] Global test environment set-up.
      [----------] 1 test from StringCompareTest
      [ RUN      ] StringCompareTest.Basic
      be/src/runtime/string-compare-test.cc:32: Failure
      Value of: StringCompare(l.c_str(), l.size(), r.c_str(), r.size(), cmp_len)
        Actual: 126
      Expected: strncmp(l.c_str(), r.c_str(), cmp_len)
      Which is: 1
      be/src/runtime/string-compare-test.cc:32: Failure
      Value of: StringCompare(l.c_str(), l.size(), r.c_str(), r.size(), cmp_len)
        Actual: -126
      Expected: strncmp(l.c_str(), r.c_str(), cmp_len)
      Which is: -1
      be/src/runtime/string-compare-test.cc:32: Failure
      Value of: StringCompare(l.c_str(), l.size(), r.c_str(), r.size(), cmp_len)
        Actual: 127
      Expected: strncmp(l.c_str(), r.c_str(), cmp_len)
      Which is: 1
      be/src/runtime/string-compare-test.cc:32: Failure
      Value of: StringCompare(l.c_str(), l.size(), r.c_str(), r.size(), cmp_len)
        Actual: -127
      Expected: strncmp(l.c_str(), r.c_str(), cmp_len)
      Which is: -1
      be/src/runtime/string-compare-test.cc:32: Failure
      Value of: StringCompare(l.c_str(), l.size(), r.c_str(), r.size(), cmp_len)
        Actual: 254
      

        Attachments

          Activity

            People

            • Assignee:
              dhecht Dan Hecht
              Reporter:
              tarmstrong Tim Armstrong
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: