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

ThreadSanitizer: data race in v8/mapreduce

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • view-engine
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      11:50:16  WARNING: ThreadSanitizer: data race (pid=1734874)
      11:50:16    Write of size 8 at 0x7b3000000c88 by thread T14 (mutexes: write M798):
      11:50:16      #0 operator delete(void*, unsigned long) <null> (libtsan.so.0+0x88168)
      11:50:16      #1 v8::platform::DefaultJobWorker::~DefaultJobWorker() <null> (libv8_libplatform.so+0x10ff9)
      11:50:16  
      11:50:16    Previous write of size 8 at 0x7b3000000c88 by main thread:
      11:50:16      [failed to restore the stack]
      11:50:16  
      11:50:16    Mutex M798 (0x7b4800000020) created at:
      11:50:16      #0 pthread_mutex_init <null> (libtsan.so.0+0x4a954)
      11:50:16      #1 v8::platform::DefaultWorkerThreadsTaskRunner::DefaultWorkerThreadsTaskRunner(unsigned int, double (*)(), v8::base::Thread::Priority) <null> (libv8_libplatform.so+0x17e88)
      11:50:16      #2 mapreduce_init(char const*) /home/couchbase/jenkins/workspace/ouchstore.threadsanitizer_master/couchstore/src/views/mapreduce/mapreduce_c.cc:404 (couchstore_testapp+0x45f215)
      11:50:16      #3 main /home/couchbase/jenkins/workspace/ouchstore.threadsanitizer_master/couchstore/tests/testapp.cc:23 (couchstore_testapp+0x48657f)
      11:50:16  
      11:50:16    Thread T14 'V8 DefaultWorke' (tid=1734889, running) created by main thread at:
      11:50:16      #0 pthread_create <null> (libtsan.so.0+0x5ca72)
      11:50:16      #1 v8::base::Thread::Start() <null> (libv8_libbase.so+0x2dd44)
      11:50:16      #2 mapreduce_init(char const*) /home/couchbase/jenkins/workspace/ouchstore.threadsanitizer_master/couchstore/src/views/mapreduce/mapreduce_c.cc:404 (couchstore_testapp+0x45f215)
      11:50:16      #3 main /home/couchbase/jenkins/workspace/ouchstore.threadsanitizer_master/couchstore/tests/testapp.cc:23 (couchstore_testapp+0x48657f)
      

      Found in https://review.couchbase.org/c/couchstore/+/213359/1

      Attachments

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

        Activity

          People

            santosh.hegde Santosh Hegde
            pavlos.georgiou Pavlos Georgiou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty