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

Deleting a library while a query is running causes problems

    Details

    • Type: Bug
    • Status: New
    • Priority: Not specified
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Roxie
    • Labels:
      None

      Description

      This may or may not be the cause of the issues that Mark Kelly has been investigating.  However, adding a a sleep(60000), just before the call to cleanupGraphs() in endGraph (ccdcontext.cpp) triggers the following in a debug build:

      #0  0x00007ffff7731c72 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #1  0x00007ffff581b79d in raiseAssertException (assertion=0x7ffff7ea7560 "!_idx", 
          file=0x7ffff7ea74b0 "/home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp", line=510) at /home/gavin/dev/hpcc/system/jlib/jexcept.cpp:660
      #2  0x00007ffff7c70223 in CRoxieServerActivityFactoryBase::noteProcessed (this=0x5555586c2b10, _idx=1, _processed=0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:510
      #3  0x00007ffff7c7a4ef in CRoxieServerActivity::addEdgeStats (this=0x7ffec0007640, statsBuilder=0x0, oid=1, starts=0, _processed=0, _strands=0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:1670
      #4  0x00007ffff7cbc85a in CRoxieServerThroughSpillActivity::updateEdgeStats (this=0x7ffec0007640, statsBuilder=0x0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:9330
      #5  0x00007ffff7c74ee7 in CRoxieServerActivity::gatherStatistics (this=0x7ffec0007640, statsBuilder=0x0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:1058
      #6  0x00007ffff7d75cfb in CActivityGraph::gatherStatistics (this=0x7ffec0006cc0, statsBuilder=0x0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:27751
      #7  0x00007ffff7d00908 in CRoxieServerLibraryCallActivity::gatherStatistics (this=0x7ffec0004a00, statsBuilder=0x0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:16612
      #8  0x00007ffff7d75cfb in CActivityGraph::gatherStatistics (this=0x7ffec0003c10, statsBuilder=0x0)
          at /home/gavin/dev/hpcc/roxie/ccd/ccdserver.cpp:27751
      #9  0x00007ffff7c2248b in CRoxieContextBase::cleanupGraphs (this=0x7ffec0001a70) at /home/gavin/dev/hpcc/roxie/ccd/ccdcontext.cpp:1551
      #10 0x00007ffff7c2220c in CRoxieContextBase::endGraph (this=0x7ffec0001a70, startTimeStamp=1587726819765021, startCycles=28910266887327, 
          aborting=false) at /home/gavin/dev/hpcc/roxie/ccd/ccdcontext.cpp:1537
      

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: