搜索
 找回密码
 立即注册

简单一步 , 微信登陆

memory dump问题的初步分析工具

作者:halleyhuang | 时间:2016-6-8 16:12:15 | 阅读:3932| 显示全部楼层
在添加了某些功能或者内存使用不当时,经常会出现memory dump的情况,这时可以通过附件tool初步l查看一下出问题的函数。
1. Prepare for your map file. (dvbc_u4.map)
在\DVB\project\dvbt_kappa\bin下面会保存当前编译软件的map,注意必须用当前软件同时编译出来的map

2. Prepare for your exception file. (test_1)
保存dump的打印到文件test_1,如:
depth 0 Return Address 8019ea4c
depth 1 Return Address 801bb360
depth 2 Return Address 801bcf5c
depth 3 Return Address 801b3888
depth 4 Return Address 801b06f4
depth 5 Return Address 801b1084
depth 6 Return Address 801aa4f0
depth 7 Return Address 80271c28
depth 8 Return Address 80271bfc

3. type command as "addressmap test_1 dvbc_u4.map"
在cmd命令行到tool目录下执行如下命令 addressmap test_1 dvbc_u4.map

4. shows the message as the file. (sample.bmp)
会看到打印出问题的函数,针对函数就可以初步定位问题了。
该会员没有填写今日想说内容.
回复

使用道具 举报

大神点评3

halleyhuang 发表于:2016-6-8 16:12:38
tool.rar (27.5 KB, 下载次数: 2)
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

lailiuming 发表于:2016-6-12 09:12:47
好用
回复

使用道具 举报

bean.yang 发表于:2016-6-13 14:15:12
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册
手机版