Core dump file is not generated

前端 未结 13 733
情书的邮戳
情书的邮戳 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:18

    For the record, on Debian 9 Stretch (systemd), I had to install the package systemd-coredump. Afterwards, core dumps were generated in the folder /var/lib/systemd/coredump.

    Furthermore, these coredumps are compressed in the lz4 format. To decompress, you can use the package liblz4-tool like this: lz4 -d FILE.

    To be able to debug the decompressed coredump using gdb, I also had to rename the utterly long filename into something shorter...

提交回复
热议问题