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

Crash in parseQuery

    XMLWordPrintable

    Details

      Description

      Workunit = W20190418-122246

      stack from slave log:

      00003E6B 2019-04-18 14:10:21.461 1666798 370028 "================================================"
      00003E6C 2019-04-18 14:10:21.461 1666798 370028 "Program:   10.194.198.94:/mnt/disk1/HPCCSystems/bin/thorslave_lcr"
      00003E6D 2019-04-18 14:10:21.461 1666798 370028 "Signal:    11 Segmentation fault"
      00003E6E 2019-04-18 14:10:21.461 1666798 370028 "Fault IP:  00007FC8BDA7DE2A"
      00003E6F 2019-04-18 14:10:21.461 1666798 370028 "Accessing: 00000000000002D1"
      00003E70 2019-04-18 14:10:21.461 1666798 370028 "Backtrace:"
      00003E71 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_ZNK12CInterfaceOfI14IHqlExpressionE7ReleaseEv+0x4a) [0x7fc8bda7de2a]"
      00003E72 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_ZN7HqlGram8addFieldERK9attributeP7IIdAtomP9ITypeInfoP14IHqlExpressionS8_+0x3ff) [0x7fc8bdac807f]"
      00003E73 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_Z10eclyyparseP7HqlGram+0x3d0e7) [0x7fc8bdb9b017]"
      00003E74 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_ZN7HqlGram7doParseEv+0x9e) [0x7fc8bdad592e]"
      00003E75 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_ZN7HqlGram7yyParseEbb+0x18) [0x7fc8bdad5ee8]"
      00003E76 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_Z10parseQueryP9IHqlScopeP13IFileContentsR16HqlLookupContextP9IXmlScopeP11IPropertiesbb+0xf2) [0x7fc8bdad6302]"
      00003E77 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libhql.so(_Z10parseQueryPKcP14IErrorReceiver+0x2bd) [0x7fc8bdad797d]"
      00003E78 2019-04-18 14:10:21.463 1666798 370028 "  /opt/HPCCSystems/lib/libthorhelper.so(_Z17getDaliLayoutInfoRK13IPropertyTree+0x170) [0x7fc8be593b30]"
      00003E79 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN22CDiskRecordPartHandler4openEv+0x36c) [0x7fc8bf97d71c]"
      00003E7A 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN20CDiskPartHandlerBase7setPartEP15IPartDescriptor+0x186) [0x7fc8bfa33246]"
      00003E7B 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(+0x1a1863) [0x7fc8bfa2e863]"
      00003E7C 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN22CDiskReadSlaveActivity7nextRowEv+0x5f) [0x7fc8bf981cef]"
      00003E7D 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN23CLookupJoinActivityBaseI9CLookupHTE6getRHSEb+0x190) [0x7fc8bf9fd0c0]"
      00003E7E 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN23CLookupJoinActivityBaseI9CLookupHTE7nextRowEv+0x66) [0x7fc8bf9fd996]"
      00003E7F 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libactivityslaves_lcr.so(_ZN19CRowStreamLookAhead7CThread3runEv+0xb4) [0x7fc8bfa30ff4]"
      00003E80 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread5beginEv+0x2c) [0x7fc8b9f2f65c]"
      00003E81 2019-04-18 14:10:21.464 1666798 370028 "  /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread11_threadmainEPv+0x1e) [0x7fc8b9f311de]"
      00003E82 2019-04-18 14:10:21.464 1666798 370028 "  /usr/lib64/libpthread.so.0(+0x7dd5) [0x7fc8b841ddd5]"
      00003E83 2019-04-18 14:10:21.464 1666798 370028 "  /usr/lib64/libc.so.6(clone+0x6d) [0x7fc8b8146ead]"
      00003E84 2019-04-18 14:10:21.464 1666798 370028 "Registers:"
      00003E85 2019-04-18 14:10:21.464 1666798 370028 "EAX:0000000000000051  EBX:0000000000000001  ECX:000000003FFFFFFF  EDX:00007FC76C005008  ESI:0000000000000000  EDI:00007FC76C005000"
      00003E86 2019-04-18 14:10:21.464 1666798 370028 "R8 :00007FC76C00D500  R9 :00007FC8BDEC4930  R10:00007FC76C00D500  R11:0000000000000206"
      00003E87 2019-04-18 14:10:21.464 1666798 370028 "R12:00007FC76C005000  R13:0000000000000000  R14:0000000000000000  R15:0000000000000000"
      00003E88 2019-04-18 14:10:21.464 1666798 370028 "CS:EIP:0033:00007FC8BDA7DE2A"
      00003E89 2019-04-18 14:10:21.464 1666798 370028 "   ESP:00007FC6EB7EB550  EBP:00007FC76C005000"
      00003E8A 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB550]: 00007FC700000000 AC00337000007FC7 00007FC8AC003370 9000252000007FC8 00007FC790002520 AC00337000007FC7 00007FC8AC003370 9000252000007FC8"
      00003E8B 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB570]: 00007FC790002520 BDAC807F00007FC7 00007FC8BDAC807F 0000065E00007FC8 000000000000065E EB7EDAA000000000 00007FC6EB7EDAA0 EB7EBA6800007FC6"
      00003E8C 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB590]: 00007FC6EB7EBA68 9000336000007FC6 00007FC790003360 EB7EB86600007FC7 00007FC6EB7EB866 BDAFDC4600007FC6 00007FC8BDAFDC46 01DBAE8000007FC8"
      00003E8D 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB5B0]: 0000000001DBAE80 BDC5B22000000000 00007FC8BDC5B220 0000009400007FC8 0000000000000094 B9E7402400000000 00007FC8B9E74024 EB7EDAA000007FC8"
      00003E8E 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB5D0]: 00007FC6EB7EDAA0 BDAA871D00007FC6 00007FC8BDAA871D 0000033900007FC8 0000000000000339 0000000000000000 0000000000000000 9000252000000000"
      00003E8F 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB5F0]: 00007FC790002520 0000000000007FC7 0000000000000000 00000C3F00000000 0000000000000C3F EB7EBAB800000000 00007FC6EB7EBAB8 0000000100007FC6"
      00003E90 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB610]: 0000000000000001 BDB9B01700000000 00007FC8BDB9B017 0000000000007FC8 0000000000000000 0000000000000000 0000000000000000 0000000000000000"
      00003E91 2019-04-18 14:10:21.464 1666798 370028 "Stack[00007FC6EB7EB630]: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000"
      

      stack from gdb core:

      (gdb) where
      #0  0x00007fc8bda7de2a in CInterfaceOf<IHqlExpression>::Release (this=0x7fc76c005000) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/./../../system/jlib/jiface.hpp:135
      #1  0x00007fc8bdac807f in Release<IHqlExpression> (ptr=0x7fc76c005000) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/./../../system/jlib/jscm.hpp:46
      #2  ~Shared (this=<synthetic pointer>, __in_chrg=<optimized out>) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/./../../system/jlib/jscm.hpp:62
      #3  ~Owned (this=<synthetic pointer>, __in_chrg=<optimized out>) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/./../../system/jlib/jscm.hpp:99
      #4  HqlGram::addField (this=this@entry=0x7fc6eb7edaa0, errpos=..., name=0x7fc790003360, _type=_type@entry=0x7fc790002520, _value=_value@entry=0x0, attrs=attrs@entry=0x0)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram2.cpp:2739
      #5  0x00007fc8bdb9b017 in eclyyparse (parser=parser@entry=0x7fc6eb7edaa0) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram.y:4658
      #6  0x00007fc8bdad592e in HqlGram::doParse (this=this@entry=0x7fc6eb7edaa0) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram2.cpp:12635
      #7  0x00007fc8bdad5ee8 in HqlGram::yyParse (this=this@entry=0x7fc6eb7edaa0, _parsingTemplateAttribute=_parsingTemplateAttribute@entry=false, catchAbort=catchAbort@entry=true)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram2.cpp:12585
      #8  0x00007fc8bdad6302 in parseQuery (scope=scope@entry=0x7fc76c005ec8, contents=contents@entry=0x7fc76c010410, ctx=..., xmlScope=xmlScope@entry=0x0, macroParams=macroParams@entry=0x0, loadImplicit=loadImplicit@entry=true, 
          isRoot=isRoot@entry=true) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram2.cpp:12206
      #9  0x00007fc8bdad797d in parseQuery (text=0x7fc76c00ed00 "RECORD\n  unsigned2 v21;\n  unsigned2 v12;\n  unsigned2 v8;\n  real8 factor;\n END;\n", errs=errs@entry=0x7fc6eb7edf90)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/ecl/hql/hqlgram2.cpp:12282
      #10 0x00007fc8be593b30 in getDaliLayoutInfo (props=...) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/common/thorhelper/thorcommon.cpp:2027
      #11 0x00007fc8bf97d71c in getTranslators (partDesc=..., this=0x7fc7a4066b60) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/diskread/thdiskreadslave.cpp:83
      #12 CDiskRecordPartHandler::open (this=0x7fc7a43ef060) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/diskread/thdiskreadslave.cpp:267
      #13 0x00007fc8bfa33246 in CDiskPartHandlerBase::setPart (this=0x7fc7a43ef060, _partDesc=0x7fc7a43cf430)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/thdiskbaseslave.cpp:112
      #14 0x00007fc8bfa2e863 in CSeqPartHandler::nextRow (this=0x7fc798007300) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/thactivityutil.cpp:888
      #15 0x00007fc8bf981cef in nextRowNoCatch (this=0x7fc7a4066b60) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/diskread/thdiskreadslave.cpp:654
      #16 CDiskReadSlaveActivity::nextRow (this=0x7fc7a4066b60) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/diskread/thdiskreadslave.cpp:649
      #17 0x00007fc8bf9fd0c0 in handleLocalRHS (cmp=<optimized out>, right=0x7fc7a4066ca8, this=0x7fc7a40673c0)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/lookupjoin/thlookupjoinslave.cpp:2202
      #18 CLookupJoinActivityBase<CLookupHT>::getRHS (this=this@entry=0x7fc7a40673c0, stopping=stopping@entry=false)
          at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/lookupjoin/thlookupjoinslave.cpp:2524
      #19 0x00007fc8bf9fd996 in nextRowNoCatch (this=0x7fc7a40673c0) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/lookupjoin/thlookupjoinslave.cpp:2736
      #20 CLookupJoinActivityBase<CLookupHT>::nextRow (this=0x7fc7a40673c0) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/lookupjoin/thlookupjoinslave.cpp:2731
      #21 0x00007fc8bfa30ff4 in ungroupedNextRow (this=0x7fc7a4067508) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/./../../system/jlib/jio.hpp:163
      #22 run (this=<optimized out>, this=<optimized out>, this=<optimized out>) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/thactivityutil.cpp:132
      #23 CRowStreamLookAhead::CThread::run (this=<optimized out>) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/thorlcr/activities/thactivityutil.cpp:80
      #24 0x00007fc8b9f2f65c in Thread::begin (this=0x7fc7780038c8) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/system/jlib/jthread.cpp:267
      #25 0x00007fc8b9f311de in Thread::_threadmain (v=0x7fc7780038c8) at /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.0.30-rc1/LN/centos-7.0-x86_64/HPCC-Platform/system/jlib/jthread.cpp:113
      #26 0x00007fc8b841ddd5 in start_thread () from /usr/lib64/libpthread.so.0
      #27 0x00007fc8b8146ead in clone () from /usr/lib64/libc.so.6
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: