段错误
1.gdb调试
2.日志定位
3.objdump定位
4.打印堆栈信息
https://mp.csdn.net/editor/html/8242424
内存、句柄泄漏
1.使用内存池和连接池技术代替直接系统调用
2.单元测试工具
1.gdb调试
2.日志定位
3.objdump定位
4.打印堆栈信息
https://mp.csdn.net/editor/html/8242424
1.使用内存池和连接池技术代替直接系统调用
2.单元测试工具