Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-884

Segfault on shutdown during testing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.3, 3.2.0-beta.1
    • 3.2.0-alpha.2
    • library
    • None
    • 1

    Description

      node(70778,0x104aaae00) malloc: *** error for object 0x104f38c38: pointer being freed was not allocated
      node(70778,0x104aaae00) malloc: *** set a breakpoint in malloc_error_break to debug
      Process 70778 stopped
      * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
          frame #0: 0x00007fff2019da65 libsystem_malloc.dylib`malloc_error_break
      libsystem_malloc.dylib`malloc_error_break:
      ->  0x7fff2019da65 <+0>: pushq  %rbp
          0x7fff2019da66 <+1>: movq   %rsp, %rbp
          0x7fff2019da69 <+4>: nop
          0x7fff2019da6a <+5>: nopl   (%rax)
      Target 0: (node) stopped.
      (lldb) bt
      * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
        * frame #0: 0x00007fff2019da65 libsystem_malloc.dylib`malloc_error_break
          frame #1: 0x00007fff20191219 libsystem_malloc.dylib`malloc_vreport + 440
          frame #2: 0x00007fff2019435a libsystem_malloc.dylib`malloc_report + 151
          frame #3: 0x0000000100461e6e node`v8::internal::MemoryChunk::ReleaseAllocatedMemoryNeededForWritableChunk() + 270
          frame #4: 0x000000010045e5a6 node`void v8::internal::MemoryAllocator::Free<(v8::internal::MemoryAllocator::FreeMode)0>(v8::internal::MemoryChunk*) + 22
          frame #5: 0x0000000100471ebf node`v8::internal::PagedSpace::TearDown() + 79
          frame #6: 0x00000001003fe9fd node`v8::internal::PagedSpace::~PagedSpace() + 29
          frame #7: 0x00000001003fe93e node`v8::internal::OldSpace::~OldSpace() + 14
          frame #8: 0x00000001003f71bf node`v8::internal::Heap::TearDown() + 1279
          frame #9: 0x000000010038a119 node`v8::internal::Isolate::Deinit() + 969
          frame #10: 0x0000000100389ccd node`v8::internal::Isolate::Delete(v8::internal::Isolate*) + 77
          frame #11: 0x00000001000fe85d node`node::NodeMainInstance::~NodeMainInstance() + 45
          frame #12: 0x000000010009196f node`node::Start(int, char**) + 271
          frame #13: 0x00007fff20377f3d libdyld.dylib`start + 1
      (lldb)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            brett19 Brett Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty