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

Submitting archive_date2str.xml for compilation causing esp crashing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: ESP
    • Labels:
      None

      Description

      I tried submitting a query for compilation & execution using eclplus:

      eclplus action=query cluster=thor server=http://localhost:8010 -fsaveCppTempFiles=true -fspanMultipleCpp=0 -g @ZAPReport_W20170801-071449-5_.ecl

      It caused esp to crash.

      Here's the output & stack trace from GDB:

      Thread 18 "esp" received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0x7f1e67fff700 (LWP 26840)]
      0x00007f1e9a92713a in CEspContext::querySignature (this=0x7f1e600071f0)
      {{ at /home/shamser/HPCC-Platform/esp/platform/espcontext.cpp:184}}
      184 return m_user->credentials().getSignature();
      (gdb) where
      #0 0x00007f1e9a92713a in CEspContext::querySignature (this=0x7f1e600071f0)
      {{ at /home/shamser/HPCC-Platform/esp/platform/espcontext.cpp:184}}
      #1 0x00007f1e7d49870f in ws_workunits::WsWuInfo::getSourceFiles (this=0x7f1e67ffd880, info=..., flags=4294967295)
      {{ at /home/shamser/HPCC-Platform/esp/services/ws_workunits/ws_workunitsHelpers.cpp:208}}
      #2 0x00007f1e7d49dd82 in ws_workunits::WsWuInfo::getInfo (this=0x7f1e67ffd880, info=..., flags=4294967295)
      {{ at /home/shamser/HPCC-Platform/esp/services/ws_workunits/ws_workunitsHelpers.cpp:996}}
      #3 0x00007f1e7d46dce0 in CWsWorkunitsEx::onWUUpdate (this=0x560e197fcfb0, context=..., req=..., resp=...)
      {{ at /home/shamser/HPCC-Platform/esp/services/ws_workunits/ws_workunitsService.cpp:576}}
      {{#4 0x00007f1e7d2cb33e in ws_workunits::CWsWorkunitsSoapBinding::processRequest (this=0x560e19809bc0, rpc_call=0x7f1e60002b40, }}
      {{ rpc_response=0x7f1e60002a30) at /home/shamser/HPCC-Platform/build/generated/ws_workunits.esp:64410}}
      #5 0x00007f1e9a9206c2 in CSoapService::processRequest (this=0x7f1e60007a40, req=..., resp=...)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/SOAP/Platform/soapservice.cpp:234}}
      #6 0x00007f1e9a912836 in CHttpSoapBinding::HandleSoapRequest (this=0x560e19809bc0, request=0x7f1e60006fe0, response=0x7f1e60005730)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/SOAP/Platform/soapbind.cpp:178}}
      #7 0x00007f1e9a91207f in CHttpSoapBinding::onSoapRequest (this=0x560e19809bc0, request=0x7f1e60006fe0, response=0x7f1e60005730)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/SOAP/Platform/soapbind.cpp:114}}
      #8 0x00007f1e9a8d4db2 in EspHttpBinding::handleHttpPost (this=0x560e19809bf0, request=0x7f1e60006fe0, response=0x7f1e60005730)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/http/platform/httpbinding.cpp:719}}
      #9 0x00007f1e9a8e9f36 in CEspHttpServer::processRequest (this=0x7f1e60004530)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/http/platform/httpservice.cpp:356}}
      #10 0x00007f1e9a8e6491 in CHttpThread::onRequest (this=0x7f1e6819bbe0)
      {{ at /home/shamser/HPCC-Platform/esp/bindings/http/platform/httpprot.cpp:465}}
      #11 0x00007f1e9a92dd44 in CEspProtocolThread::run (this=0x7f1e6819bbe0)
      {{ at /home/shamser/HPCC-Platform/esp/platform/espthread.cpp:183}}
      #12 0x00007f1e99a4d231 in Thread::begin (this=0x7f1e6819bbe0) at /home/shamser/HPCC-Platform/system/jlib/jthread.cpp:272
      #13 0x00007f1e99a4cc7b in Thread::_threadmain (v=0x7f1e6819bbe0) at /home/shamser/HPCC-Platform/system/jlib/jthread.cpp:118
      #14 0x00007f1e9867c6ca in start_thread (arg=0x7f1e67fff700) at pthread_create.c:333
      #15 0x00007f1e98de4caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

       

       

        Attachments

          Activity

            People

            • Assignee:
              russwhitehead Russ Whitehead
              Reporter:
              shamser Shamser Ahmed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: