|
Boost Users : |
Subject: [Boost-users] Segmentation fault boost::re_detail::perl_matcher
From: manju k (m_a_n_j_u_s_k_at_[hidden])
Date: 2010-11-01 08:47:50
Hello all,
My application is using boost regular expression library.
When my application calls regex_replace it seg faults in in this function.
(gdb) where
#0 0x00007f6e83cdf998 in
boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >,
boost::regex_traits<char, boost::cpp_regex_traits<char> > >::find_imp() () from
../../../ThirdParty/redhat64/lib64/libboost_regex.so.5
#1 0x00007f6e83cdff15 in bool
boost::regex_search<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >,
char, boost::regex_traits<char, boost::cpp_regex_traits<char> >
>(__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&,
boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char>
> > const&, boost::regex_constants::_match_flags,
__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >) ()
from ../../../ThirdParty/redhat64/lib64/libboost_regex.so.5
#2 0x00007f6e83a5c5ef in
boost::regex_replace<boost::re_detail::string_out_iterator<std::string>,
__gnu_cxx::__normal_iterator<char const*, std::string>,
boost::regex_traits<char, boost::cpp_regex_traits<char> >, char> ()
I am using boost 64bit library on 64bit RHEL 6.
Has anyone faced the same problem earlier ?
regards,
manju
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net