Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-16042

betweenjoin.ecl accesses uninitialised data

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 6.0.6
    • Component/s: Thor
    • Labels:
      None
    • Compatibility:
      Point

      Description

      Running betweenjoin.ecl under valgrind (debug build) gives the following warning:

      ==10129== Conditional jump or move depends on uninitialised value(s)
      ==10129==    at 0x6C86BA4: CJoinHelper::nextRow() (thsortu.cpp:832)
      ==10129==    by 0x6C404FD: nextRowNoCatch (thjoinslave.cpp:418)
      ==10129==    by 0x6C404FD: JoinSlaveActivity::nextRow() (thjoinslave.cpp:413)
      ==10129==    by 0x4F9951C: IRowStream::ungroupedNextRow() (jio.hpp:158)
      ==10129==    by 0x6CA7DBC: CRowStreamLookAhead::run() (thactivityutil.cpp:132)
      ==10129==    by 0x6CA789E: CRowStreamLookAhead::CThread::run() (thactivityutil.cpp:80)
      ==10129==    by 0x503DF58: Thread::begin() (jthread.cpp:272)
      ==10129==    by 0x503D9E5: Thread::_threadmain(void*) (jthread.cpp:118)
      ==10129==    by 0x794A183: start_thread (pthread_create.c:312)
      ==10129==    by 0x7C5A37C: clone (clone.S:111)
      

      Which corresponds to the line

      memset(rightgroupmatched,rightmatched?1:0,rightgroup.ordinality());

      I assume rightmatched is not initialised.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: