前段在开发中遇到了测试组报过来的程序coredump 问题,stack如下: (Linux X86-64位系统,RHEL6,隐去程序名字更名为APP)
Stack: [0x0000000030074000,0x0000000030a75000], sp=0x0000000030a73830, free space=10238k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [APP+0x4b6768] ACRManager::getLastFailOverEventTS(std::vector<PreACRRec*, std::allocator<PreACRRec*> >&, PreACRRec*)+0x2ae
C [APP+0xacefe9] INCACRSessionData::INCACRSessionData(std::vector<PreACRRec*, std::allocator<PreACRRec*> >&, PreACRRec*, int, int, std::string)+0x369
C [APP+0xad193c] INCACRSessionDataMap::INCACRSessionDataMap(std::vector<PreACRRec*, std::allocator<PreACRRec*> >&, PreACRRec*, int, std::string)+0xd4
C [APP+0x4b52e6] ACRManager::generateINCfile(std::vector<PreACRRec*, std::allocator<PreACRRec*> >&, PreACRRec*, int, std::string)+0x162
C [APP+0x5002b6] Audit::closeACR(std::string const&, std::vector<PreACRRec*, std::allocator<PreACRRec*> >, DBConn*, int, int)+0x3c8
C [APP+0x4ffbd5] Audit::processACR(std::string const&, int)+0x55b
C [APP+0x4ff4b2] Audit::acr_audit_process()+0x338
C [APP+0x4fcf65] Audit::acrStart()+0xcf
C [APP+0x50195f] acr_thread_run+0x54
程序 没有加入-g选项,看不到对应的行号。只能使用objdump -Cd 生成反汇编代码&