Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-7009098 : SA cannot open core files larger than 2GB on Linux 32-bit
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 5.0u6,6u29
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_4.0,linux_redhat_5.0,linux_ubuntu
  • CPU: x86
  • Submitted: 2010-12-27
  • Updated: 2013-09-12
  • Resolved: 2012-03-05
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8 Other
6u32 b03Fixed 7u4Fixed 8Fixed hs20.7Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Linux 32-bit
SA cannot open core file larger than 2GB.  Depending on the configuration,
core size may exceed 2GB.

Can't attach to the core file
hsdb> Input stream closed.

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/54d3535a6dd3
2012-03-22

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/54d3535a6dd3
2012-02-18

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/54d3535a6dd3
2012-02-18

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/54d3535a6dd3
2012-02-17

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/54d3535a6dd3
2012-02-13

EVALUATION The fix is to enable the 'Large File Support' by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64. This is added to both agent/src/os/linux/Makefile (which builds SA from agent/make/) and make/linux/makefiles/saproc.make (which builds SA with Hotspot build). There is one more change with which SA should first load libraries from the path specified with SA_ALTROOT rather than loading from the paths embedded in the core file.
2012-02-13