SIGSEGV in std::_Rb_tree<long........

pavan842
2012-03-26
2013-04-25
  • pavan842
    pavan842
    2012-03-26

    I'm getting the  correct output for all kinds of data sets, but the program is exiting with the above error……..can anyone explain the possible cause for the above error.

     
  • pavan842
    pavan842
    2012-03-26

    The error is………

    Program received signal SIGSEGV, Segmentation fault.
    0xb7f8e8e6 in std::_Rb_tree<long long, std::pair<long long const, stxxl::request_queue_impl_qwqr*>, std::_Select1st<std::pair<long long const, stxxl::request_queue_impl_qwqr*> >, std::less<long long>, std::allocator<std::pair<long long const, stxxl::request_queue_impl_qwqr*> > >::_M_begin (this=0xffffffff)
        at /usr/include/c++/4.5/bits/stl_tree.h:482
    warning: Source file is more recent than executable.
    482       { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); }

     
  • can anyone explain the possible cause for the above error.

    Not unless you provide more information and a working example (= a compilable (minimized) example source code that exhibits the error when run).
    What compiler, platform, OS, … do you use?
    Which version of STXXL do you use? Did you try SVN trunk?

    Andreas