参考:https://*.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://*.com/questions/13403824/empty-core-dump-file-after-segmentation-fault