JDK-7129724 : MAC: Core file location is wrong in crash report
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7u4
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-01-13
  • Updated: 2013-07-18
  • Resolved: 2012-07-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Relates :  
Description
This bug shadows a JIRA bug created for the Mac OS X port at...

http://java.net/jira/browse/MACOSX_PORT-187

Here is the description from that bug:

If HotSpot crashes on MacOS and core files are enabled, it prints current directory as location of core file:

#
Core dump written. Default location: /net/vmsqe.russia/export/home/nh161220/bugs/macos-JumbleGC/core or core.26246

This is wrong on MacOS, the core file will be in /cores. It's better to change HotSpot to print that location.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/65906dc96aa1
14-07-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/65906dc96aa1
04-07-2012

EVALUATION It reports the "Default location". Hotspot can not know for certain where a core file will go - for example on Solaris coreadm can be used to configure where core files go. See: "7014918: Improve core/minidump handling in Hotspot" for last update in this area.
22-06-2012