pombreda / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bad --gtest_internal_run_death_test flag: Abort(coredump) #335

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
execute any test case on AIX

What is the expected output? What do you see instead?
The following error occurs:
Running main() from gtest_main.cc
Bad --gtest_internal_run_death_test flag: Abort(coredump)

What version of the product are you using? On what operating system?

Google Test 1.5.0
AIX 3 5
lslpp -L | grep cpp | grep core
  vacpp.cmp.core             9.0.0.8    C     F    IBM XL C/C++ Compiler
  vacpp.msg.en_US.cmp.core   9.0.0.8    C     F    IBM XL C/C++ Compiler

Please provide any additional information below.
>xlC -q64 -o executeme samples/sample1.cc samples/sample1_unittest.cc 
-I./include -L./lib -lgtest -lgtest_main
>dbx executeme
Type 'help' for help.
[using memory image in core]
reading symbolic information ...

IOT/Abort trap in pthread_kill at 0x90000000019375c ($t1)
0x90000000019375c (pthread_kill+0x88) e8410028          ld   r2,0x28(r1)
(dbx) where
pthread_kill(??, ??) at 0x90000000019375c
_p_raise(??) at 0x900000000193170
raise.raise(??) at 0x90000000033d4c0
abort() at 0x900000000368afc
DeathTestAbort(const testing::internal::String&)(message = &(...)), line 215 in 
"gtest-death-test.cc"
ParseInternalRunDeathTestFlag()(), line 1160 in "gtest-death-test.cc"
testing::internal::UnitTestImpl::InitDeathTestSubprocessControlInfo()(this = 
0x0000000110013ab0), line 797 in "gtest-internal-inl.h"
testing::internal::UnitTestImpl::PostFlagParsingInit()(this = 
0x0000000110013ab0), line 3836 in "gtest.cc"
gtest-all.nal::InitGoogleTestImpl<char>(int*,char**)(argc = 0x0ffffffffffff110, 
argv = 0x0ffffffffffff160), line 4680 in "gtest.cc"
gtest-all.InitGoogleTest(int*,char**)(argc = 0x0ffffffffffff110, argv = 
0x0ffffffffffff160), line 4695 in "gtest.cc"
main(argc = 1, argv = 0x0ffffffffffff160), line 37 in "gtest_main.cc"
(dbx) 

Original issue reported on code.google.com by itryh...@hotmail.com on 1 Dec 2010 at 5:07

GoogleCodeExporter commented 9 years ago
Have you seen this discussion: 
http://groups.google.com/group/googletestframework/browse_thread/thread/ba9b36c1
35d1f7f3
?

Original comment by vladlosev on 1 Dec 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Please send questions to the mailing list instead of creating an issue 
directly.  Thanks.

Original comment by w...@google.com on 14 Dec 2010 at 11:39