arm系统下coredump生成空文件,文件大小为0的原因


参考:https://stackoverflow.com/questions/13403824/empty-core-dump-file-after-segmentation-fault

1.受限要开启coredump的大小限制。ulimit -c unlimited

2.core文件不能在挂在分区生成,必须放到本地分区上。

If you run the core file in a mounted drive.The core file can't be written to a mounted drive but must be written to the local drive.

https://stackoverflow.com/questions/13403824/empty-core-dump-file-after-segmentation-fault


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM