BIND 10 #1880: limit core dumps in unittests

BIND 10 Development do-not-reply at isc.org
Thu Apr 5 12:48:42 UTC 2012


#1880: limit core dumps in unittests
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  Core          |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 The following is the last five core dump backtraces from
 src/lib/log/tests/.libs/initializer_unittests_2,
 src/lib/log/tests/.libs/run_unittests,
 src/lib/server_common/tests/.libs/run_unittests, and
 src/lib/util/tests/.libs/run_unittests on the macmini system:

 {{{
 GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar  5 04:43:10
 UTC 2010)
 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-apple-darwin".
 Core was generated by
 `/b/work/BIND10-systest/20120404235126-MacOS/build/src/lib/util/tests/.libs/run_unittests'.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries ........ done
 #0  0x930a3176 in __kill ()
 (gdb) #0  0x930a3176 in __kill ()
 #1  0x930a3168 in kill$UNIX2003 ()
 #2  0x9313589d in raise ()
 #3  0x9314b9bc in abort ()
 #4  0x931384fc in __assert_rtn ()
 #5  0x000243b4 in isc::util::OutputBuffer::operator[] ()
 #6  0x0001af41 in (anonymous
 namespace)::BufferTest_outputBufferReadat_Test::TestBody ()
 #7  0x0016b998 in testing::Test::Run ()
 #8  0x0016baa8 in testing::internal::TestInfoImpl::Run ()
 #9  0x0016bb46 in testing::TestCase::Run ()
 #10 0x0016e0d5 in testing::internal::UnitTestImpl::RunAllTests ()
 #11 0x0009c2f5 in isc::util::unittests::run_all ()
 #12 0x0000863a in main ()
 (gdb)
 GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar  5 04:43:10
 UTC 2010)
 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-apple-darwin".
 Core was generated by
 `/b/work/BIND10-systest/20120404235126-MacOS/build/src/lib/log/tests/.libs/run_unittests'.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries .......... done
 #0  0x930a3176 in __kill ()
 (gdb) #0  0x930a3176 in __kill ()
 #1  0x930a3168 in kill$UNIX2003 ()
 #2  0x9313589d in raise ()
 #3  0x9314b9bc in abort ()
 #4  0x931384fc in __assert_rtn ()
 #5  0x00026073 in isc::log::Logger::Logger ()
 #6  0x0001f4cd in isc::log::Logger::Logger ()
 #7  0x0003b14b in LoggerTest_LoggerNameLength_Test::TestBody ()
 #8  0x000f2998 in testing::Test::Run ()
 #9  0x000f2aa8 in testing::internal::TestInfoImpl::Run ()
 #10 0x000f2b46 in testing::TestCase::Run ()
 #11 0x000f50d5 in testing::internal::UnitTestImpl::RunAllTests ()
 #12 0x0005e385 in isc::util::unittests::run_all ()
 #13 0x000073a0 in main ()
 (gdb)
 GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar  5 04:43:10
 UTC 2010)
 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-apple-darwin".
 Core was generated by
 `/b/work/BIND10-systest/20120404235126-MacOS/build/src/lib/log/tests/.libs/initializer_unittests_2'.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries .......... done
 #0  0x930a3176 in __kill ()
 (gdb) #0  0x930a3176 in __kill ()
 #1  0x930a3168 in kill$UNIX2003 ()
 #2  0x9313589d in raise ()
 #3  0x9314b9bc in abort ()
 #4  0x931384fc in __assert_rtn ()
 #5  0x00050b42 in isc::log::MessageInitializer::MessageInitializer ()
 #6  0x00050abd in isc::log::MessageInitializer::MessageInitializer ()
 #7  0x000021fd in MessageInitializerTest2_MessageLoadTest_Test::TestBody
 ()
 #8  0x00021998 in testing::Test::Run ()
 #9  0x00021aa8 in testing::internal::TestInfoImpl::Run ()
 #10 0x00021b46 in testing::TestCase::Run ()
 #11 0x000240d5 in testing::internal::UnitTestImpl::RunAllTests ()
 #12 0x00002d75 in isc::util::unittests::run_all ()
 #13 0x00001fba in main ()
 (gdb)
 GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar  5 04:43:10
 UTC 2010)
 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-apple-darwin".
 Core was generated by
 `/b/work/BIND10-systest/20120405002424-MacOS/build/src/lib/server_common/tests/.libs/run_unittests'.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries ................... done
 #0  0x930a3176 in __kill ()
 (gdb) #0  0x930a3176 in __kill ()
 #1  0x930a3168 in kill$UNIX2003 ()
 #2  0x9313589d in raise ()
 #3  0x9314b9bc in abort ()
 #4  0x000eae2e in isc::server_common::portconfig::installListenAddresses
 ()
 #5  0x0000cb03 in (anonymous
 namespace)::InstallListenAddressesDeathTest_inconsistent_Test::TestBody ()
 #6  0x000b8998 in testing::Test::Run ()
 #7  0x000b8aa8 in testing::internal::TestInfoImpl::Run ()
 #8  0x000b8b46 in testing::TestCase::Run ()
 #9  0x000bb0d5 in testing::internal::UnitTestImpl::RunAllTests ()
 #10 0x0003cf45 in isc::util::unittests::run_all ()
 #11 0x000047b0 in main ()
 (gdb)
 GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar  5 04:43:10
 UTC 2010)
 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-apple-darwin".
 Core was generated by
 `/b/work/BIND10-systest/20120405002424-MacOS/build/src/lib/server_common/tests/.libs/run_unittests'.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries ................... done
 #0  0x930a3176 in __kill ()
 (gdb) #0  0x930a3176 in __kill ()
 #1  0x930a3168 in kill$UNIX2003 ()
 #2  0x9313589d in raise ()
 #3  0x9314b9bc in abort ()
 #4  0x000eae2e in isc::server_common::portconfig::installListenAddresses
 ()
 #5  0x0000c068 in (anonymous
 namespace)::InstallListenAddressesDeathTest_cantClose_Test::TestBody ()
 #6  0x000b8998 in testing::Test::Run ()
 #7  0x000b8aa8 in testing::internal::TestInfoImpl::Run ()
 #8  0x000b8b46 in testing::TestCase::Run ()
 #9  0x000bb0d5 in testing::internal::UnitTestImpl::RunAllTests ()
 #10 0x0003cf45 in isc::util::unittests::run_all ()
 #11 0x000047b0 in main ()
 (gdb)
 }}}

 In jabber, muks suggested: in the abort tests we could stop generation of
 cores (inside the testcase).

 (I had 407GB of core dumps.)

-- 
Ticket URL: <http://bind10.isc.org/ticket/1880>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list