http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51906

--- Comment #18 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-01-29 
15:30:12 UTC ---
Here is a single stepping through 30_threads/try_lock/3.cc at -m64...


(gdb) break main
Breakpoint 1 at 0x100000cd0: file
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120126/libstdc++-v3/testsuite/30_threads/try_lock/3.cc,
line 64.
(gdb) r
Starting program:
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.2.0/libstdc++-v3/testsuite/3.exe
 
Reading symbols for shared libraries ++++........................ done

Breakpoint 1, main () at
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120126/libstdc++-v3/testsuite/30_threads/try_lock/3.cc:64
64          std::recursive_mutex m2;
(gdb) s
63          std::mutex m1;
(gdb) 
64          std::recursive_mutex m2;
(gdb) 
63          std::mutex m1;
(gdb) 
64          std::recursive_mutex m2;
(gdb) 
755        return __gthrw_(pthread_mutex_trylock) (__mutex);
(gdb) 
64          std::recursive_mutex m2;
(gdb) 
755        return __gthrw_(pthread_mutex_trylock) (__mutex);
(gdb) 
0x0000000100000e5a in dyld_stub_pthread_mutex_trylock ()
(gdb) 
Single stepping until exit from function dyld_stub_pthread_mutex_trylock, 
which has no line number information.
main () at mutex:679
679              if (__lock.owns_lock())
(gdb) 
755        return __gthrw_(pthread_mutex_trylock) (__mutex);
(gdb) 
0x0000000100000e5a in dyld_stub_pthread_mutex_trylock ()
(gdb) 
Single stepping until exit from function dyld_stub_pthread_mutex_trylock, 
which has no line number information.
0x00007fff8dde0bfb in pthread_mutex_trylock ()
(gdb) 
Single stepping until exit from function pthread_mutex_trylock, 
which has no line number information.
main () at mutex:679
679              if (__lock.owns_lock())
(gdb) 
776        return __gthrw_(pthread_mutex_unlock) (__mutex);
(gdb) 
0x0000000100000e60 in dyld_stub_pthread_mutex_unlock ()
(gdb) 
Single stepping until exit from function dyld_stub_pthread_mutex_unlock, 
which has no line number information.
main () at
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120126/libstdc++-v3/testsuite/30_threads/try_lock/3.cc:71
71          VERIFY( result == -1 );
(gdb) 
0x0000000100000e42 in dyld_stub___assert_rtn ()
(gdb) 
Single stepping until exit from function dyld_stub___assert_rtn, 
which has no line number information.
Assertion failed: (result == -1), function main, file
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120126/libstdc++-v3/testsuite/30_threads/try_lock/3.cc,
line 71.

Program received signal SIGABRT, Aborted.
0x00007fff927c182a in __kill ()
(gdb)

Reply via email to