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

Invalid memory access in csvread (sanitize error)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.6
    • Component/s: eclrtl, Roxie
    • Labels:
      None

      Description

      I haven't investigated which of the c*.ecl examples triggers this warning:

      ==25034== Thread 58:
      ==25034== Conditional jump or move depends on uninitialised value(s)
      ==25034==    at 0x6A5B649: rtlCodepageToCodepageX(unsigned int&, char*&, unsigned int, unsigned int, char const*, char const*, char const*) (eclrtl.cpp:3657)
      ==25034==    by 0x6A60ADA: rtlUtf8ToCodepageX(unsigned int&, char*&, unsigned int, char const*, char const*) (eclrtl.cpp:5250)
      ==25034==    by 0x57C65AD5: cAc26::transform(ARowBuilder&, unsigned int*, char const**) (in /home/gavin/hpcc/var/lib/HPCCSystems/queries/myroxie/libW20200408-161852.so)
      ==25034==    by 0x4CF20FB: CRoxieServerCsvReadActivity::nextRow() (ccdserver.cpp:22476)
      ==25034==    by 0x4C73AD6: CRoxieServerThroughSpillActivity::readBuffered(unsigned int&, unsigned int) (ccdserver.cpp:9117)
      ==25034==    by 0x4C71FCB: CRoxieServerThroughSpillActivity::OutputAdaptor::nextRow() (ccdserver.cpp:8961)
      ==25034==    by 0x4CE6378: CRoxieServerWorkUnitWriteActivity::onExecute() (ccdserver.cpp:21513)
      ==25034==    by 0x4C3CEAE: CRoxieServerInternalSinkActivity::execute(unsigned int, unsigned char const*) (ccdserver.cpp:2876)
      ==25034==    by 0x4D2ACB2: CActivityGraph::SinkThread::threadmain() (ccdserver.cpp:27417)
      ==25034==    by 0x7094754: CThreadedPersistent::threadmain() (jthread.cpp:589)
      ==25034==    by 0x70975FC: CThreadedPersistent::CAThread::run() (jthread.hpp:181)
      ==25034==    by 0x7092E9A: Thread::begin() (jthread.cpp:291)
      ==25034==    by 0x70925DD: Thread::_threadmain(void*) (jthread.cpp:137)
      ==25034==    by 0x639B668: start_thread (pthread_create.c:479)
      ==25034==    by 0x5C1E322: clone (clone.S:95)
      ==25034== 
      ==25034== Conditional jump or move depends on uninitialised value(s)
      ==25034==    at 0x7A46A1C: ucnv_convertEx_63 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.63.2)
      ==25034==    by 0x6A5B697: rtlCodepageToCodepageX(unsigned int&, char*&, unsigned int, unsigned int, char const*, char const*, char const*) (eclrtl.cpp:3657)
      ==25034==    by 0x6A60ADA: rtlUtf8ToCodepageX(unsigned int&, char*&, unsigned int, char const*, char const*) (eclrtl.cpp:5250)
      ==25034==    by 0x57C65AD5: cAc26::transform(ARowBuilder&, unsigned int*, char const**) (in /home/gavin/hpcc/var/lib/HPCCSystems/queries/myroxie/libW20200408-161852.so)
      ==25034==    by 0x4CF20FB: CRoxieServerCsvReadActivity::nextRow() (ccdserver.cpp:22476)
      ==25034==    by 0x4C73AD6: CRoxieServerThroughSpillActivity::readBuffered(unsigned int&, unsigned int) (ccdserver.cpp:9117)
      ==25034==    by 0x4C71FCB: CRoxieServerThroughSpillActivity::OutputAdaptor::nextRow() (ccdserver.cpp:8961)
      ==25034==    by 0x4CE6378: CRoxieServerWorkUnitWriteActivity::onExecute() (ccdserver.cpp:21513)
      ==25034==    by 0x4C3CEAE: CRoxieServerInternalSinkActivity::execute(unsigned int, unsigned char const*) (ccdserver.cpp:2876)
      ==25034==    by 0x4D2ACB2: CActivityGraph::SinkThread::threadmain() (ccdserver.cpp:27417)
      ==25034==    by 0x7094754: CThreadedPersistent::threadmain() (jthread.cpp:589)
      ==25034==    by 0x70975FC: CThreadedPersistent::CAThread::run() (jthread.hpp:181)
      ==25034==    by 0x7092E9A: Thread::begin() (jthread.cpp:291)
      ==25034==    by 0x70925DD: Thread::_threadmain(void*) (jthread.cpp:137)
      ==25034==    by 0x639B668: start_thread (pthread_create.c:479)
      ==25034==    by 0x5C1E322: clone (clone.S:95)
      ==25034== 
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: