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

valgrind reports uninitialized value in hql

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      Running Roxie under valgrind, I ran the regression suite setup command:

      ecl-test setup -t=roxie

      and got the following report:

      ==54954== Thread 22:
      ==54954== Conditional jump or move depends on uninitialised value(s)
      ==54954== at 0x95BDC70: HqlLookupContext::HqlLookupContext(HqlParseContext&, IErrorReceiver*) (hqlexpr.hpp:990)
      ==54954== by 0x95BDCCD: HqlDummyLookupContext::HqlDummyLookupContext(IErrorReceiver*) (hqlexpr.hpp:1042)
      ==54954== by 0x96725FE: parseQuery(char const*, IErrorReceiver*) (hqlgram2.cpp:12338)
      ==54954== by 0x606A7CB: getDaliLayoutInfo(IPropertyTree const&) (thorcommon.cpp:2037)
      ==54954== by 0x52265C6: CResolvedFile::addFile(char const*, IFileDescriptor*, IFileDescriptor*) (ccdfile.cpp:1844)
      ==54954== by 0x5227390: CResolvedFile::CResolvedFile(char const*, char const*, IDistributedFile*, RoxieFileType, IRoxieDaliHelper*, bool, bool, bool, bool) (ccdfile.cpp:1931)
      ==54954== by 0x521E3ED: createResolvedFile(char const*, char const*, IDistributedFile*, IRoxieDaliHelper*, bool, bool, bool) (ccdfile.cpp:2595)
      ==54954== by 0x529B6FF: CRoxiePackageNode::resolveLFNusingDaliOrLocal(char const*, bool, bool, bool, bool, bool) (ccdstate.cpp:479)
      ==54954== by 0x529CE9D: CRoxiePackageNode::createFileName(char const*, bool, bool, StringArray const&, IConstWorkUnit*) const (ccdstate.cpp:705)
      ==54954== by 0x5167624: CRoxieServerContext::createLFN(char const*, bool, bool, StringArray const&) (ccdcontext.cpp:3630)
      ==54954== by 0x51B3B66: CRoxieServerDiskWriteActivity::resolve() (ccdserver.cpp:11601)
      ==54954== by 0x51B4216: CRoxieServerDiskWriteActivity::start(unsigned int, unsigned char const*, bool) (ccdserver.cpp:11634)
      ==54954==

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: