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

Runtime error when using OPT and ENCRYPT and the dataset is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2.18
    • Fix Version/s: 6.4.2
    • Component/s: Thor
    • Labels:
      None
    • Environment:
      Centos 6.5

      Description

      When using the OPT and ENCRYPT options on a DATASET declaration, and the dataset is missing, Thor cores.

      Sample code:
      ll :=

      { INTEGER id; STRING somedata; STRING moredata; }

      ;

      ds1 := DATASET('~temp::afile', ll, THOR, ENCRYPT('samplePasswordHere'), OPT);
      ds2 := DEDUP(SORT(ds1, id, moredata), id);
      ds2;

      Stack trace:
      00000076 2017-07-11 08:34:49.587 10995 11218 "Processing graph - graph(graph1, 1)"
      00000077 2017-07-11 08:34:49.593 10995 11218 "deserializeMPTag: tag = 65546"
      00000078 2017-07-11 08:34:49.593 10995 11218 "deserializeMPTag: tag = 65545"
      00000079 2017-07-11 08:34:49.593 10995 11218 "deserializeMPTag: tag = 65539"
      0000007A 2017-07-11 08:34:49.593 10995 11218 "deserializeMPTag: tag = 65541"
      0000007B 2017-07-11 08:34:49.593 10995 11218 "deserializeMPTag: tag = 65540"
      0000007C 2017-07-11 08:34:49.593 10995 11218 "MSortSlaveActivity::init portbase = 7002, mpTagRPC = 65541 - activity(ch=0, sort, 3)"
      0000007D 2017-07-11 08:34:49.593 10995 11219 "Creating SortSlaveServer on tag 65541 MP - activity(ch=0, sort, 3)"
      0000007E 2017-07-11 08:34:49.595 10995 11218 "Watchdog: Start Job 1"
      0000007F 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, workunitwrite, 8)"
      00000080 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, firstn, 7)"
      00000081 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, degroup, 6)"
      00000082 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, dedup, 5)"
      00000083 2017-07-11 08:34:49.595 10995 11217 "GROUP: is global - activity(ch=0, group, 4)"
      00000084 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, group, 4)"
      00000085 2017-07-11 08:34:49.595 10995 11217 "Starting input 0 - activity(ch=0, sort, 3)"
      00000086 2017-07-11 08:34:49.595 10995 11217 "ITDL starting for output 0 - activity(ch=0, diskread, 2)"
      00000087 2017-07-11 08:34:49.595 10995 11217 "Backtrace:"
      00000088 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(+0xd0958) [0x7f5478cb7958]"
      00000089 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(_Z20raiseAssertExceptionPKcS0_j+0x79) [0x7f5478cb91f9]"
      0000008A 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN26CDiskReadSlaveActivityBase5startEv+0xf0) [0x7f547d8193c0]"
      0000008B 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN22CDiskReadSlaveActivity5startEv+0x51) [0x7f547d785991]"
      0000008C 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      0000008D 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      0000008E 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN18MSortSlaveActivity5startEv+0x5b) [0x7f547d7f3dcb]"
      0000008F 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      00000090 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      00000091 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN18GroupSlaveActivity5startEv+0x7e) [0x7f547d79860e]"
      00000092 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      00000093 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      00000094 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN23CDedupBaseSlaveActivity5startEv+0x54) [0x7f547d80e7d4]"
      00000095 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      00000096 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      00000097 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN21CDegroupSlaveActivity5startEv+0x4d) [0x7f547d781c5d]"
      00000098 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      00000099 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      0000009A 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN18CFirstNSlaveGlobal5startEv+0xb9) [0x7f547d792ba9]"
      0000009B 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity10startInputEjPKc+0x83) [0x7f547d483783]"
      0000009C 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libgraphslave_lcr.so(_ZN14CSlaveActivity5startEv+0x24) [0x7f547d483824]"
      0000009D 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN37CWorkUnitWriteGlobalSlaveBaseActivity7processEv+0x22) [0x7f547d81f9d2]"
      0000009E 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN20ProcessSlaveActivity4mainEv+0x4f) [0x7f547d76f3cf]"
      0000009F 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(_ZN19CThreadedPersistent4mainEv+0x4d) [0x7f5478ca2c2d]"
      000000A0 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(_ZN19CThreadedPersistent8CAThread3runEv+0x10) [0x7f5478d5dd00]"
      000000A1 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread5beginEv+0x2c) [0x7f5478d5701c]"
      000000A2 2017-07-11 08:34:49.598 10995 11217 " /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread11_threadmainEPv+0x1e) [0x7f5478d589de]"
      000000A3 2017-07-11 08:34:49.598 10995 11217 " /lib64/libpthread.so.0() [0x3ad90079d1]"
      000000A4 2017-07-11 08:34:49.598 10995 11217 " /lib64/libc.so.6(clone+0x6d) [0x3ad8ce8b6d]"
      000000A5 2017-07-11 08:34:49.598 10995 11217 "ERROR: assert(SELF::isItem(pos)) failed - file: /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-6.2.18-1/LN/centos-6.0-x86_64/HPCC-Platform/thorlcr/activities/./../../system/jlib/jarray.hpp, line 241"

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              ubarsmx Matt Barsalou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: