{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/watchman/issues/96","labels_url":"https://api.github.com/repos/facebook/watchman/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/facebook/watchman/issues/96/comments","events_url":"https://api.github.com/repos/facebook/watchman/issues/96/events","html_url":"https://github.com/facebook/watchman/issues/96","id":70223722,"number":96,"title":"Watchman sometimes hangs indefinitely on OS X","user":{"login":"dturner-tw","id":6484012,"avatar_url":"https://avatars.githubusercontent.com/u/6484012?v=3","gravatar_id":"","url":"https://api.github.com/users/dturner-tw","html_url":"https://github.com/dturner-tw","followers_url":"https://api.github.com/users/dturner-tw/followers","following_url":"https://api.github.com/users/dturner-tw/following{/other_user}","gists_url":"https://api.github.com/users/dturner-tw/gists{/gist_id}","starred_url":"https://api.github.com/users/dturner-tw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dturner-tw/subscriptions","organizations_url":"https://api.github.com/users/dturner-tw/orgs","repos_url":"https://api.github.com/users/dturner-tw/repos","events_url":"https://api.github.com/users/dturner-tw/events{/privacy}","received_events_url":"https://api.github.com/users/dturner-tw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-22T20:13:03Z","updated_at":"2015-06-10T22:29:59Z","closed_at":"2015-06-10T22:29:59Z","body":"We are using ed148a4fac7ea9cf32d28751c78126e414bd60e3.\r\n\r\nWhen this happens, we kill it after a few minutes.\r\n\r\nHere are some thread traces:\r\n```\r\n(lldb) bt all\r\n* thread #1: tid = 0x15b834, 0x00007fff883fd94c libsystem_kernel.dylib`poll + 12, queue = 'com.apple.main-thread', stop reason = instruction step into\r\n  * frame #0: 0x00007fff883fd94c libsystem_kernel.dylib`poll + 12\r\n    frame #1: 0x0000000108b621ee watchman`w_start_listener + 1470\r\n    frame #2: 0x0000000108b633e8 watchman`run_service + 136\r\n    frame #3: 0x0000000108b632b0 watchman`main + 2192\r\n    frame #4: 0x00007fff80b385fd libdyld.dylib`start + 1\r\n\r\n  thread #2: tid = 0x15b836, 0x00007fff883fca3a libsystem_kernel.dylib`__semwait_signal + 10\r\n    frame #0: 0x00007fff883fca3a libsystem_kernel.dylib`__semwait_signal + 10\r\n    frame #1: 0x00007fff8bedbdc0 libsystem_c.dylib`nanosleep + 200\r\n    frame #2: 0x00007fff8bedbcb2 libsystem_c.dylib`usleep + 54\r\n    frame #3: 0x0000000108b624ea watchman`child_reaper + 58\r\n    frame #4: 0x00007fff8a514899 libsystem_pthread.dylib`_pthread_body + 138\r\n    frame #5: 0x00007fff8a51472a libsystem_pthread.dylib`_pthread_start + 137\r\n    frame #6: 0x00007fff8a518fc9 libsystem_pthread.dylib`thread_start + 13\r\n\r\n  thread #3: tid = 0x15e8ff, 0x0000000108b6835f watchman`w_string_equal + 47\r\n    frame #0: 0x0000000108b6835f watchman`w_string_equal + 47\r\n    frame #1: 0x0000000108b59e37 watchman`w_ht_del + 119\r\n    frame #2: 0x0000000108b67a40 watchman`age_out_dir + 144\r\n    frame #3: 0x0000000108b67a28 watchman`age_out_dir + 120\r\n    frame #4: 0x0000000108b65738 watchman`age_out_file + 248\r\n    frame #5: 0x0000000108b679ee watchman`age_out_dir + 62\r\n    frame #6: 0x0000000108b65738 watchman`age_out_file + 248\r\n    frame #7: 0x0000000108b655ae watchman`w_root_perform_age_out + 126\r\n    frame #8: 0x0000000108b6754a watchman`run_notify_thread + 1450\r\n    frame #9: 0x00007fff8a514899 libsystem_pthread.dylib`_pthread_body + 138\r\n    frame #10: 0x00007fff8a51472a libsystem_pthread.dylib`_pthread_start + 137\r\n    frame #11: 0x00007fff8a518fc9 libsystem_pthread.dylib`thread_start + 13\r\n\r\n  thread #4: tid = 0x15e900, 0x00007fff883f8a1a libsystem_kernel.dylib`mach_msg_trap + 10\r\n    frame #0: 0x00007fff883f8a1a libsystem_kernel.dylib`mach_msg_trap + 10\r\n    frame #1: 0x00007fff883f7d18 libsystem_kernel.dylib`mach_msg + 64\r\n    frame #2: 0x00007fff8e144f15 CoreFoundation`__CFRunLoopServiceMachPort + 181\r\n    frame #3: 0x00007fff8e144539 CoreFoundation`__CFRunLoopRun + 1161\r\n    frame #4: 0x00007fff8e143e75 CoreFoundation`CFRunLoopRunSpecific + 309\r\n    frame #5: 0x00007fff8e1f9811 CoreFoundation`CFRunLoopRun + 97\r\n    frame #6: 0x0000000108b5ffbe watchman`fsevents_thread + 398\r\n    frame #7: 0x00007fff8a514899 libsystem_pthread.dylib`_pthread_body + 138\r\n    frame #8: 0x00007fff8a51472a libsystem_pthread.dylib`_pthread_start + 137\r\n    frame #9: 0x00007fff8a518fc9 libsystem_pthread.dylib`thread_start + 13\r\n\r\n  thread #5: tid = 0x15e901, 0x00007fff883fd662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'\r\n    frame #0: 0x00007fff883fd662 libsystem_kernel.dylib`kevent64 + 10\r\n    frame #1: 0x00007fff882d9421 libdispatch.dylib`_dispatch_mgr_invoke + 239\r\n    frame #2: 0x00007fff882d9136 libdispatch.dylib`_dispatch_mgr_thread + 52\r\n\r\n  thread #6: tid = 0x1c3057, 0x00007fff883fc746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\n    frame #0: 0x00007fff883fc746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\n    frame #1: 0x00007fff8a517779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\n    frame #2: 0x0000000108b63656 watchman`w_root_lock + 22\r\n    frame #3: 0x0000000108b5c54b watchman`cmd_watch + 75\r\n    frame #4: 0x0000000108b5af98 watchman`dispatch_command + 72\r\n    frame #5: 0x0000000108b6264c watchman`client_thread + 316\r\n    frame #6: 0x00007fff8a514899 libsystem_pthread.dylib`_pthread_body + 138\r\n    frame #7: 0x00007fff8a51472a libsystem_pthread.dylib`_pthread_start + 137\r\n    frame #8: 0x00007fff8a518fc9 libsystem_pthread.dylib`thread_start + 13\r\n(lldb)\r\n```\r\n-------------------------\r\nFrom another user \r\n-------------------------\r\n```\r\n(lldb) bt all\r\nthread #1: tid = 0xf8a67, 0x00007fff9330094a libsystem_kernel.dylib`poll + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP\r\nframe #0: 0x00007fff9330094a libsystem_kernel.dylib`poll + 10\r\nframe #1: 0x00000001043951ee watchman`w_start_listener + 1470\r\nframe #2: 0x00000001043963e8 watchman`run_service + 136\r\nframe #3: 0x00000001043962b0 watchman`main + 2192\r\nframe #4: 0x00007fff88fdd5fd libdyld.dylib`start + 1\r\nframe #5: 0x00007fff88fdd5fd libdyld.dylib`start + 1\r\nthread #2: tid = 0xf8a69, 0x00007fff932ffa3a libsystem_kernel.dylib`__semwait_signal + 10\r\nframe #0: 0x00007fff932ffa3a libsystem_kernel.dylib`__semwait_signal + 10\r\nframe #1: 0x00007fff89c08dc0 libsystem_c.dylib`nanosleep + 200\r\nframe #2: 0x00007fff89c08cb2 libsystem_c.dylib`usleep + 54\r\nframe #3: 0x00000001043954ea watchman`child_reaper + 58\r\nframe #4: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #5: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #6: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #3: tid = 0x16a58c, 0x000000010438cdc0 watchman`w_ht_del\r\nframe #0: 0x000000010438cdc0 watchman`w_ht_del\r\nframe #1: 0x000000010439aa40 watchman`age_out_dir + 144\r\nframe #2: 0x000000010439aa28 watchman`age_out_dir + 120\r\nframe #3: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #4: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #5: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #6: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #7: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #8: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #9: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #10: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #11: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #12: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #13: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #14: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #15: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #16: 0x000000010439a9ee watchman`age_out_dir + 62\r\nframe #17: 0x0000000104398738 watchman`age_out_file + 248\r\nframe #18: 0x00000001043985ae watchman`w_root_perform_age_out + 126\r\nframe #19: 0x000000010439a54a watchman`run_notify_thread + 1450\r\nframe #20: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #21: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #22: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #4: tid = 0x16a58d, 0x00007fff932fba1a libsystem_kernel.dylib`mach_msg_trap + 10\r\nframe #0: 0x00007fff932fba1a libsystem_kernel.dylib`mach_msg_trap + 10\r\nframe #1: 0x00007fff932fad18 libsystem_kernel.dylib`mach_msg + 64\r\nframe #2: 0x00007fff88921f15 CoreFoundation`__CFRunLoopServiceMachPort + 181\r\nframe #3: 0x00007fff88921539 CoreFoundation`__CFRunLoopRun + 1161\r\nframe #4: 0x00007fff88920e75 CoreFoundation`CFRunLoopRunSpecific + 309\r\nframe #5: 0x00007fff889d6811 CoreFoundation`CFRunLoopRun + 97\r\nframe #6: 0x0000000104392fbe watchman`fsevents_thread + 398\r\nframe #7: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #8: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #9: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #5: tid = 0x16a58e, 0x00007fff93300662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'\r\nframe #0: 0x00007fff93300662 libsystem_kernel.dylib`kevent64 + 10\r\nframe #1: 0x00007fff94c0c421 libdispatch.dylib`_dispatch_mgr_invoke + 239\r\nframe #2: 0x00007fff94c0c136 libdispatch.dylib`_dispatch_mgr_thread + 52\r\nthread #6: tid = 0x1b2e38, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #7: tid = 0x1b3e3f, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #8: tid = 0x1b3ec6, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #9: tid = 0x1b99c7, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #10: tid = 0x1b9c27, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #11: tid = 0x1ba060, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #12: tid = 0x1ba0d5, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #13: tid = 0x1ba581, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #14: tid = 0x1baae9, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #15: tid = 0x1bac1e, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #16: tid = 0x1bac60, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #17: tid = 0x1bb954, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #18: tid = 0x1be637, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #19: tid = 0x1be9da, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #20: tid = 0x1bedc0, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\nthread #21: tid = 0x1bee3d, 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #0: 0x00007fff932ff746 libsystem_kernel.dylib`__psynch_mutexwait + 10\r\nframe #1: 0x00007fff8aad2779 libsystem_pthread.dylib`_pthread_mutex_lock + 372\r\nframe #2: 0x0000000104396656 watchman`w_root_lock + 22\r\nframe #3: 0x000000010438f54b watchman`cmd_watch + 75\r\nframe #4: 0x000000010438df98 watchman`dispatch_command + 72\r\nframe #5: 0x000000010439564c watchman`client_thread + 316\r\nframe #6: 0x00007fff8aacf899 libsystem_pthread.dylib`_pthread_body + 138\r\nframe #7: 0x00007fff8aacf72a libsystem_pthread.dylib`_pthread_start + 137\r\nframe #8: 0x00007fff8aad3fc9 libsystem_pthread.dylib`thread_start + 13\r\n```\r\n--------------------\r\n\r\nI have also seen hangs on Linux, but I know that I am using a kernel with unpatched inotify bugs that I know affect watchman (3.13), so I have not bothered to investigate further. "}}