10/bits/stl_bvector.h:916 #1 std::_Bit_const_iterator::operator* (this=<optimized out>) at /opt/rh/devtoolset vector<bool, std::allocator<bool> >::operator[] (__n=<optimized out>, this=<optimized out>) at /opt/rh/devtoolset RuntimeState*, doris::RowDescriptor const&, std::shared_ptr<doris::MemTracker> const&) () at /opt/rh/devtoolset brpc::RunLastMessage>::~unique_ptr (this=<synthetic pointer>, __in_chrg=<optimized out>) at /opt/rh/devtoolset /src/bthread/task_group.cpp:296 #22 0x0000000002197271 in bthread_make_fcontext () at /opt/rh/devtoolset
194 #2 <signal handler called> #3 operator() (__ptr=0x7f6c3636c71a, this=0x7f6c0e1b1f2c) at /opt/rh/devtoolset 10/bits/unique_ptr.h:79 #4 ~unique_ptr (this=0x7f6c0e1b1f2c, __in_chrg=<optimized out>) at /opt/rh/devtoolset storage/mysql/gdb_execute_plan.h:69 #6 operator() (this=0x7f6c3635c548, __ptr=0x7f6c0e1b1f2c) at /opt/rh/devtoolset include/c++/10/bits/unique_ptr.h:85 #7 operator() (__ptr=0x7f6c0e1b1f2c, this=0x7f6c3635c548) at /opt/rh/devtoolset 10/bits/unique_ptr.h:79 #8 ~unique_ptr (this=0x7f6c3635c548, __in_chrg=<optimized out>) at /opt/rh/devtoolset
compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/rh/devtoolset compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/rh/devtoolset
另外还有个需要说的是,如果gdb版本比较老,我们还可以使用scl enable devtoolset-10 bash使用次新的gcc10.2.1版本。
: 2.9.2 Source Installation Prerequisites 我这里使用的: mysql-boost-8.0.25.tar.gz , cmake3 version 3.17.3 devtoolset
y install devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-binutils ## 激活gcc 10.2.1 scl enable devtoolset
compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/rh/devtoolset
compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/rh/devtoolset
redhat-lsb-core scl-utils-build pkg-config ccache RUN yum install -y devtoolset-10-gcc* RUN echo 'scl enable devtoolset
devtoolset-10(EL7)或 gcc-toolset-10(EL8)软件包中提供了此编译器 。