Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 525
    • Issues 525
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 101
    • Merge requests 101
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #1368

Closed
Open
Created Nov 18, 2019 by Ondřej Surý@ondrejOwner

ThreadSanitizer: Can't handle more than 64 mutexes

ThreadSanitizer can't handle more than 64 mutexes ending with:

FATAL: ThreadSanitizer CHECK failed: /BuildRoot/Library/Caches/com.apple.xbs/Sources/clang_compiler_rt/clang-1100.0.33.12/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h:6\
9 "((n_all_locks_)) < (((sizeof(all_locks_with_contexts_)/sizeof((all_locks_with_contexts_)[0]))))" (0x40, 0x40)
    #0 __tsan::TsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x61d3f)
    #1 __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x15010)
    #2 __sanitizer::DeadlockDetectorTLS<__sanitizer::TwoLevelBitVector<1ul, __sanitizer::BasicBitVector<unsigned long> > >::addLock(unsigned long, unsigned long, unsigned int) <null>:9011792 (libclan\
g_rt.tsan_osx_dynamic.dylib:x86_64h+0x751b)
    #3 __sanitizer::DD::MutexAfterLock(__sanitizer::DDCallback*, __sanitizer::DDMutex*, bool, bool) <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x6a77)
    #4 __tsan::MutexPostLock(__tsan::ThreadState*, unsigned long, unsigned long, unsigned int, int) <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x60153)
    #5 pthread_mutex_lock <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x3a087)
    #6 dns_adb_dump adb.c:3405 (libdns.1503.dylib:x86_64+0xf329)
    #7 dumpdone server.c:10891 (named:x86_64+0x1000107cb)
    #8 dump_quantum masterdump.c:1436 (libdns.1503.dylib:x86_64+0x7059c)
    #9 run task.c:1134 (libisc.1503.dylib:x86_64+0x2c9e1)
    #10 __tsan_thread_start_func <null>:9011792 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x2a96c)
    #11 _pthread_start <null>:9011792 (libsystem_pthread.dylib:x86_64+0x5d35)
    #12 thread_start <null>:9011792 (libsystem_pthread.dylib:x86_64+0x258e)
Assignee
Assign to
Time tracking