Regression

lldb-api.functionalities/thread/concurrent_events.TestConcurrentManyWatchpoints.py (from lldb-api)

Failing for the past 1 build (Since Failed#742 )
Took 39 sec.

Stacktrace

lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision c1b13a1b17719aebace1b3be7a6ac7f90b1901a6)
  clang revision b1dcd84c7ea3c97ddd73f629441be24791f23624
  llvm revision b1dcd84c7ea3c97ddd73f629441be24791f23624
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs'
Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/10.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events -p TestConcurrentManyWatchpoints.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events
runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/10.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.test/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.test/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 138
output: Breakpoint 1: where = a.out`dotest() + 77 at main.cpp:138:5, address = 0x00000001000016cd


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -f "main.cpp" -l 184
output: Breakpoint 2: where = a.out`main + 25 at main.cpp:184:5, address = 0x0000000100001d49


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint list -f
output: Current breakpoints:
1: file = 'main.cpp', line = 138, exact_match = 0, locations = 1
  1.1: where = a.out`dotest() + 77 at main.cpp:138:5, address = a.out[0x00000001000016cd], unresolved, hit count = 0 

2: file = 'main.cpp', line = 184, exact_match = 0, locations = 1
  2.1: where = a.out`main + 25 at main.cpp:184:5, address = a.out[0x0000000100001d49], unresolved, hit count = 0 



Expecting sub string: : file = 'main.cpp', line = 184
Matched

Expecting sub string: : file = 'main.cpp', line = 184
Matched

runCmd: run
output: Process 29204 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00000001000016cd a.out`dotest() at main.cpp:138:5
   135 	    unsigned num_delay_signal_threads = 0;
   136 	    unsigned num_delay_crash_threads = 0;
   137 	
-> 138 	    register_signal_handler(SIGUSR1, sigusr1_handler); // Break here and adjust num_[breakpoint|watchpoint|signal|crash]_threads
    	    ^
   139 	
   140 	    unsigned total_threads = num_breakpoint_threads \
   141 	                             + num_watchpoint_threads \

Process 29204 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.test/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00000001000016cd a.out`dotest() at main.cpp:138:5
    frame #1: 0x0000000100001d44 a.out`main at main.cpp:183:5
    frame #2: 0x00007fff6e290085 libdyld.dylib`start + 1


Expecting sub string: stop reason = breakpoint 1.
Matched

runCmd: watchpoint set variable g_watchme
output: Watchpoint created: Watchpoint 1: addr = 0x100005174 size = 4 state = enabled type = w
    declare @ '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/main.cpp:31'
    watchpoint spec = 'g_watchme'
    new value: 0


runCmd: expr num_breakpoint_threads=0
output: (unsigned int) $0 = 0


runCmd: expr num_crash_threads=0
output: (unsigned int) $1 = 0


runCmd: expr num_signal_threads=0
output: (unsigned int) $2 = 0


runCmd: expr num_watchpoint_threads=100
output: (unsigned int) $3 = 100


runCmd: expr num_delay_breakpoint_threads=0
output: (unsigned int) $4 = 0


runCmd: expr num_delay_crash_threads=0
output: (unsigned int) $5 = 0


runCmd: expr num_delay_signal_threads=0
output: (unsigned int) $6 = 0


runCmd: expr num_delay_watchpoint_threads=0
output: (unsigned int) $7 = 0


runCmd: continue
output: Process 29204 resuming
Process 29204 stopped
* thread #11, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #15, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #20, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #29, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #38, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #61, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #68, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #70, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #71, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #83, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #84, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #85, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #86, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #87, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #88, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #89, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #90, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #91, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #92, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #100, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #101, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *



runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff6e3c8d32 libsystem_kernel.dylib`swtch_pri + 10
    frame #1: 0x00007fff6e484ef3 libsystem_pthread.dylib`sched_yield + 11
    frame #2: 0x0000000100150bc9 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::internal_sched_yield() + 9
    frame #3: 0x0000000100133b55 libclang_rt.asan_osx_dynamic.dylib`wrap_pthread_create + 277
    frame #4: 0x000000010000150f a.out`start_threads(threads=size=99, actions=size=4, args=0x0000000000000000)(void*)>, std::__1::allocator<std::__1::pair<unsigned int, void* (*)(void*)> > >&, void*) at main.cpp:116:13
    frame #5: 0x00000001000019c0 a.out`dotest() at main.cpp:166:5
    frame #6: 0x0000000100001d44 a.out`main at main.cpp:183:5
    frame #7: 0x00007fff6e290085 libdyld.dylib`start + 1
  thread #2
    frame #0: 0x00000001000012c2 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:10
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #3
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #4
    frame #0: 0x00000001000012a0 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000000000000, __m=memory_order_relaxed) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #5
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #6
    frame #0: 0x0000000100001eb8 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #7
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #8
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #9
    frame #0: 0x0000000100001e8b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #10
    frame #0: 0x0000000100001eb8 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
* thread #11, stop reason = watchpoint 1
  * frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #12
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #13
    frame #0: 0x0000000100001eb8 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #14
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #15, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #16
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #17
    frame #0: 0x0000000100001e61 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:968
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #18
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #19
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #20, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #21
    frame #0: 0x0000000100001e8e a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #22
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #23
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #24
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #25
    frame #0: 0x0000000100001e8b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #26
    frame #0: 0x0000000100001e86 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #27
    frame #0: 0x00000001000012a0 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000000000000, __m=memory_order_relaxed) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #28
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #29, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #30
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #31
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #32
    frame #0: 0x0000000100001e61 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:968
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #33
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #34
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #35
    frame #0: 0x0000000100001e86 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #36
    frame #0: 0x00000001000012b3 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:42
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #37
    frame #0: 0x0000000100001e6f a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:112
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #38, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #39
    frame #0: 0x00000001000012a0 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000000000000, __m=memory_order_relaxed) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #40
    frame #0: 0x0000000100001e8e a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #41
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #42
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #43
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #44
    frame #0: 0x0000000100001e6f a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:112
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #45
    frame #0: 0x0000000100001e6b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:54
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #46
    frame #0: 0x00000001000012b3 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:42
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #47
    frame #0: 0x0000000100001358 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #48
    frame #0: 0x00000001000012a0 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000000000000, __m=memory_order_relaxed) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #49
    frame #0: 0x0000000100001e6f a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:112
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #50
    frame #0: 0x00000001000012b3 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:42
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #51
    frame #0: 0x0000000100001e8e a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #52
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #53
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #54
    frame #0: 0x0000000100001e6b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:54
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #55
    frame #0: 0x00000001000012c2 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:10
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #56
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #57
    frame #0: 0x00000001000012a0 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000000000000, __m=memory_order_relaxed) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #58
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #59
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #60
    frame #0: 0x0000000100001ec1 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #61, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #62
    frame #0: 0x0000000100001e6b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:54
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #63
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #64
    frame #0: 0x0000000100001358 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #65
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #66
    frame #0: 0x00000001000012a4 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #67
    frame #0: 0x0000000100001eb8 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #68, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #69
    frame #0: 0x0000000100001358 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #70, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #71, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #72
    frame #0: 0x0000000100001e86 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #73
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #74
    frame #0: 0x0000000100001e6f a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:112
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #75
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #76
    frame #0: 0x0000000100001ec4 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:5
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #77
    frame #0: 0x00000001000012b6 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #78
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #79
    frame #0: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #80
    frame #0: 0x0000000100001e8e a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #81
    frame #0: 0x0000000100001e72 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #82
    frame #0: 0x0000000100001e79 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #83, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #84, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #85, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #86, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #87, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #88, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #89, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #90, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #91, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #92, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #93
    frame #0: 0x00000001000012a8 a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487
    frame #1: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #2: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #3: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #4: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #94
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #95
    frame #0: 0x0000000100001e6b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:54
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #96
    frame #0: 0x0000000100001ebe a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #97
    frame #0: 0x0000000100001eb8 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:0:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #98
    frame #0: 0x0000000100001e6b a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:54
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #99
    frame #0: 0x0000000100001e86 a.out`int std::__1::__cxx_atomic_load<int>(__a=0x0000000100005168, __order=memory_order_seq_cst) at atomic:970:12
    frame #1: 0x00000001000012be a.out`std::__1::__atomic_base<int, false>::load(this=0x0000000100005168, __m=memory_order_seq_cst) const at atomic:1487:17
    frame #2: 0x0000000100001369 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:73:5
    frame #3: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #4: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #5: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #100, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #101, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13


runCmd: continue
output: Process 29204 resuming
Process 29204 stopped
* thread #2, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #3, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #4, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #5, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #6, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #7, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #8, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #9, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #10, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #12, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #13, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #14, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #16, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #17, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #18, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #19, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #21, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #22, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #23, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #24, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #25, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #26, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #27, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #28, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #30, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #31, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #32, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #33, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #34, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #35, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #36, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #37, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #39, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #40, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #41, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #42, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #43, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #44, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #45, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #46, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #47, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #48, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #49, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #50, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #51, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #53, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #54, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #55, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #56, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #57, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #58, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #59, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #60, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #62, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #63, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #64, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #65, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #66, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #67, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #69, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #72, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #73, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #74, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #75, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #76, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #77, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #78, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #79, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #80, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #81, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #82, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #93, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #94, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #95, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #96, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #97, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #98, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *
  thread #99, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
   74  	    do_action_args(input);
   75  	
   76  	    g_watchme = 1;     // watchpoint triggers here
-> 77  	    return 0;
    	    ^
   78  	}
   79  	
   80  	void *



runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff6e3cb36a libsystem_kernel.dylib`__ulock_wait + 10
    frame #1: 0x00007fff6e48670b libsystem_pthread.dylib`_pthread_join + 356
    frame #2: 0x0000000100001a4c a.out`dotest() at main.cpp:176:9
    frame #3: 0x0000000100001d44 a.out`main at main.cpp:183:5
    frame #4: 0x00007fff6e290085 libdyld.dylib`start + 1
* thread #2, stop reason = watchpoint 1
  * frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #3, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #4, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #5, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #6, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #7, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #8, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #9, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #10, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #11
    frame #0: 0x00007fff6e3ca3de libsystem_kernel.dylib`__mmap + 10
    frame #1: 0x0000000100150a59 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::internal_mmap(void*, unsigned long, int, int, int, unsigned long long) + 25
    frame #2: 0x00000001001530e4 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::MmapNamed(void*, unsigned long, int, int, char const*) + 20
    frame #3: 0x000000010015896a libclang_rt.asan_osx_dynamic.dylib`__sanitizer::MmapFixedNoReserve(unsigned long, unsigned long, char const*) + 122
    frame #4: 0x00000001001427ae libclang_rt.asan_osx_dynamic.dylib`__asan::ReserveShadowMemoryRange(unsigned long, unsigned long, char const*) + 94
    frame #5: 0x0000000100144b4a libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 186
    frame #6: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #7: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #8: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #9: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #10: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #12, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #13, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #14, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #15
    frame #0: 0x00007fff6e479510 libsystem_platform.dylib`_platform_bzero$VARIANT$Ivybridge + 48
    frame #1: 0x000000010013b708 libclang_rt.asan_osx_dynamic.dylib`__asan::PoisonShadow(unsigned long, unsigned long, unsigned char) + 616
    frame #2: 0x0000000100104ec9 libclang_rt.asan_osx_dynamic.dylib`__asan::FakeStack::Destroy(int) + 73
    frame #3: 0x0000000100144c12 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 386
    frame #4: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #5: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #6: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #7: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #8: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #16, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #17, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #18, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #19, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #20
    frame #0: 0x00007fff6e3ca3de libsystem_kernel.dylib`__mmap + 10
    frame #1: 0x0000000100150a59 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::internal_mmap(void*, unsigned long, int, int, int, unsigned long long) + 25
    frame #2: 0x00000001001530e4 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::MmapNamed(void*, unsigned long, int, int, char const*) + 20
    frame #3: 0x000000010015896a libclang_rt.asan_osx_dynamic.dylib`__sanitizer::MmapFixedNoReserve(unsigned long, unsigned long, char const*) + 122
    frame #4: 0x00000001001427ae libclang_rt.asan_osx_dynamic.dylib`__asan::ReserveShadowMemoryRange(unsigned long, unsigned long, char const*) + 94
    frame #5: 0x0000000100144b4a libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 186
    frame #6: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #7: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #8: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #9: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #10: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #21, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #22, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #23, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #24, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #25, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #26, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #27, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #28, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #29
    frame #0: 0x00007fff6e3ca5a6 libsystem_kernel.dylib`__munmap + 10
    frame #1: 0x0000000100150aa3 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::internal_munmap(void*, unsigned long) + 19
    frame #2: 0x000000010015311f libclang_rt.asan_osx_dynamic.dylib`__sanitizer::UnmapOrDie(void*, unsigned long) + 31
    frame #3: 0x000000010015864d libclang_rt.asan_osx_dynamic.dylib`__sanitizer::UnsetAlternateSignalStack() + 61
    frame #4: 0x0000000100144adc libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 76
    frame #5: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #6: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #7: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #8: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #9: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #30, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #31, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #32, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #33, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #34, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #35, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #36, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #37, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #38
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #39, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #40, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #41, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #42, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #43, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #44, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #45, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #46, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #47, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #48, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #49, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #50, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #51, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #52
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #53, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #54, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #55, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #56, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #57, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #58, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #59, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #60, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #61
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #62, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #63, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #64, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #65, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #66, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #67, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #68
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #69, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #70
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #71
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #72, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #73, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #74, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #75, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #76, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #77, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #78, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #79, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #80, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #81, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #82, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #83
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #84
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #85
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #86
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #87
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #88
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #89
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #90
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #91
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #92
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #93, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #94, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #95, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #96, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #97, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #98, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #99, stop reason = watchpoint 1
    frame #0: 0x0000000100001391 a.out`watchpoint_func(input=0x0000000000000000) at main.cpp:77:5
    frame #1: 0x00007fff6e48233d libsystem_pthread.dylib`_pthread_body + 126
    frame #2: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #3: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #100
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13
  thread #101
    frame #0: 0x00000001000f91e0 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThreadLocalMallocStorage::CommitBack() + 288
    frame #1: 0x0000000100144aca libclang_rt.asan_osx_dynamic.dylib`__asan::AsanThread::Destroy() + 58
    frame #2: 0x00007fff6e4826af libsystem_pthread.dylib`_pthread_tsd_cleanup + 475
    frame #3: 0x00007fff6e4856b1 libsystem_pthread.dylib`_pthread_exit + 70
    frame #4: 0x00007fff6e482348 libsystem_pthread.dylib`_pthread_body + 137
    frame #5: 0x00007fff6e4852a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff6e481425 libsystem_pthread.dylib`thread_start + 13


runCmd: continue
output: Process 29204 resuming
Process 29204 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100001d49 a.out`main at main.cpp:184:5
   181 	int main ()
   182 	{
   183 	    dotest();
-> 184 	    return 0; // Break here and verify one thread is active.
    	    ^
   185 	}
   186 	
   187 	



runCmd: continue
output: Process 29204 resuming
Process 29204 exited with status = 0 (0x00000000) 



FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test (TestConcurrentManyWatchpoints.ConcurrentManyWatchpoints)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x107965540> >>: success

Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test (TestConcurrentManyWatchpoints.ConcurrentManyWatchpoints)
   Test 100 watchpoints from 100 threads.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py", line 21, in test
    self.do_thread_actions(num_watchpoint_threads=100)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/concurrent_base.py", line 284, in do_thread_actions
    watchpoint_hit_count))
AssertionError: 100 != 99 : Expected 100 watchpoint hits, got 99
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10
----------------------------------------------------------------------
Ran 1 test in 34.824s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)