Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49880

ASAN error in map-reduce test

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      One of the sanitizer logs contains:

      /opt/gcc-10.2.0/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/unique_ptr.h:85:2: runtime error: member call on address 0x60d000000380 which does not point to an object of type 'v8::Platform'
      0x60d000000380: note: object has invalid vptr
       03 00 80 47  98 fa 48 c0 99 7f 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^~~~~~~~~~~~~~~~~~~~~~~
                    invalid vptr
          #0 0x4ebce8 in std::default_delete<v8::Platform>::operator()(v8::Platform*) const /opt/gcc-10.2.0/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/unique_ptr.h:85:2
          #1 0x4eadcd in std::unique_ptr<v8::Platform, std::default_delete<v8::Platform> >::~unique_ptr() /opt/gcc-10.2.0/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/unique_ptr.h:361:4
          #2 0x7f99bead4160 in __run_exit_handlers /build/glibc-S9d2JN/glibc-2.27/stdlib/exit.c:108
          #3 0x7f99bead4259 in exit /build/glibc-S9d2JN/glibc-2.27/stdlib/exit.c:139
          #4 0x7f99beab2bfd in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:344
          #5 0x438779 in _start (/home/couchbase/jenkins/workspace/couchstore.ASan-UBSan_master/build/couchstore/couchstore_mapreduce-builtin-test+0x438779)
       
      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /opt/gcc-10.2.0/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/unique_ptr.h:85:2 in 
      

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty