Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Needs Assessment
Description
java_version fact collection sets heap size too low for some version, which causes fact java to crash and create a heap file:
- ls /root/hs_err_pid*|wc -l
2828
- java -Xmx8m -version 2>&1
# - A fatal error has been detected by the Java Runtime Environment:
# - SIGSEGV (0xb) at pc=0x00007fdf05fd3377, pid=13401, tid=140595883497216
# - JRE version: 6.0_41-b41
- Java VM: OpenJDK 64-Bit Server VM (23.41-b41 mixed mode linux-amd64 compressed oops)
- Derivative: IcedTea6 1.13.13
- Distribution: Red Hat Enterprise Linux Server release 6.8 (Santiago), package rhel-1.13.13.1.el6_8-x86_64
- Problematic frame:
- V [libjvm.so+0x395377] __printf_chk+0x395377
# - Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
# - An error report file with more information is saved as:
- /root/hs_err_pid13401.log
# - If you would like to submit a bug report, please include
- instructions how to reproduce the bug and visit:
- http://icedtea.classpath.org/bugzilla
#
Aborted
- java -version 2>&1
java version "1.6.0_41"
OpenJDK Runtime Environment (IcedTea6 1.13.13) (rhel-1.13.13.1.el6_8-x86_64)
OpenJDK 64-Bit Server VM (build 23.41-b41, mixed mode)
- cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 (Santiago)