The following is the bt I've got from gdb, but I don't know how to check with real reason behind the problem, anyone please help me to solve it?
BTW, std::map<unsigned char,unsigned char> m_cDataFrame
is my map data, and I use std::pair<unsigned char,unsigned char>
to update map data.
at /opt/fsl-imx-xwayland/4.14-sumo/sysroots/aarch64-poky-linux/usr/include/c++/7.3.0/bits/stl_tree.h:1856
#1 0x0000ffffbd2ea688 in std::_Rb_tree<unsigned char, std::pair<unsigned char const, unsigned char>, std::_Select1st<std::pair<unsigned char const, unsigned char> >, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, unsigned char> > >::_M_erase (this=this@entry=0x44b940, __x=0x41f3c00)
at /opt/fsl-imx-xwayland/4.14-sumo/sysroots/aarch64-poky-linux/usr/include/c++/7.3.0/bits/stl_tree.h:1856
#2 0x0000ffffbd2ea5fc in std::_Rb_tree<unsigned char, std::pair<unsigned char const, unsigned char>, std::_Select1st<std::pair<unsigned char const, unsigned char> >, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, unsigned char> > >::clear (this=0x44b940)
at /opt/fsl-imx-xwayland/4.14-sumo/sysroots/aarch64-poky-linux/usr/include/c++/7.3.0/bits/stl_tree.h:1171
#3 std::map<unsigned char, unsigned char, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, unsigned char> > >::clear (this=0x44b940)
at /opt/fsl-imx-xwayland/4.14-sumo/sysroots/aarch64-poky-linux/usr/include/c++/7.3.0/bits/stl_map.h:1128
#4 UcomDataProcess::SetDataFrame (this=this@entry=0x44b930, sDataFrame=...) at UcomDataProcess.cpp:182
#5 0x0000ffffbd2eadfc in DataReceiveThread::DataUnpack::UnpackDataCore (this=0x41fda40, sDataFrame=...)
at DataReceiveThread.cpp:184
#6 0x0000ffffbeb3bfd4 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x0000ffffbeb37288 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x0000ffffbe258f78 in start_thread (arg=0xffffbcacb706)
at /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_create.c:463
#9 0x0000ffffbe835e2c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78```
Aucun commentaire:
Enregistrer un commentaire