Skip to content

Instantly share code, notes, and snippets.

@c9s
Created August 4, 2014 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c9s/ce8768249361c7eebfef to your computer and use it in GitHub Desktop.
Save c9s/ce8768249361c7eebfef to your computer and use it in GitHub Desktop.
Waiting sub 2
Wait.lock
FUinWnlaioiscthk.e cdao nd.wait
task
FDionnies sub 2
hFinished task
ed task
Process 23431 stopped
* thread #1: tid = 0x1d5ba0, 0x00007fff8cb08716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff8cb08716 libsystem_kernel.dylib`__psynch_cvwait + 10
libsystem_kernel.dylib`__psynch_cvwait + 10:
-> 0x7fff8cb08716: jae 0x7fff8cb08720 ; __psynch_cvwait + 20
0x7fff8cb08718: movq %rax, %rdi
0x7fff8cb0871b: jmpq 0x7fff8cb05175 ; cerror_nocancel
0x7fff8cb08720: ret
(lldb) bt
* thread #1: tid = 0x1d5ba0, 0x00007fff8cb08716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff8cb08716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff90aa8c3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x00007fff8bac0d43 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
frame #3: 0x000000010001a177 thread_pool_test`t3::ThreadTask::Wait(this=0x00007fff5fbfe508) + 359 at thread_task.cc:44
frame #4: 0x000000010000363e thread_pool_test`ThreadPoolTest_TestParentThreadTask_Test::TestBody(this=0x0000000100700040) + 414 at thread_pool_test.cc:177
frame #5: 0x0000000100070ef3 thread_pool_test`void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000100700040, method=21 00 00 00 00 00 00 00, location=0x000000010007da4a)(), char const*) + 131 at gtest.cc:2078
frame #6: 0x000000010005b987 thread_pool_test`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000100700040, method=21 00 00 00 00 00 00 00, location=0x000000010007da4a)(), char const*) + 119 at gtest.cc:2114
frame #7: 0x0000000100029e15 thread_pool_test`testing::Test::Run(this=0x0000000100700040) + 197 at gtest.cc:2150
frame #8: 0x000000010002b39b thread_pool_test`testing::TestInfo::Run(this=0x0000000100300d20) + 219 at gtest.cc:2326
frame #9: 0x000000010002c077 thread_pool_test`testing::TestCase::Run(this=0x00000001003007c0) + 231 at gtest.cc:2444
frame #10: 0x000000010003a9c8 thread_pool_test`testing::internal::UnitTestImpl::RunAllTests(this=0x00000001003002c0) + 952 at gtest.cc:4315
frame #11: 0x000000010006dd63 thread_pool_test`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x00000001003002c0, method=10 a6 03 00 01 00 00 00, location=0x000000010007e109)(), char const*) + 131 at gtest.cc:2078
frame #12: 0x000000010005e187 thread_pool_test`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x00000001003002c0, method=10 a6 03 00 01 00 00 00, location=0x000000010007e109)(), char const*) + 119 at gtest.cc:2114
frame #13: 0x000000010003a5a6 thread_pool_test`testing::UnitTest::Run(this=0x000000010008a208) + 422 at gtest.cc:3926
frame #14: 0x00000001000049c6 thread_pool_test`RUN_ALL_TESTS() + 22 at gtest.h:2288
frame #15: 0x00000001000037bb thread_pool_test`main(argc=1, argv=0x00007fff5fbfef20) + 59 at thread_pool_test.cc:198
frame #16: 0x0000000100001866 thread_pool_test`_start + 244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment