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

Crash in roxiemem::ParallelReleaseRoxieRowArray

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: Memory Manager
    • Labels:
      None

      Description

      Seen when running some regression tests (but not very reproducible)

      0001E437 2015-11-29 00:52:19.070 12454 24414 "Backtrace:"
      0001E438 2015-11-29 00:52:19.071 12454 24414 "  /opt/HPCCSystems/lib/libjlib.so(+0xd9268) [0x7fedfee77268]"
      0001E439 2015-11-29 00:52:19.071 12454 24414 "  /opt/HPCCSystems/lib/libjlib.so(_Z13excsighandleriP7siginfoPv+0x1fc) [0x7fedfee78c3c]"
      0001E43A 2015-11-29 00:52:19.071 12454 24414 "  /usr/lib/jvm/jre/lib/amd64/server/libjvm.so(+0x7e2f84) [0x7fde1d6e5f84]"
      0001E43B 2015-11-29 00:52:19.071 12454 24414 "  /usr/lib/jvm/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0x95) [0x7fde1d6ec3f5]"
      0001E43C 2015-11-29 00:52:19.071 12454 24414 "  /lib64/libpthread.so.0() [0x3c17e0f710]"
      0001E43D 2015-11-29 00:52:19.071 12454 24414 "  /lib64/libc.so.6(memcpy+0x103) [0x3c17a89773]"
      0001E43E 2015-11-29 00:52:19.071 12454 24414 "  /usr/lib64/libtbb.so.2(+0x143f1) [0x7fedfb6773f1]"
      0001E43F 2015-11-29 00:52:19.071 12454 24414 "  /usr/lib64/libtbb.so.2(+0x15d71) [0x7fedfb678d71]"
      0001E440 2015-11-29 00:52:19.071 12454 24414 "  /opt/HPCCSystems/lib/libroxiemem.so(_ZN8roxiemem28ParallelReleaseRoxieRowArrayEmPPKv+0xd2) [0x7fedfb89c3c2]"
      0001E441 2015-11-29 00:52:19.071 12454 24414 "  /opt/HPCCSystems/lib/libgraph_lcr.so(_ZN22CThorExpandingRowArray9clearRowsEv+0x10) [0x7fedfce642c0]"
      0001E442 2015-11-29 00:52:19.072 12454 24414 "  /opt/HPCCSystems/lib/libgraph_lcr.so(_ZN22CThorExpandingRowArray4killEv+0x9) [0x7fedfce643b9]"
      0001E443 2015-11-29 00:52:19.072 12454 24414 "  /opt/HPCCSystems/lib/libthorsort_lcr.so(_ZN11SortSlaveMP8marshallER12ISortSlaveMPP13ICommunicator7mptag_t+0x15e) [0x7fedfc9de66e]"
      0001E444 2015-11-29 00:52:19.072 12454 24414 "  /opt/HPCCSystems/lib/libthorsort_lcr.so(_ZN11CThorSorter4mainEv+0x37) [0x7fedfc9ca797]"
      0001E445 2015-11-29 00:52:19.072 12454 24414 "  ./thorslave_mythor(_ZN9CThreaded3runEv+0x10) [0x40f120]"
      0001E446 2015-11-29 00:52:19.072 12454 24414 "  /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread5beginEv+0x2d) [0x7fedfef18a1d]"
      0001E447 2015-11-29 00:52:19.072 12454 24414 "  /opt/HPCCSystems/lib/libjlib.so(_ZN6Thread11_threadmainEPv+0x1e) [0x7fedfef1a08e]"
      0001E448 2015-11-29 00:52:19.072 12454 24414 "  /lib64/libpthread.so.0() [0x3c17e079d1]"
      0001E449 2015-11-29 00:52:19.072 12454 24414 "  /lib64/libc.so.6(clone+0x6d) [0x3c17ae88fd]"
      0001E44A 2015-11-29 00:52:19.072 12454 24414 "ThreadList:
      

      The crash is here:

         0x00007ffff46df378 <+136>:   callq  0x7ffff46dcaf0 <_ZNK3tbb8internal20allocate_child_proxy8allocateEm@plt>
         0x00007ffff46df37d <+141>:   mov    -0x28(%rax),%rdi
         0x00007ffff46df381 <+145>:   movb   $0x1,-0xb(%rax)
         0x00007ffff46df385 <+149>:   cmp    $0x800,%rbx
         0x00007ffff46df38c <+156>:   mov    $0x800,%edx
         0x00007ffff46df391 <+161>:   mov    %rbp,0x10(%rax)
         0x00007ffff46df395 <+165>:   mov    %r15,(%rax)
         0x00007ffff46df398 <+168>:   cmovbe %rbx,%rdx
         0x00007ffff46df39c <+172>:   add    $0x4000,%r14
         0x00007ffff46df3a3 <+179>:   mov    %rax,%rsi
         0x00007ffff46df3a6 <+182>:   mov    (%rdi),%r8
         0x00007ffff46df3a9 <+185>:   mov    %rdx,0x8(%rax)
         0x00007ffff46df3ad <+189>:   sub    $0x4000,%rbx
         0x00007ffff46df3b4 <+196>:   lea    -0x8(%rax),%rdx
         0x00007ffff46df3b8 <+200>:   add    $0x20000,%rbp
         0x00007ffff46df3bf <+207>:   callq  *(%r8)
      >>>>
         0x00007ffff46df3c2 <+210>:   cmp    %r14,%r12
         0x00007ffff46df3c5 <+213>:   ja     0x7ffff46df370   
      

      Which is the call to next->spawn(*next)

      This is crashing on tbb2 centos6. This became a static function in tbb 3.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: