Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-93

Segmentation fault with -std=C++11

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • legacy-0.8.0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      mongo driver from bd762d51930a8481a14664c98ae1219c858cdd02
      boost 1.50
      gcc 4.7.1 (debian) and gcc 4.7.2 (Ubuntu/Linaro 4.7.2-4precise1)

      #0  0x00007fc8a884a307 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #1  0x0000000000d41f0e in std::pair<std::_Rb_tree_iterator<std::pair<void const* const, boost::detail::tss_data_node> >, bool> std::_Rb_tree<void const
      *, std::pair<void const* const, boost::detail::tss_data_node>, std::_Select1st<std::pair<void const* const, boost::detail::tss_data_node> >, std::less<
      void const*>, std::allocator<std::pair<void const* const, boost::detail::tss_data_node> > >::_M_insert_unique<std::pair<void const*, boost::detail::tss
      _data_node> >(std::pair<void const*, boost::detail::tss_data_node>&&) ()
      (More stack frames follow...)
      #2  0x0000000000d3fd2b in boost::detail::add_new_tss_node(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*) ()
      #3  0x0000000000d40fc5 in boost::detail::set_tss_data(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool) ()
      #4  0x0000000000cf466f in boost::thread_specific_ptr<boost::weak_ptr<boost::spirit::impl::grammar_helper<boost::spirit::grammar<mongo::JsonGrammar, boo
      st::spirit::parser_context<boost::spirit::nil_t> >, mongo::JsonGrammar, boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spir
      it::skipper_iteration_policy<boost::spirit::iteration_policy>, boost::spirit::match_policy, boost::spirit::action_policy> > > > >::reset(boost::weak_pt
      r<boost::spirit::impl::grammar_helper<boost::spirit::grammar<mongo::JsonGrammar, boost::spirit::parser_context<boost::spirit::nil_t> >, mongo::JsonGram
      mar, boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit::skipper_iteration_policy<boost::spirit::iteration_policy>, boos
      t::spirit::match_policy, boost::spirit::action_policy> > > >*) ()
      #5  0x0000000000cf791e in mongo::JsonGrammar::definition<boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit::skipper_ite
      ration_policy<boost::spirit::iteration_policy>, boost::spirit::match_policy, boost::spirit::action_policy> > >& boost::spirit::impl::get_definition<mon
      go::JsonGrammar, boost::spirit::parser_context<boost::spirit::nil_t>, boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit
      ::skipper_iteration_policy<boost::spirit::iteration_policy>, boost::spirit::match_policy, boost::spirit::action_policy> > >(boost::spirit::grammar<mong
      o::JsonGrammar, boost::spirit::parser_context<boost::spirit::nil_t> > const*) ()
      #6  0x0000000000cf1547 in mongo::fromjson(char const*, int*) ()
      #7  0x00000000006f54fb in _GLOBAL__sub_I__ZN5mongo16ConnectionString12_fillServersESs ()
      #8  0x0000000000d5db0d in __libc_csu_init ()
      #9  0x00007fc8a7fcfe40 in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=0xd5dab0 <__libc_csu_init>, fini=
      0x7fc8a6277150, rtld_fini=0x126d, stack_end=0x7fffadec4918) at libc-start.c:187
      #10 0x00000000006f684d in _start ()
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            piotr Pedro Larroy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: