backtrace: #0 0x0000000000434367 in boost::chrono::detail::duration_cast_aux >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator() (this=0x7fffff7ff05f, fd=...) at /usr/local/include/boost/chrono/duration.hpp:238 No locals. #1 0x00000000004342fd in boost::chrono::detail::duration_cast >, boost::chrono::duration > >::operator() (this=0x7fffff7ff08f, fd=...) at /usr/local/include/boost/chrono/duration.hpp:315 No locals. #2 0x0000000000434250 in boost::chrono::duration_cast >, long, boost::ratio<1l, 1000000000l> > (fd=...) at /usr/local/include/boost/chrono/duration.hpp:789 No locals. #3 0x0000000000433f1a in boost::chrono::ceil >, long, boost::ratio<1l, 1000000000l> > (d=...) at /usr/local/include/boost/chrono/ceil.hpp:27 t = {static boost_chrono_test_424 = , static boost_chrono_test_426 = , static boost_chrono_test_428 = , rep_ = 140737479962848} #4 0x00000000004339de in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 No locals. #5 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 No locals. . . (same lines follow) . #65504 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 No locals. #65505 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 No locals. #65506 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 No locals. #65507 0x0000000000433327 in ThreadsTest::testThreads (this=0x7fffffffe0e0) at /home/ubuntu/MyCode/trunk/Tools/ThreadsTest/src/ThreadsTest.cpp:13 _lock1 = {m = 0x7fffffffe0e0, is_locked = true} untilTime = {static boost_chrono_test_159 = , d_ = {static boost_chrono_test_424 = , static boost_chrono_test_426 = , static boost_chrono_test_428 = , rep_ = 2369934094324}} #65508 0x00000000004327ea in main (argc=1, argv=0x7fffffffe268) at /home/ubuntu/MyCode/trunk/Tools/ThreadsTest/src/ThreadsTest.cpp:40 test = {m_CsQueuedItems = {m = {__data = {__lock = 1, __count = 1, __owner = 3186, __nusers = 1, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\001\000\000\000\001\000\000\000r\f\000\000\001\000\000\000\001", '\000' , __align = 4294967297}}, m_EvQueuedItems = {internal_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' , __align = 0}, cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 1, __broadcast_seq = 0}, __size = '\000' , "\001\000\000\000\000\000\000", __align = 0}}, mIsInterrupted = false} registers: rax 0x7fffff7ff0f0 140737479962864 rbx 0x0 0 rcx 0x7fffffffe060 140737488347232 rdx 0x7fffff7ff0f0 140737479962864 rsi 0x7fffff7ff0f0 140737479962864 rdi 0x7fffff7ff0f0 140737479962864 rbp 0x7fffff7ff030 0x7fffff7ff030 rsp 0x7fffff7ff000 0x7fffff7ff000 r8 0x7fffffffe0e0 140737488347360 r9 0xc72 3186 r10 0x7fffffffddc0 140737488346560 r11 0x246 582 r12 0x423fa0 4341664 r13 0x7fffffffe260 140737488347744 r14 0x0 0 r15 0x0 0 rip 0x434367 0x434367 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+23> eflags 0x10206 [ PF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 current instructions: => 0x434367 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+23>: callq 0x4333e2 >::count() const> 0x43436c >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+28>: mov %rax,-0x10(%rbp) 0x434370 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+32>: movq $0x0,-0x8(%rbp) 0x434378 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+40>: mov -0x10(%rbp),%rax 0x43437c >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+44>: mov %rax,-0x20(%rbp) 0x434380 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+48>: mov -0x20(%rbp),%rax 0x434384 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+52>: leaveq 0x434385 >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator()(boost::chrono::duration > const&) const+53>: retq 0x434386 <_ZTv0_n24_NK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEE5cloneEv>: mov (%rdi),%r10 0x434389 <_ZTv0_n24_NK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEE5cloneEv+3>: add -0x18(%r10),%rdi 0x43438d <_ZTv0_n24_NK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEE5cloneEv+7>: jmp 0x434390 >::clone() const> 0x43438f: nop 0x434390 >::clone() const>: push %rbp 0x434391 >::clone() const+1>: mov %rsp,%rbp 0x434394 >::clone() const+4>: push %r12 0x434396 >::clone() const+6>: push %rbx threads backtrace: Thread 1 (Thread 0x7ffff7fd4780 (LWP 3186)): #0 0x0000000000434367 in boost::chrono::detail::duration_cast_aux >, boost::chrono::duration >, boost::ratio<1l, 1l>, true, true>::operator() (this=0x7fffff7ff05f, fd=...) at /usr/local/include/boost/chrono/duration.hpp:238 #1 0x00000000004342fd in boost::chrono::detail::duration_cast >, boost::chrono::duration > >::operator() (this=0x7fffff7ff08f, fd=...) at /usr/local/include/boost/chrono/duration.hpp:315 #2 0x0000000000434250 in boost::chrono::duration_cast >, long, boost::ratio<1l, 1000000000l> > (fd=...) at /usr/local/include/boost/chrono/duration.hpp:789 #3 0x0000000000433f1a in boost::chrono::ceil >, long, boost::ratio<1l, 1000000000l> > (d=...) at /usr/local/include/boost/chrono/ceil.hpp:27 #4 0x00000000004339de in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 . (same lines follow) . #65503 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 #65504 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 #65505 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 #65506 0x0000000000433a01 in boost::condition_variable_any::wait_until, boost::chrono::duration > > (this=0x7fffffffe108, lock=..., t=...) at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311 #65507 0x0000000000433327 in ThreadsTest::testThreads (this=0x7fffffffe0e0) at /home/ubuntu/MyCode/trunk/Tools/ThreadsTest/src/ThreadsTest.cpp:13 #65508 0x00000000004327ea in main (argc=1, argv=0x7fffffffe268) at /home/ubuntu/MyCode/trunk/Tools/ThreadsTest/src/ThreadsTest.cpp:40