BIND 10 #3025: Segmentation fault in SegmentObjectHolderTest.grow test

BIND 10 Development do-not-reply at isc.org
Wed Jul 3 12:49:01 UTC 2013


#3025: Segmentation fault in SegmentObjectHolderTest.grow test
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  stephen                            |                Status:  new
                       Type:         |             Milestone:  New Tasks
  defect                             |              Keywords:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  DNS
                  Component:         |  Estimated Difficulty:  0
  Unclassified                       |           Total Hours:  0
               CVSS Scoring:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 Configuration:
 - latest version of master at time of reporting
 (ed2fb666188ea2c005b36d767bb7bb2861178dcc)
 - g++ 4.6.3 on Ubuntu 12.04
 - rebuilding from scratch (i.e. deleting all object files and compiling
 everything anew; this included deletion of all ccache cached files before
 the build).

 gdb trace:
 {{{
 Core was generated by `.libs/lt-run_unittests'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x006bbf38 in get_pointer (this=0x0) at
 /usr/include/boost/interprocess/offset_ptr.hpp:81
 81         {  return (internal.m_offset == 1) ? 0 :
 (const_cast<char*>(reinterpret_cast<const char*>(this)) +
 internal.m_offset); }
 (gdb) bt
 #0  0x006bbf38 in get_pointer (this=0x0) at
 /usr/include/boost/interprocess/offset_ptr.hpp:81
 #1  get (this=0x0) at /usr/include/boost/interprocess/offset_ptr.hpp:153
 #2  get_bits (n=...) at /usr/include/boost/interprocess/offset_ptr.hpp:443
 #3  get_color (n=...) at
 /usr/include/boost/intrusive/detail/rbtree_node.hpp:136
 #4
 boost::intrusive::rbtree_algorithms<boost::intrusive::rbtree_node_traits<boost::interprocess::offset_ptr<void>,
 true> >::rebalance_after_erasure (
     header=..., x=..., x_parent=...) at
 /usr/include/boost/intrusive/rbtree_algorithms.hpp:789
 #5  0x006bc924 in
 boost::intrusive::rbtree_algorithms<boost::intrusive::rbtree_node_traits<boost::interprocess::offset_ptr<void>,
 true> >::erase (header=...,
     z=...) at /usr/include/boost/intrusive/rbtree_algorithms.hpp:410
 #6  0x006bcbd6 in
 boost::intrusive::rbtree_impl<boost::intrusive::setopt<boost::intrusive::detail::base_hook_traits<boost::interprocess::detail::intrusive_value_type_impl<boost::intrusive::detail::generic_hook<boost::intrusive::get_set_node_algo<boost::interprocess::offset_ptr<void>,
 true>, boost::intrusive::default_tag, (boost::intrusive::link_mode_type)1,
 3>, char>,
 boost::intrusive::rbtree_node_traits<boost::interprocess::offset_ptr<void>,
 true>, (boost::intrusive::link_mode_type)1, boost::intrusive::default_tag,
 3>,
 std::less<boost::interprocess::detail::intrusive_value_type_impl<boost::intrusive::detail::generic_hook<boost::intrusive::get_set_node_algo<boost::interprocess::offset_ptr<void>,
 true>, boost::intrusive::default_tag, (boost::intrusive::link_mode_type)1,
 3>, char> >, unsigned int, true> >::erase (this=0xb7762020, i=...) at
 /usr/include/boost/intrusive/rbtree.hpp:807
 #7  0x006c0218 in erase (i=..., this=<optimized out>) at
 /usr/include/boost/intrusive/set.hpp:568
 #8  boost::interprocess::segment_manager<char,
 boost::interprocess::rbtree_best_fit<boost::interprocess::null_mutex_family,
 boost::interprocess::offset_ptr<void>, 0u>,
 boost::interprocess::iset_index>::priv_generic_named_destroy<char>
 (this=0xb7762004, name=0x81a143d "mark", index=..., table=...,
     is_intrusive_index=...) at
 /usr/include/boost/interprocess/segment_manager.hpp:977
 #9  0x006b3e4a in destroy<boost::interprocess::offset_ptr<void> >
 (this=<optimized out>, name=<optimized out>)
     at /usr/include/boost/interprocess/segment_manager.hpp:538
 #10 destroy<boost::interprocess::offset_ptr<void> > (name=<optimized out>,
 this=<optimized out>)
     at /usr/include/boost/interprocess/detail/managed_memory_impl.hpp:565
 #11 isc::util::MemorySegmentMapped::clearNamedAddressImpl (this=0x1,
 name=0xbfb148ed "") at memory_segment_mapped.cc:402
 #12 0x08107027 in clearNamedAddress (name=<optimized out>, this=<optimized
 out>) at ../../../../../src/lib/util/memory_segment.h:299
 #13 (anonymous namespace)::SegmentObjectHolderTest_grow_Test::TestBody
 (this=0x87ab5a0) at segment_object_holder_unittest.cc:135
 #14 0x081849e0 in void
 testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test,
 void>(testing::Test*, void (testing::Test::*)(), char const*)
     ()
 #15 0x081802c1 in void
 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,
 void>(testing::Test*, void (testing::Test::*)(), char const*) ()
 #16 0x0816f728 in testing::Test::Run() ()
 #17 0x0816fddd in testing::TestInfo::Run() ()
 #18 0x081702db in testing::TestCase::Run() ()
 #19 0x0817478a in testing::internal::UnitTestImpl::RunAllTests() ()
 #20 0x08185b46 in bool
 testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>(testing::internal::UnitTestImpl*, bool
 (testing::internal::UnitTestImpl::*)(), char const*) ()
 #21 0x08181057 in bool
 testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>(testing::internal::UnitTestImpl*, bool
 (testing::internal::UnitTestImpl::*)(), char const*) ()
 #22 0x0817376d in testing::UnitTest::Run() ()
 #23 0x08160741 in isc::util::unittests::run_all () at run_all.cc:87
 #24 0x0805bb50 in main (argc=1, argv=0xbfb151f4) at run_unittests.cc:25
 }}}

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


More information about the bind10-tickets mailing list