Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-378

pstacker hangs in malloc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M4.5
    • None
    • test
    • None

    Description

      Looks like our pstacker needs to be more signal-safe than it is.. it apparently got stuck in malloc:

      #0 0x0000000000684ddb in base::internal::SpinLockDelay(int volatile*, int, int) ()
      #1 0x0000000000684bbc in SpinLock::SlowLock() ()
      #2 0x000000000068807c in NewHook(void const*, unsigned long) ()
      #3 0x000000000067e9b6 in MallocHook::InvokeNewHookSlow(void const*, unsigned long) ()
      #4 0x00000000009f593a in tc_malloc ()
      #5 0x0000003adf0a6da1 in __alloc_dir () from /lib64/libc.so.6
      #6 0x00000000009245be in kudu::Subprocess::Start() ()
      #7 0x00000000008fea97 in kudu::PstackWatcher::DumpStacks() ()
      #8 0x0000000000650230 in KillTestOnTimeout(sigval) ()
      #9 0x0000003ae04052ac in timer_sigev_thread () from /lib64/librt.so.1
      #10 0x0000003adf4077f1 in start_thread () from /lib64/libpthread.so.0
      #11 0x0000003adf0e5ccd in clone () from /lib64/libc.so.6

      [root@a1221 todd]# addr2line -e /var/lib/jenkins/workspace/kudu-gerrit/BUILD_TYPE/LEAKCHECK/label/centos6-kudu/build/release//client-test -i 0x00000000009245be
      /var/lib/jenkins/workspace/kudu-gerrit/BUILD_TYPE/LEAKCHECK/label/centos6-kudu/src/util/subprocess.cc:61
      /var/lib/jenkins/workspace/kudu-gerrit/BUILD_TYPE/LEAKCHECK/label/centos6-kudu/src/util/subprocess.cc:211

      Attachments

        1. KUDU-378-test.patch
          4 kB
          Mike Percy

        Activity

          People

            mpercy Mike Percy
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: