- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java 7 crash
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2015 06:32 AM
06-02-2015 06:32 AM
java 7 crash
Hi,
the latest java 7 crashes if using option -XX:+CMSScavengeBeforeRemark and the CMS garbage collector is in step "remark". It seems it is a bug, but I'm not sure. Can anyone reproduce this behaviour hopefully with this small java program?
Reproduce.java:
public class Reproduce
{
public static void main (String[] args)
{
StringBuffer buf= new StringBuffer();
for (int i=0; i<1000; i++)
{
StringBuffer newpart1= new StringBuffer("a string");
StringBuffer newpart2= new StringBuffer("second string");
for (int j=0; j<500; j++)
{
newpart1= newpart1.append(newpart2);
}
buf.append(newpart1);
System.out.println(i);
}
}
}
Compile and then run:
> /opt/java7/bin/java -d64 -XX:+CMSScavengeBeforeRemark -Xmx50m -Xms50m -XX:MaxNewSize=10m -XX:NewSize=10m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=6 Reproduce
On my ia64 hp server rx6600 it deliveres:
(0) 0xc00000000d9c7520 VMError::report_and_die{_ZN7VMError14report_and_dieEv} + 0x900 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/utilities/vmError.cpp:925 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(1) 0xc00000000be2ea20 $cold__ZN2os4Hpux22JVM_handle_hpux_signalEiP9__siginfoPvi + 0xc20 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(2) 0xc00000000c9b8de0 os::Hpux::signalHandler{_ZN2os4Hpux13signalHandlerEiP9__siginfoPv} + 0x80 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/os/hp-ux/vm/os_hp-ux.cpp:4497 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(3) 0xe000000120757440 ---- Signal 11 (SIGSEGV) delivered ----
(4) 0xc00000000d854e40 ParNewGeneration::collect{_ZN16ParNewGeneration7collectEbbmb} + 0x540 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(5) 0xc00000000c94cdf0 GenCollectedHeap::do_collection{_ZN16GenCollectedHeap13do_collectionEbbmbi} + 0xe30 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/memory/genCollectedHeap.cpp:666 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(6) 0xc00000000cff7990 CMSCollector::checkpointRootsFinal{_ZN12CMSCollector20checkpointRootsFinalEbbb} + 0x250 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp:5106 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(7) 0xc00000000cff7100 CMSCollector::do_CMS_operation{_ZN12CMSCollector16do_CMS_operationENS_11CMS_op_typeEN7GCCause5CauseE} + 0x320 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp:6666 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(8) 0xc00000000d9c1bb0 VM_CMS_Final_Remark::doit{_ZN19VM_CMS_Final_Remark4doitEv} + 0x140 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp:196 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(9) 0xc00000000bf18400 VM_Operation::evaluate{_ZN12VM_Operation8evaluateEv} + 0xe0 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/runtime/vm_operations.cpp:75 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(10) 0xc00000000c13bfe0 VMThread::loop{_ZN8VMThread4loopEv} + 0x4e0 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/runtime/vmThread.cpp:394 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(11) 0xc00000000bef65c0 VMThread::run{_ZN8VMThread3runEv} + 0x140 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/share/vm/runtime/vmThread.cpp:284 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(12) 0xc00000000c1469a0 _start{_Z6_startPv} + 0x3d0 at /wsp/jinteg/SVN/jinteg_h7.0.12.rc1b1/hotspot/src/os/hp-ux/vm/os_hp-ux.cpp:1281 [/opt/java7/jre/lib/IA64W/server/libjvm.so]
(13) 0xc000000000117e80 __pthread_bound_body + 0x190 at /ux/core/libs/threadslibs/src/common/pthreads/pthread.c:4875 [/usr/lib/hpux64/libpthread.so.1]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (11) at pc=c00000000d854e40, pid=11309, tid=14
#
# JRE version: Java(TM) SE Runtime Environment (7.0) (build 1.7.0.12-jinteg_2015_02_09_08_50-b00)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04-jre1.7.0.12-rc1 mixed mode hp-ux-ia64 )
# Problematic frame:
# V [libjvm.so+0x4e06e958] JVM_StartCompiler+0x4e09fd60
#
# Core dump written. Default location: /nfs/uh02/lbrosche/jvm_bug_hp/core or core.11309 (max size 2097151 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /nfs/uh02/lbrosche/jvm_bug_hp/hs_err_pid11309.log
*** snip ***
#
# Please report this error to HP customer support.
#
My java version is:
> /opt/java7/bin/java -version
java version "1.7.0.12"
Java(TM) SE Runtime Environment (build 1.7.0.12-jinteg_2015_02_09_08_50-b00)
Java HotSpot(TM) Server VM (build 24.76-b04-jre1.7.0.12-rc1, mixed mode)
The installed quality pack is:
> /usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i
QPKAPPS B.11.31.1203.375 Applications Patches for HP-UX 11i v3, March 2012
QPKBASE B.11.31.1203.375 Base Quality Pack Bundle for HP-UX 11i v3, March 2012
Best Regards
LBrosche
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2015 12:04 PM
06-02-2015 12:04 PM
Re: java 7 crash
>Please report this error to HP customer support.
You need to do as the message says. I doubt anyone can help you here except say make sure you have the latest version/patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 01:31 AM
06-03-2015 01:31 AM
Re: java 7 crash
I don't have a support agreement, HP care Pack or something like that. How can I contact HP customer support without this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 02:18 AM - edited 06-03-2015 02:19 AM
06-03-2015 02:18 AM - edited 06-03-2015 02:19 AM
Re: java 7 crash
>I don't have a support agreement
Not even for the OS? Then you are out of luck unless there is another newer java you can download.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2015 02:30 AM
06-03-2015 02:30 AM
Re: java 7 crash
Ok, I have to find another way to contact HP customer support, maybe via direct email.
Thanks for your help!