2 u010064589 u010064589 于 2017.09.14 17:59 提问

linux下GDB调试core文件,Cannot access memory at address

#0 0x00000000004111d6 in std::less::operator() (this=0x7ffefa019790, __x=@0x7ffefa019710, __y=@0x74752e53555f0063)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_function.h:230
#1 0x0000000000ad2066 in std::_Rb_tree, std::_Select1st int const, google::protobuf::Message*> >, std::less, std::allocator > >::_M_insert_unique (this=0x7ffefa019790, __v=...) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_tree.h:1170#2 0x0000000000ad14d7 in std::map, std::allocator oogle::protobuf::Message*> > >::insert (this=0x7ffefa019790, __x=...) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:500
#3 0x0000000000adb459 in CPowerActivty::GetSaveData (this=0x48c4c180, UpdateData=Cannot access memory at address 0x2f2e2f646c697552
) at ../Src/Logic/PowerActivty.cpp:66
#4 0x0000000000000000 in ?? ()

求教下这是什么情况?在线等,急!

2个回答

u010064589
u010064589   2017.09.14 18:02

自顶下,主要就是这个函数堆栈,怎么从0x0000000000000000开始?

oyljerry
oyljerry   Ds   Rxr 2017.09.14 20:44

对应代码访问了空指针等。

Csdn user default icon
上传中...
上传图片
插入图片