A user may set "CreateCoredumpOnCrash" flag to request core dumps, but they may not be actually created if the user does not set "ulimit -c unlimited"
We can, and should, set the limit programmatically, however, to ensure that core files are indeed written, by calling setrlimit(RLIMIT_CORE)
See https://developer.apple.com/library/archive/technotes/tn2124/_index.html
We can, and should, set the limit programmatically, however, to ensure that core files are indeed written, by calling setrlimit(RLIMIT_CORE)
See https://developer.apple.com/library/archive/technotes/tn2124/_index.html
- relates to
-
JDK-8237775 Core file generation will silently fail if /cores directory has wrong permissions set
- Closed
-
JDK-8243196 Take system native crash reporter into account when reporting any crash log info
- Closed