测试反馈,core了。

拿到环境,发现6和11,一个是重复释放,一个是非法指针。

用GDB一挂 ,发现

 1 GNU gdb (GDB) 7.5
2 Copyright (C) 2012 Free Software Foundation, Inc.
3 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4 This is free software: you are free to change and redistribute it.
5 There is NO WARRANTY, to the extent permitted by law. Type "show copying"
6 and "show warranty" for details.
7 This GDB was configured as "XXX".
8 For bug reporting instructions, please see:
9 <http://www.gnu.org/software/gdb/bugs/>...
10 Reading symbols from /usr/bin/XXX...(no debugging symbols found)...done.
11 BFD: Warning: /tmp/core_XXX_11 is truncated: expected core file size >= 8536064, found: 5242880.

然后看一下寄存器:

 1 (gdb) i r
2 zero at v0 v1
3 R0 0000000000000000 ffffffff802308b8 000a0a0400000028 000000ffee98c8f8
4 a0 a1 a2 a3
5 R4 000a0a0400000029 000000012e96dda1 0000000000000004 000000012e96dda4
6 a4 a5 a6 a7
7 R8 0000000000000300 0000000000000000 000a130400000002 140400015b281504
8 t0 t1 t2 t3
9 R12 0000000000000000 1304000000021404 000000fff153f350 000000fffff002b0
10 s0 s1 s2 s3
11 R16 000000012e9723b0 0000000000000004 000a0a0400000028 00000000000000d0
12 s4 s5 s6 s7
13 R20 000000ffee9a4000 000000ffee98c8f0 0000000000000000 fffffffffffffffe
14 t8 t9 k0 k1
15 R24 000000fff15370f8 000000fff10f1af0 0000000000000000 0000000000000000
16 gp sp s8 ra
17 R28 000000fff03f0370 000000fffff00590 000000fffff005cc 000000fff03a2670
18 sr lo hi bad
19 000000004000f8f3 0000000000000510 0000000000000000 000a0a0400000028
20 cause pc
21 ffffffff8080000c 000000fff10f1bc4
22 fsr fir
23 00000000 00000000

sp,ra都是非法指针,How to do?

最新文章

  1. 自动分割mp3等音频视频文件的脚本
  2. 二.Android手机自动化测试真机运行
  3. R语言内存管理
  4. linux的sysctl基本配置
  5. checked属性
  6. (学习笔记)PHP的输出echo和print
  7. 如何解决PC端和移动端自适应问题?
  8. 『.Net』微软家的女儿们
  9. Mail搭建
  10. 关于scroll无法绑定的问题
  11. Android android-common 常用功能和工具集合
  12. Beyond Compare 忽略两个文件内容的顺序比较文件内容(xjl456852原创)
  13. ajaxFileUpload js判断类型
  14. Linux环境下搭建php开发环境的操作步骤
  15. 【Unity编程】Unity中的欧拉旋转
  16. (七)javascript中的数组
  17. python+selenium+autoit实现文件上传
  18. SQLServer 导入大脚本文件
  19. python从入门到实践-9章类
  20. Python内置函数(50)——print

热门文章

  1. Git 是如何存储文件的
  2. Java学习日报7.9
  3. 浅入kubernetes(2):Kubernetes 的组成
  4. Thread中run和start方法的模板设计模式
  5. 2.2.1 Sqoop1的基本架构
  6. MySQL 中的WAL机制
  7. ElasticSearch教程——自定义分词器(转学习使用)
  8. YGGL.sql
  9. 安装Android Studio遇到的问题
  10. LeetCode解题Golang(1-10)