首页 > 其他分享 >在map 枚举过程中删去整个map的错误

在map 枚举过程中删去整个map的错误

时间:2023-03-21 18:32:59浏览次数:49  
标签:std map x86 tree 枚举 64 Rb 删去 el7

Program terminated with signal 11, Segmentation fault.

#0  0x00007fad0af884c7 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /lib64/libstdc++.so.6

Missing separate debuginfos, use: debuginfo-install glibc-2.17-105.el7.x86_64 glibc-2.17-326.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-54.el7_9.x86_64 libaio-0.3.109-13.el7.x86_64 libcom_err-1.42.9-19.el7.x86_64 libgcc-4.8.5-44.el7.x86_64 libibverbs-52mlnx1-1.52104.x86_64 libnl3-3.2.28-4.el7.x86_64 librdmacm-52mlnx1-1.52104.x86_64 libselinux-2.5-15.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 libuuid-2.23.2-65.el7_9.1.x86_64 numactl-libs-2.0.12-5.el7.x86_64 openssl-libs-1.0.2k-25.el7_9.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-20.el7_9.x86_64

(gdb) bt

#0  0x00007fad0af884c7 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /lib64/libstdc++.so.6

#1  0x000000000060b6d3 in std::_Rb_tree_iterator<std::pair<kunlun::block_server::IOPlaneContext* const, bool> >::operator++ (this=0x7face87f9070) at /usr/include/c++/4.8.2/bits/stl_tree.h:189

标签:std,map,x86,tree,枚举,64,Rb,删去,el7
From: https://blog.51cto.com/xiamachao/6140791

相关文章

  • 力扣 49 字母异位词分组 multimap
    classSolution{public:vector<vector<string>>groupAnagrams(vector<string>&strs){multimap<string,string>mp;//键排序,值没动intlen=s......
  • java实现多字段排序(普通对象List和MapList)
    publicclassSortTest{publicstaticvoidmain(String[]args){//普通对象listsortVOList();//mapListsortMapList();......
  • Mapper代理开发
    Mapper代理开发可以看到在上面的MybatisDemo.java文件里面,其中的这句话:它也存在一定的硬编码问题,,可以利用Mapper代理的方法解决该问题!1、定义与SQL映射文件同名的Mappe......
  • 解决Flutter出现Warning: Mapping new ns http://schemas.android.com/repository/and
    出现的问题:  解决办法:1、首先找到这两个文件,图中箭头位置。 2、在gradle-wrapper.properties配置文件中添加distributionUrl=https\://services.gradle.org/distribution......
  • 创建controller/service/mapper/impl过程
    先创建entity包,在里面导入实体类然后创建controller/mapper/service包然后在service里创建impl包然后在mapper包里写mapper接口,加上@Mapper注解,继承BaseMapper<Employee......
  • map
    1、map是STL的一个关联容器,它提供一对一(其中第一个可以称为关键字,每个关键字只能在map中出现一次,第二个可能称为该关键字的值。2、map内部所有的数据都是有序的3、map的......
  • mybatis-spring注解MapperScan的原理
    很多开发者应该都知道,我们只使用@MapperScan这个注解就可以把我们写的Mybatis的Mapper接口加载到Spring的容器中,不需要对每个Mapper接口加@Mapper这个注解了,加快了我们开发......
  • Treemap按key和value降序排序
    Treemap是一种根据键排序的数据结构,可以通过重载它的比较器来按照值排序。要按键排序,可以使用默认的比较器,而要按值排序,可以创建一个自定义的比较器并将其传递给treemap的......
  • 暴力枚举
    P2241统计方形(数据加强版)1#include<iostream>2usingnamespacestd;3longlongn,m,rec,sqr;4intmain(){5cin>>n>>m;6for(inti=1;i<=n;i......
  • Mybatis 源码(六):Mapper接口代理对象创建
    Mapper接口通过sqlSession的getMapper()方法获取,接口无法创建实例对象,获取到的是其代理对象,下面来看看Mapper接口的代理是如何创建的。UserMappermapper=sqlSess......