United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7129724 MAC: Core file location is wrong in crash report
JDK-7129724 : MAC: Core file location is wrong in crash report

Details
Type:
Bug
Submit Date:
2012-01-13
Status:
Closed
Updated Date:
2013-07-18
Project Name:
JDK
Resolved Date:
2012-07-14
Component:
hotspot
OS:
os_x
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
hs24 (b16)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

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

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.
                                     
2012-06-22
EVALUATION

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

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



Hardware and Software, Engineered to Work Together