Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6843615

Infrequent 6u11-18 + HS14-16 VM crashes on Redhat 4 and 5 while running memory intensive java apps.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: 6u8
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description

      We are experiencing regular JVM crashes when running Javac to compile a large amount of source. Below is the HS log file. A core is available and has been uploaded to the partner website. Please contact Misha Bykov for access to core.380.

      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x14247c8b, pid=380, tid=1934248880
      #
      # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode linux-x86)
      # Problematic frame:
      # C 0x14247c8b
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x080a4c00): VMThread [stack: 0x73424000,0x734a5000] [id=384]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x14247c8b

      Registers:
      EAX=0xb5f2b9ec, EBX=0x76934fac, ECX=0xa8664d80, EDX=0x743d4118
      ESP=0x734a3aac, EBP=0x734a3ad8, ESI=0x734a3dd0, EDI=0x00000000
      EIP=0x14247c8b, CR2=0x14247c8b, EFLAGS=0x00010246

        Top of Stack: (sp=0x734a3aac)
      0x734a3aac: 061cbd41 a8664d80 743d4118 00000000
      0x734a3abc: 00000000 a5a9aa00 00000000 7697bcd3
      0x734a3acc: 76934fac 734a3dd0 a85a5ecc 734a3af8
      0x734a3adc: 061cc5d3 0805cd10 743d4118 76934fac
      0x734a3aec: 00000001 76934fac 76934fb4 734a3b28
      0x734a3afc: 061ff939 734a3dd0 76934fac 743d4118
      0x734a3b0c: 743d4118 a5a70418 7692ddd0 a85a5ed0
      0x734a3b1c: 76934f70 7696b718 7696b718 734a3b58

      Instructions: (pc=0x14247c8b)
      0x14247c7b:
      [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb]

      Stack: [0x73424000,0x734a5000], sp=0x734a3aac, free space=510k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C 0x14247c8b
      V [libjvm.so+0x1cc5d3]
      V [libjvm.so+0x1ff939]
      V [libjvm.so+0x35dd96]
      V [libjvm.so+0x1cc050]
      V [libjvm.so+0x1e9908]
      V [libjvm.so+0x1c9fcd]
      V [libjvm.so+0x33630f]
      V [libjvm.so+0x33666e]
      V [libjvm.so+0x335d68]
      V [libjvm.so+0x1cb602]
      V [libjvm.so+0x1e92b6]
      V [libjvm.so+0x19b235]
      V [libjvm.so+0x1e963c]
      V [libjvm.so+0x3cd28e]
      V [libjvm.so+0x3da507]
      V [libjvm.so+0x3d9b1c]
      V [libjvm.so+0x3d9cf1]
      V [libjvm.so+0x3d98cf]
      V [libjvm.so+0x3108a9]
      C [libpthread.so.0+0x5371]

      VM_Operation (0xb7fcf43c): GenCollectForAllocation, mode: safepoint, requested by thread 0x08058400


       

      VM Arguments:
      jvm_args: -Xmx800M -XX:MaxPermSize=260M -Ddebug.build=true -enableassertions -Dtarget=modular-build -Dant.library.dir=/ade/iibuild_jdevadf2/jdevadf/build/tools/ant/lib -Dant.home=/ade/iibuild_jdevadf2/jdevadf/build/tools/ant
      java_command: org.apache.tools.ant.launch.Launcher -logger org.apache.tools.ant.NoBannerLogger -DMAKE=make -Dbuilt_tmp=/ade/iibuild_jdevadf2/oracle/built/stubs/tmp -f /ade/iibuild_jdevadf2/jdevadf/build/product.xml modular-build
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=/ade/iibuild_jdevadf2/jdk14
      PATH=/usr/local/remote/packages/local/bin/ade/bin:/usr/local/bin:/bin:/scratch/iibuild/make-3.80:/usr/bin:/usr/X11R6/bin
      LD_LIBRARY_PATH=/ade_autofs/ade_base/JDK6_MAIN_LINUX.rdd/090126.6.11.FCS.B03/jdk6/jre/lib/i386/client:/ade_autofs/ade_base/JDK6_MAIN_LINUX.rdd/090126.6.11.FCS.B03/jdk6/jre/lib/i386:/ade_autofs/ade_base/JDK6_MAIN_LINUX.rdd/090126.6.11.FCS.B03/jdk6/jre/../lib/i386:/usr/lib
      LD_PRELOAD=/usr/lib/libcwait.so
      SHELL=/bin/sh
      DISPLAY=asbld13:2
      HOSTTYPE=i386-linux
      OSTYPE=linux
      MACHTYPE=i386

      Signal Handlers:
      SIGSEGV: [libjvm.so+0x3ccf60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGBUS: [libjvm.so+0x3ccf60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGFPE: [libjvm.so+0x30e830], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGPIPE: [libjvm.so+0x30e830], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGXFSZ: [libjvm.so+0x30e830], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGILL: [libjvm.so+0x30e830], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGUSR2: [libjvm.so+0x310d00], sa_mask[0]=0x00000000, sa_flags=0x10000004
      SIGHUP: [libjvm.so+0x310aa0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGINT: [libjvm.so+0x310aa0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGTERM: [libjvm.so+0x310aa0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGQUIT: [libjvm.so+0x310aa0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


      --------------- S Y S T E M ---------------

      OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 3)

      uname:Linux 2.6.9-34.0.1.0.11.ELsmp #1 SMP Thu Oct 26 14:26:54 PDT 2006 i686
      libc:glibc 2.3.4 NPTL 2.3.4
      rlimit: STACK 10240k, CORE infinity, NPROC 32616, NOFILE 4096, AS infinity
      load average:0.87 0.91 0.95

      CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3

      Memory: 4k page, physical 2065376k(92688k free), swap 10288440k(9984172k free)

      vm_info: Java HotSpot(TM) Client VM (11.0-b16) for linux-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 01:34:32 by "java_re" with gcc 3.2.1-7a (J2SE release)

      time: Thu May 7 18:15:03 2009
      elapsed time: 2902 seconds
      clarification from the customer:

      1) it's not javac that crashes, it's Hotspot that crashes during garbage collecting; this happens during indexing, JOT processing, or ANT processing, but never during javac compiles.
      2) not very reproduceable, about once a day on average, so about one in ten runs

      currently no news to report on, the crashes are very random and seems to be happening on older version of Red Hat Enterprise linux release 3 and 4.

      Unable to reproduce this with 6u13 and 6u14.

        Attachments

          Activity

            People

            • Assignee:
              minqi Yumin Qi
              Reporter:
              mbykov Misha Bykov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: