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