Core dump file is not generated

前端 未结 13 740
情书的邮戳
情书的邮戳 2020-11-28 06:46

Every time, my application crash a core dump file is not generated. I remember that few days ago, on another server it was generated. I\'m running the app u

13条回答
  •  没有蜡笔的小新
    2020-11-28 07:01

    If you call daemon() and then daemonize a process, by default the current working directory will change to /. So if your program is a daemon then you should be looking for a core in / directory and not in the directory of the binary.

提交回复
热议问题