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

StringCompareTest fails under ASAN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.8.0
    • Backend

    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

            dhecht Daniel Hecht
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: