[kbelco@sahp7645 src]$ gdb -p 19303 GNU gdb Red Hat Linux (6.3.0.0-1.96rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Attaching to process 19303 Reading symbols from /var/scratch2/boost/results/boost/bin.v2/libs/interprocess/test/named_recursive_mutex_test.test/gcc-4.0.1/debug/threading-multi/named_recursive_mutex_test...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". Reading symbols from /var/scratch2/boost/results/boost/bin.v2/libs/thread/build/gcc-4.0.1/debug/threading-multi/libboost_thread-gcc40-mt-d-1_35.so.1.35.0...done. Loaded symbols for /var/scratch2/boost/results/boost/bin.v2/libs/thread/build/gcc-4.0.1/debug/threading-multi/libboost_thread-gcc40-mt-d-1_35.so.1.35.0 Reading symbols from /lib64/tls/librt.so.1...done. Loaded symbols for /lib64/tls/librt.so.1 Reading symbols from /usr/local/gcc/64Bit/4.0.1/lib64/libstdc++.so.6...done. Loaded symbols for /usr/local/gcc/64Bit/4.0.1/lib64/libstdc++.so.6 Reading symbols from /lib64/tls/libm.so.6...done. Loaded symbols for /lib64/tls/libm.so.6 Reading symbols from /usr/local/gcc/64Bit/4.0.1/lib64/libgcc_s.so.1...done. Loaded symbols for /usr/local/gcc/64Bit/4.0.1/lib64/libgcc_s.so.1 Reading symbols from /lib64/tls/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 182898725792 (LWP 19303)] Loaded symbols for /lib64/tls/libpthread.so.0 Reading symbols from /lib64/tls/libc.so.6...done. Loaded symbols for /lib64/tls/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x0000003b6d8aec29 in sched_yield () from /lib64/tls/libc.so.6 (gdb) where #0 0x0000003b6d8aec29 in sched_yield () from /lib64/tls/libc.so.6 #1 0x0000000000404f89 in boost::interprocess::detail::thread_yield () at ../boost/interprocess/detail/os_thread_functions.hpp:66 #2 0x0000000000408858 in boost::interprocess::detail::managed_open_or_create_impl::priv_open_or_create ( this=0x7fbfffed00, type=boost::interprocess::detail::DoCreateOrOpen, size=32, mode=boost::interprocess::read_write, addr=0x0, construct_func= {m_creation_type = boost::interprocess::named_recursive_mutex::construct_func_t::open_or_create}) at ../boost/interprocess/detail/managed_open_or_create_impl.hpp:377 #3 0x0000000000408caf in managed_open_or_create_impl (this=0x7fbfffed00, name=0x511028 "GNU_C++_version_4_0_1", size=32, mode=boost::interprocess::read_write, addr=0x0, construct_func=@0x7fbfffec80) at ../boost/interprocess/detail/managed_open_or_create_impl.hpp:142 #4 0x0000000000408d3b in named_recursive_mutex (this=0x7fbfffed00, name=0x511028 "GNU_C++_version_4_0_1") at ../boost/interprocess/sync/named_recursive_mutex.hpp:150 #5 0x0000000000408db8 in named_recursive_mutex_lock_test_wrapper (this=0x7fbfffed00) at ../libs/interprocess/test/named_recursive_mutex_test.cpp:35 #6 0x000000000040afc7 in boost::interprocess::test::test_recursive_lock::operator() (this=0x7fbfffedf7) at ../libs/interprocess/test/mutex_test_template.hpp:140 #7 0x0000000000403cb0 in test_all_recursive_lock () at ../libs/interprocess/test/mutex_test_template.hpp:334 #8 0x0000000000403ce2 in main () at ../libs/interprocess/test/named_recursive_mutex_test.cpp:65 (gdb)