Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53706

segfault in tcmalloc

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide

      Unknown at this point, but happening multiple times in production.

      Show
      Unknown at this point, but happening multiple times in production.

      #0  tcmalloc::SLL_Next (t=0x0) at src/third_party/gperftools-2.5/src/linked_list.h:45
      #1  tcmalloc::SLL_PopRange (end=<synthetic pointer>, start=<synthetic pointer>, N=128, head=0x559aa7bbc7a8) at src/third_party/gperftools-2.5/src/linked_list.h:76
      #2  tcmalloc::ThreadCache::FreeList::PopRange (end=<synthetic pointer>, start=<synthetic pointer>, N=128, this=0x559aa7bbc7a8) at src/third_party/gperftools-2.5/src/thread_cache.h:225
      #3  tcmalloc::ThreadCache::ReleaseToCentralCache (this=this@entry=0x559aa7bbc700, src=src@entry=0x559aa7bbc7a8, cl=<optimized out>, N=N@entry=128) at src/third_party/gperftools-2.5/src/thread_cache.cc:195
      #4  0x000055966f8bdd8c in tcmalloc::ThreadCache::ListTooLong (this=this@entry=0x559aa7bbc700, list=0x559aa7bbc7a8, cl=<optimized out>) at src/third_party/gperftools-2.5/src/thread_cache.cc:157
      #5  0x000055966f8c6a0a in tcmalloc::ThreadCache::Deallocate (cl=<optimized out>, ptr=0x55b849f2a840, this=0x559aa7bbc700) at src/third_party/gperftools-2.5/src/thread_cache.h:393
      #6  (anonymous namespace)::do_free_helper (invalid_free_fn=0x55966f8bf4b0 <(anonymous namespace)::InvalidFree(void*)>, size_hint=0, use_hint=false, heap_must_be_valid=true, heap=0x559aa7bbc700, ptr=0x55b849f2a840) at src/third_party/gperftools-2.5/src/tcmalloc.cc:1383
      #7  (anonymous namespace)::do_free_with_callback (invalid_free_fn=0x55966f8bf4b0 <(anonymous namespace)::InvalidFree(void*)>, size_hint=0, use_hint=false, ptr=0x55b849f2a840) at src/third_party/gperftools-2.5/src/tcmalloc.cc:1415
      #8  (anonymous namespace)::do_free (ptr=0x55b849f2a840) at src/third_party/gperftools-2.5/src/tcmalloc.cc:1423
      #9  tc_free (ptr=0x55b849f2a840) at src/third_party/gperftools-2.5/src/tcmalloc.cc:1688
      #10 0x000055966dfe4864 in __wt_free_int (session=session@entry=0x559671e720b0, p_arg=p_arg@entry=0x7f6949b8b6b8) at src/third_party/wiredtiger/src/os_common/os_alloc.c:327
      #11 0x000055966e0449c8 in __wt_free_ref (session=session@entry=0x559671e720b0, ref=0x0, page_type=6, free_pages=free_pages@entry=false) at src/third_party/wiredtiger/src/btree/bt_discard.c:292
      #12 0x000055966e043b4d in __wt_free_ref_index (session=session@entry=0x559671e720b0, page=page@entry=0x55ab30eff540, pindex=0x55bdaff1aa00, free_pages=free_pages@entry=false) at src/third_party/wiredtiger/src/btree/bt_discard.c:309
      #13 0x000055966e043ef6 in __free_page_int (page=<optimized out>, session=0x559671e720b0) at src/third_party/wiredtiger/src/btree/bt_discard.c:234
      #14 __wt_page_out (session=session@entry=0x559671e720b0, pagep=pagep@entry=0x55c4ad5cd940) at src/third_party/wiredtiger/src/btree/bt_discard.c:119
      #15 0x000055966e04481a in __wt_ref_out (session=session@entry=0x559671e720b0, ref=ref@entry=0x55c4ad5cd940) at src/third_party/wiredtiger/src/btree/bt_discard.c:44
      #16 0x000055966dfd87df in __evict_page_dirty_update (closing=false, ref=0x55c4ad5cd940, session=0x559671e720b0) at src/third_party/wiredtiger/src/evict/evict_page.c:433
      #17 __wt_evict (session=session@entry=0x559671e720b0, ref=ref@entry=0x55c4ad5cd940, closing=closing@entry=false, previous_state=previous_state@entry=5) at src/third_party/wiredtiger/src/evict/evict_page.c:222
      #18 0x000055966dfd05eb in __evict_page (session=session@entry=0x559671e720b0, is_server=is_server@entry=false) at src/third_party/wiredtiger/src/evict/evict_lru.c:2334
      #19 0x000055966dfd0b43 in __evict_lru_pages (session=session@entry=0x559671e720b0, is_server=is_server@entry=false) at src/third_party/wiredtiger/src/evict/evict_lru.c:1185
      #20 0x000055966dfd3957 in __wt_evict_thread_run (session=0x559671e720b0, thread=0x5596755760a0) at src/third_party/wiredtiger/src/evict/evict_lru.c:318
      #21 0x000055966e02a9b9 in __thread_run (arg=0x5596755760a0) at src/third_party/wiredtiger/src/support/thread_group.c:31
      #22 0x00007f694f18a6ba in start_thread (arg=0x7f6949b8c700) at pthread_create.c:333
      #23 0x00007f694eec04dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      (gdb)
      

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            surajn.vnit@gmail.com Suraj Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: