Description
Here are 11 data races seen with superblock parameters:
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Write of size 8 at 0x7d2c0000a978 by thread T8:
|
11:02:03 #0 sb_bmp_fetch_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:347 (fdb_functional_test+0x000000539f96)
|
11:02:03 #1 _fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:1664 (fdb_functional_test+0x0000005099e7)
|
11:02:03 #2 fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:782 (fdb_functional_test+0x0000005090ba)
|
11:02:03 #3 multi_thread_client_shutdown(void*) crtstuff.c (fdb_functional_test+0x0000004d2c61)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c0000a978 by thread T7:
|
11:02:03 #0 sb_bmp_fetch_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:347 (fdb_functional_test+0x000000539f96)
|
11:02:03 #1 _fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:1664 (fdb_functional_test+0x0000005099e7)
|
11:02:03 #2 fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:782 (fdb_functional_test+0x0000005090ba)
|
11:02:03 #3 multi_thread_client_shutdown(void*) crtstuff.c (fdb_functional_test+0x0000004d2c61)
|
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Read of size 8 at 0x7d2c0000a9a0 by thread T8 (mutexes: write M12112):
|
11:02:03 #0 _fdb_restore_wal(_fdb_kvs_handle*, fdb_restore_mode_t, unsigned long, unsigned long) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:356 (fdb_functional_test+0x00000051f8cf)
|
11:02:03 #1 _fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:2091 (fdb_functional_test+0x00000050b46e)
|
11:02:03 #2 fdb_open /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:782 (fdb_functional_test+0x0000005090ba)
|
11:02:03 #3 multi_thread_client_shutdown(void*) crtstuff.c (fdb_functional_test+0x0000004d2c61)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c0000a9a0 by thread T7:
|
11:02:03 #0 sb_update_header /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:423 (fdb_functional_test+0x00000053a283)
|
11:02:03 #1 _fdb_close_root /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7170 (fdb_functional_test+0x00000050eff4)
|
11:02:03 #2 fdb_close /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7135 (fdb_functional_test+0x00000051c60a)
|
11:02:03 #3 multi_thread_client_shutdown(void*) crtstuff.c (fdb_functional_test+0x0000004d2c77)
|
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Read of size 8 at 0x7d2c0000a878 by thread T31 (mutexes: write M12309):
|
11:02:03 #0 sb_sync_circular /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:446 (fdb_functional_test+0x00000053a40d)
|
11:02:03 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4204 (fdb_functional_test+0x00000050edce)
|
11:02:03 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (fdb_functional_test+0x00000051415f)
|
11:02:03 #3 multi_thread_kvs_client(void*) crtstuff.c (fdb_functional_test+0x0000004d2f82)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c0000a878 by thread T15:
|
11:02:03 #0 sb_write /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:1249 (fdb_functional_test+0x00000053a97e)
|
11:02:03 #1 sb_sync_circular /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:445 (fdb_functional_test+0x00000053a444)
|
11:02:03 #2 _fdb_close_root /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7171 (fdb_functional_test+0x00000050effc)
|
11:02:03 #3 fdb_close /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7135 (fdb_functional_test+0x00000051c60a)
|
11:02:03 #4 multi_thread_kvs_client(void*) crtstuff.c (fdb_functional_test+0x0000004d2fa2)
|
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Write of size 8 at 0x7d2c00009870 by thread T17 (mutexes: write M57881):
|
11:02:03 #0 sb_update_header /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:423 (fdb_functional_test+0x00000053a283)
|
11:02:03 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4169 (fdb_functional_test+0x00000050ed78)
|
11:02:03 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (fdb_functional_test+0x00000051415f)
|
11:02:03 #3 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1c01)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c00009870 by thread T22:
|
11:02:03 #0 sb_update_header /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:423 (fdb_functional_test+0x00000053a283)
|
11:02:03 #1 _fdb_close_root /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7170 (fdb_functional_test+0x00000050eff4)
|
11:02:03 #2 fdb_close /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7135 (fdb_functional_test+0x00000051c60a)
|
11:02:03 #3 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1e7a)
|
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Write of size 8 at 0x7d2c00009888 by thread T17 (mutexes: write M57881):
|
11:02:03 #0 sb_update_header /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:424 (fdb_functional_test+0x00000053a2cb)
|
11:02:03 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4169 (fdb_functional_test+0x00000050ed78)
|
11:02:03 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (fdb_functional_test+0x00000051415f)
|
11:02:03 #3 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1c01)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c00009888 by thread T22:
|
11:02:03 #0 sb_update_header /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:424 (fdb_functional_test+0x00000053a2cb)
|
11:02:03 #1 _fdb_close_root /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7170 (fdb_functional_test+0x00000050eff4)
|
11:02:03 #2 fdb_close /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7135 (fdb_functional_test+0x00000051c60a)
|
11:02:03 #3 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1e7a)
|
11:02:03 WARNING: ThreadSanitizer: data race (pid=108225)
|
11:02:03 Read of size 8 at 0x7d2c000097f8 by thread T17 (mutexes: write M57881):
|
11:02:03 #0 sb_sync_circular /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:446 (fdb_functional_test+0x00000053a40d)
|
11:02:03 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4204 (fdb_functional_test+0x00000050edce)
|
11:02:03 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (fdb_functional_test+0x00000051415f)
|
11:02:03 #3 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1c01)
|
11:02:03
|
11:02:03 Previous write of size 8 at 0x7d2c000097f8 by thread T22:
|
11:02:03 #0 sb_write /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:1249 (fdb_functional_test+0x00000053a97e)
|
11:02:03 #1 sb_sync_circular /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:445 (fdb_functional_test+0x00000053a444)
|
11:02:03 #2 _fdb_close_root /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7171 (fdb_functional_test+0x00000050effc)
|
11:02:03 #3 fdb_close /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:7135 (fdb_functional_test+0x00000051c60a)
|
11:02:03 #4 _worker_thread(void*) crtstuff.c (fdb_functional_test+0x0000004d1e7a)
|
11:38:55 WARNING: ThreadSanitizer: data race (pid=121717)
|
11:38:55 Write of size 8 at 0x7d2c0005cf30 by main thread (mutexes: write M13606):
|
11:38:55 #0 sb_reclaim_reusable_blocks /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:556 (e2etest+0x00000052ac86)
|
11:38:55 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4178 (e2etest+0x0000004fed58)
|
11:38:55 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (e2etest+0x00000050409f)
|
11:38:55 #3 e2e_fdb_commit crtstuff.c (e2etest+0x0000004d09b6)
|
11:38:55 #4 e2e_robust_pattern(fdb_config) crtstuff.c (e2etest+0x0000004ca8bf)
|
11:38:55 #5 main crtstuff.c (e2etest+0x0000004cea0c)
|
11:38:55
|
11:38:55 Previous read of size 8 at 0x7d2c0005cf30 by thread T3:
|
11:38:55 #0 filemgr_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:354 (e2etest+0x0000004ee07a)
|
11:38:55 #1 _docio_read_through_buffer(docio_handle*, unsigned long, err_log_callback*, bool) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:705 (e2etest+0x0000004eb1c6)
|
11:38:55 #2 docio_read_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:1380 (e2etest+0x0000004ec4fc)
|
11:38:55 #3 fdb_iterator_get <null> (e2etest+0x00000051fbd6)
|
11:38:55 #4 iterate_thread(void*) crtstuff.c (e2etest+0x0000004c86da)
|
11:38:55 WARNING: ThreadSanitizer: data race (pid=121717)
|
11:38:55 Read of size 8 at 0x7d2c0005cf28 by thread T3:
|
11:38:55 #0 sb_bmp_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:1030 (e2etest+0x00000052c825)
|
11:38:55 #1 filemgr_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:356 (e2etest+0x0000004ee09f)
|
11:38:55 #2 _docio_read_through_buffer(docio_handle*, unsigned long, err_log_callback*, bool) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:705 (e2etest+0x0000004eb1c6)
|
11:38:55 #3 docio_read_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:1308 (e2etest+0x0000004ec06b)
|
11:38:55 #4 fdb_iterator_get <null> (e2etest+0x00000051fbd6)
|
11:38:55 #5 iterate_thread(void*) crtstuff.c (e2etest+0x0000004c86da)
|
11:38:55
|
11:38:55 Previous write of size 8 at 0x7d2c0005cf28 by main thread (mutexes: write M13606):
|
11:38:55 #0 sb_reclaim_reusable_blocks /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:565 (e2etest+0x00000052adb6)
|
11:38:55 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4178 (e2etest+0x0000004fed58)
|
11:38:55 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (e2etest+0x00000050409f)
|
11:38:55 #3 e2e_fdb_commit crtstuff.c (e2etest+0x0000004d09b6)
|
11:38:55 #4 e2e_robust_pattern(fdb_config) crtstuff.c (e2etest+0x0000004ca8bf)
|
11:38:55 #5 main crtstuff.c (e2etest+0x0000004cea0c)
|
11:38:55 WARNING: ThreadSanitizer: data race (pid=121717)
|
11:38:55 Read of size 1 at 0x7d980000eea2 by thread T3:
|
11:38:55 #0 sb_bmp_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:221 (e2etest+0x00000052c84c)
|
11:38:55 #1 filemgr_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:356 (e2etest+0x0000004ee09f)
|
11:38:55 #2 _docio_read_through_buffer(docio_handle*, unsigned long, err_log_callback*, bool) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:705 (e2etest+0x0000004eb1c6)
|
11:38:55 #3 docio_read_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:1308 (e2etest+0x0000004ec06b)
|
11:38:55 #4 fdb_iterator_get <null> (e2etest+0x00000051fbd6)
|
11:38:55 #5 iterate_thread(void*) crtstuff.c (e2etest+0x0000004c86da)
|
11:38:55
|
11:38:55 Previous write of size 8 at 0x7d980000eea0 by main thread (mutexes: write M13606):
|
11:38:55 #0 calloc <null> (e2etest+0x00000046109c)
|
11:38:55 #1 sb_reclaim_reusable_blocks /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:556 (e2etest+0x00000052ac7b)
|
11:38:55 #2 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4178 (e2etest+0x0000004fed58)
|
11:38:55 #3 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (e2etest+0x00000050409f)
|
11:38:55 #4 e2e_fdb_commit crtstuff.c (e2etest+0x0000004d09b6)
|
11:38:55 #5 e2e_robust_pattern(fdb_config) crtstuff.c (e2etest+0x0000004ca8bf)
|
11:38:55 #6 main crtstuff.c (e2etest+0x0000004cea0c)
|
11:38:55 WARNING: ThreadSanitizer: data race (pid=121717)
|
11:38:55 Write of size 8 at 0x7d2c0005cf20 by main thread (mutexes: write M13606):
|
11:38:55 #0 sb_reclaim_reusable_blocks /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:583 (e2etest+0x00000052b171)
|
11:38:55 #1 _fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4178 (e2etest+0x0000004fed58)
|
11:38:55 #2 fdb_commit /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:4013 (e2etest+0x00000050409f)
|
11:38:55 #3 e2e_fdb_commit crtstuff.c (e2etest+0x0000004d09b6)
|
11:38:55 #4 e2e_robust_pattern(fdb_config) crtstuff.c (e2etest+0x0000004ca8bf)
|
11:38:55 #5 main crtstuff.c (e2etest+0x0000004cea0c)
|
11:38:55
|
11:38:55 Previous read of size 8 at 0x7d2c0005cf20 by thread T3:
|
11:38:55 #0 sb_bmp_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:1009 (e2etest+0x00000052c816)
|
11:38:55 #1 filemgr_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:356 (e2etest+0x0000004ee09f)
|
11:38:55 #2 _docio_read_through_buffer(docio_handle*, unsigned long, err_log_callback*, bool) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:705 (e2etest+0x0000004eb1c6)
|
11:38:55 #3 docio_read_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:1308 (e2etest+0x0000004ec06b)
|
11:38:55 #4 fdb_iterator_get <null> (e2etest+0x00000051fbd6)
|
11:38:55 #5 iterate_thread(void*) crtstuff.c (e2etest+0x0000004c86da)
|
11:38:55 WARNING: ThreadSanitizer: data race (pid=121717)
|
11:38:55 Write of size 8 at 0x7d2c0005cf88 by main thread (mutexes: write M13606, write M13601):
|
11:38:55 #0 sb_alloc_block /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:930 (e2etest+0x00000052c54f)
|
11:38:55 #1 filemgr_alloc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:1759 (e2etest+0x0000004f2bda)
|
11:38:55 #2 docio_append_doc_raw /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:269 (e2etest+0x0000004e921b)
|
11:38:55 #3 _docio_append_doc(docio_handle*, docio_object*) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:624 (e2etest+0x0000004ed5d0)
|
11:38:55 #4 docio_append_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:674 (e2etest+0x0000004ea572)
|
11:38:55 #5 fdb_set /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:3650 (e2etest+0x00000050344d)
|
11:38:55 #6 fdb_del /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/forestdb.cc:3792 (e2etest+0x000000503c3b)
|
11:38:55 #7 e2e_fdb_del_person crtstuff.c (e2etest+0x0000004d072e)
|
11:38:55 #8 update_index(storage_t*, bool) crtstuff.c (e2etest+0x0000004c73a7)
|
11:38:55 #9 e2e_robust_pattern(fdb_config) crtstuff.c (e2etest+0x0000004ca691)
|
11:38:55 #10 main crtstuff.c (e2etest+0x0000004cea0c)
|
11:38:55
|
11:38:55 Previous read of size 8 at 0x7d2c0005cf88 by thread T3:
|
11:38:55 #0 sb_bmp_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/superblock.cc:1033 (e2etest+0x00000052c873)
|
11:38:55 #1 filemgr_is_writable /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/filemgr.cc:356 (e2etest+0x0000004ee09f)
|
11:38:55 #2 _docio_read_through_buffer(docio_handle*, unsigned long, err_log_callback*, bool) /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:705 (e2etest+0x0000004eb1c6)
|
11:38:55 #3 docio_read_doc /home/couchbase/jenkins/workspace/forestdb-threadsanitizer-master/forestdb/src/docio.cc:1380 (e2etest+0x0000004ec4fc)
|
11:38:55 #4 fdb_iterator_get <null> (e2etest+0x00000051fbd6)
|
11:38:55 #5 iterate_thread(void*) crtstuff.c (e2etest+0x0000004c86da)
|