首页 > 解决方案 > boost C++ 库在 perl_matcher match_all_states 上崩溃

问题描述

我正在使用 boost 库来链接我的二进制文件。在某些情况下,我会收到以下崩溃跟踪。有人可以指出这可能发生的情况吗?

>>> Stack: #0 0x00007f1c6670f576 in boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::match_all_states() () from /lib/x86_64/libboost_regex.so.1.55.0
#1 0x00007f1c6670f79d in boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::match_prefix() () from /lib/x86_64/libboost_regex.so.1.55.0
#2 0x00007f1c6670fe72 in boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::find_restart_any() () from /lib/x86_64/libboost_regex.so.1.55.0
#3 0x00007f1c66706ae5 in boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::find_imp() () from /lib/x86_64/libboost_regex.so.1.55.0 <<<<

标签: c++boost

解决方案


推荐阅读