2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntuでcoreファイルを見つける

Posted at

前提

ulimit -c unlimited

とかはやっておく。

/proc/sys/kernel/core_pattern はapportに書き込むようになっているので、apport.serviceがstartしているか確認する。されてなければenable/start。

パスの候補1

上記が正しく設定されていれば、通常は以下のパスに入るらしい。

/var/crash/

パスの候補2

自分の場合はそうならないことが多く、 /var/log/apport.log を見ると "executable does not belong to a package, ignoring" とかになっていて、その場合以下のパスで見つかる。

/var/lib/apport/coredump/

参考

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?