What steps will reproduce the problem?
1. opt0x/pipeline_test.exe --gtest_filter=PipelineTest.ParallelExample
What is the expected output? What do you see instead?
a system error exception is threw and failed to pass the unit test.
What version of the product are you using? On what operating system?
I use the latest source code (Rev dca96397046b) on CentOS 6 with kernel 2.6.32
and gcc 4.4.6.
Please provide any additional information below.
$ gdb opt0x/pipeline_test.exe
(gdb) r --gtest_filter=PipelineTest.ParallelExample
Starting program: opt0x/pipeline_test.exe
--gtest_filter=PipelineTest.ParallelExample
[Thread debugging using libthread_db enabled]
Running main() from gmock_main.cc
Note: Google Test filter = PipelineTest.ParallelExample
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PipelineTest
[ RUN ] PipelineTest.ParallelExample
[New Thread 0x7ffff7fe4700 (LWP 29897)]
[New Thread 0x7ffff75e3700 (LWP 29898)]
find_uid for Queued Hello
get for 12
Consuming (User : 12)
find_uid for queued world
get for 12
Consuming (User : 12)
find_uid for queued 1
get for 8
Consuming (User : 8)
find_uid for queued 22
get for 9
Consuming (User : 9)
find_uid for queued 333
get for 10
Consuming (User : 10)
find_uid for queued 4444
get for 11
Consuming (User : 11)
find_uid for queued 55555
get for 12
Consuming (User : 12)
find_uid for queued 666666
get for 13
Consuming (User : 13)
find_uid for More stuff
get for 10
Consuming (User : 10)
find_uid for Yet More stuff
get for 14
Consuming (User : 14)
find_uid for Are we done yet???
get for 18
Consuming (User : 18)
terminate called after throwing an instance of 'std::system_error'
what():
Program received signal SIGABRT, Aborted.
0x0000003a45e32885 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6.x86_64
libgcc-4.4.6-3.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64
(gdb) bt
#0 0x0000003a45e32885 in raise () from /lib64/libc.so.6
#1 0x0000003a45e34065 in abort () from /lib64/libc.so.6
#2 0x0000003a522bea7d in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib64/libstdc++.so.6
#3 0x0000003a522bcc06 in ?? () from /usr/lib64/libstdc++.so.6
#4 0x0000003a522bcc33 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5 0x0000003a522bcd2e in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6 0x0000000000433134 in MutexInternal::_posix_mutex::~_posix_mutex() ()
#7 0x0000000000430f15 in gcl::barrier::~barrier() ()
#8 0x00000000004056f6 in gcl::PipelineExecution::~PipelineExecution() ()
#9 0x0000000000407d42 in PipelineTest_ParallelExample_Test::TestBody() ()
#10 0x0000000000423b9b in testing::Test::Run() ()
#11 0x0000000000423dc2 in testing::internal::TestInfoImpl::Run() ()
#12 0x0000000000423ef0 in testing::TestCase::Run() ()
#13 0x0000000000424623 in testing::internal::UnitTestImpl::RunAllTests() ()
#14 0x00000000004300fa in main ()
Original issue reported on code.google.com by huas...@gmail.com on 25 Jan 2012 at 7:51
Original issue reported on code.google.com by
huas...@gmail.com
on 25 Jan 2012 at 7:51