C++ 使用boost::无序集purify UMR错误

C++ 使用boost::无序集purify UMR错误,c++,boost,C++,Boost,我有一个简单的代码: #include <boost/unordered_set.hpp> int main (int argc, char* argv[]) { boost::unordered_set<int> bset; for (int i=0; i<10000; i++) { bset.insert(i); } return 0; } #包括 int main(int argc,char*argv[])

我有一个简单的代码:

#include <boost/unordered_set.hpp>

int main (int argc, char* argv[])
{
    boost::unordered_set<int> bset;
    for (int i=0; i<10000; i++) {
        bset.insert(i);
    }
    return 0;
}
#包括
int main(int argc,char*argv[])
{
boost::无序的集合b集合;
对于(int i=0;i,boost>boost::unordered::detail::table_impl,int,boost::hash,std::equal_to>>::emplace_impl>(int const&,boost::unordered::detail::set,int,boost::hash,std::equal_to>const&)[unique.hpp:414]
std::pair>,bool>boost::unordered::detail::table_impl,int,boost::hash,std::equal_to>>::emplace(boost::unordered::detail::emplace_args1,int,boost::hash,std::equal_to>>const&)[unique.hpp:393]
std::pair,boost::unordered::detail::ptr_node const*>,bool>boost::unordered::unordered_set,std::equal_to,std::allocator>::emplace(int const&)[unordered_set.hpp:277]
boost::unordered::unordered_set,std::equal_to,std::allocator>::insert(int const&)[unordered_set.hpp:380]

main[应用程序cxx:8]

__libc_start_main[libc.so.6]

_启动[crt1.o]

  • 正在读取线程21943堆栈上0x7fffffffd668的8个字节(0x7FFFFFD669处的7个字节)
  • 地址0x7FFFFFD668比函数std::pair>,bool>boost::unordered::detail::table_impl,int,boost::hash,std::equal_to>>::emplace_impl>(int const&,boost::unordered::detail::set,int,boost::hash,std::equal_to>const&)
我的boost版本是1.54.0

我的GCC版本是4.8.3

Purify版本是7.3(Purify 7.3-MOD150930 Linux(64位))

有谁能给我一点提示如何解决这个问题吗


谢谢

Hi Hocine-不,很遗憾我没有。我使用的是我组织中安装的。好的,我正在尝试查找它,以便在可能感兴趣的情况下提供帮助。请发布确切的编译器/链接器标志。当然,代码段没有错。因此,请检查生成的程序集列表。我下载了此文件PPlus.7.0.1.0-008.tar for Linux,我正在尝试安装在Redhat 6.4上,你知道如何获得Purify的试用许可证吗?许可证文件扩展名是updHi Hocine-不,很遗憾我没有。我使用的是在我的组织中安装的。好的,我正在尝试找到它,以便在可能感兴趣的情况下提供帮助。请发布准确的编译器/链接器标志。当然snippet没有错。所以,检查生成的程序集列表。我下载了这个文件PPlus.7.0.1.0-008.tar for Linux,我正在尝试在Redhat 6.4上安装,你知道如何获得Purify的试用许可证吗?许可证文件扩展名是upd