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

Crash in CKeyCursor::next caused by race condition in dafilesrv streaming code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 7.2.0
    • Fix Version/s: None
    • Component/s: dafilesrv
    • Labels:
      None
    • Compatibility:
      Point

      Description

      This seems to be an intermittent issue, hit whilst running remoteread(optForceRemote=true).
      Dafilesrv hits this stack:

      00000055 2019-03-13 19:05:58.640  7247 17411 "================================================"
      00000056 2019-03-13 19:05:58.640  7247 17411 "Program:   10.241.40.11:/mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/bin/dafilesrv"
      00000057 2019-03-13 19:05:58.640  7247 17411 "Signal:    11 Segmentation fault"
      00000058 2019-03-13 19:05:58.640  7247 17411 "Fault IP:  00007FDA91E25341"
      00000059 2019-03-13 19:05:58.640  7247 17411 "Accessing: 0000000000000000"
      0000005A 2019-03-13 19:05:58.640  7247 17411 "Backtrace:"
      0000005B 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libjhtree.so(_ZN10CKeyCursor4nextEPcR17KeyStatsCollector+0x31) [0x7fda91e25341]"
      0000005C 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libjhtree.so(_ZN10CKeyCursor7_lookupEbjR17KeyStatsCollector+0x5f) [0x7fda91e2568f]"
      0000005D 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN24CRemoteIndexReadActivity7nextRowER19MemoryBufferBuilderRj+0x7b) [0x7fda920bfd8b]"
      0000005E 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN14CRemoteRequest11processReadEP13IPropertyTreeR12MemoryBuffer+0x424) [0x7fda920cbd54]"
      0000005F 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN17CRemoteFileServer15cmdStreamCommonEP13IPropertyTreeR12MemoryBufferS3_RNS_20CRemoteClientHandlerE+0x340) [0x7fda920d16d0]"
      00000060 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN17CRemoteFileServer19cmdStreamReadCommonER12MemoryBufferS1_RNS_20CRemoteClientHandlerE+0x4e) [0x7fda920d22fe]"
      00000061 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN17CRemoteFileServer14processCommandEhR12MemoryBufferS1_PNS_20CRemoteClientHandlerEPNS_10CThrottlerE+0x27c) [0x7fda920d328c]"
      00000062 2019-03-13 19:05:58.640  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN17CRemoteFileServer10CThrottler10addCommandEhR12MemoryBufferPNS_20CRemoteClientHandlerE+0x1dc) [0x7fda920d53fc]"
      00000063 2019-03-13 19:05:58.641  7247 17411 "  /mnt/disk1/home/vamosax/smoketest/PR-12186/hpcc/opt/HPCCSystems/lib/libremote.so(_ZN17CRemoteFileServer17cCommandProcessor10threadmainEv+0x1e6) [0x7fda920d7336]"
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: