遇到segmentation fault 错误

今天platform遇到了这个segmentation fault 的常见内存错误,运行所有的平台命令时都会出现这个错误,感觉根本无法下手啊。

上网查询说这种内存错误会产生一个core file, 然后使用gdb调试core file 就可以看到内存错误是在哪儿发生的,虽然产生了core file,

但使用gdb调试的时候发现是由于一个静态库引起的,所以问题最后也没有解决,客户那边卸载了fts.

就core file 在网上发现几篇不错的文章,在下面列出他们的链接:

http://blog.sina.com.cn/s/blog_64b11b3801012g46.html

http://blog.chinaunix.net/uid-26748613-id-3182113.html

http://westsoftware.blog.163.com/blog/static/260941092011460252776/

 

原文地址:https://www.cnblogs.com/wzheng/p/3503625.html