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

Using Arrays.fill causes crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6, 7, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_ubuntu

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_40"
      Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
      Java HotSpot(TM) Server VM (build 25.40-b25, mixed mode)


      FULL OS VERSION :
      Linux latitudeLegion 3.16.0-31-generic #41~14.04.1-Ubuntu SMP Wed Feb 11 19:30:43 UTC 2015 i686 i686 i686 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      I put Arrays.fill into a nested loop twice, and after about 15-30 seconds the program crashes with a fatal error. Removing the Arrays.fill, instead looping through the array to insert values works. It crashes under java 7.76 and 8.40 for both linux and mac, but works fine under java 6.45.

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: No

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the program and wait a while? I'm not sure what is causing it so I can't give exact steps to reproduce.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The game should run fine forever, instead it crashes.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xb6e1dd37, pid=5257, tid=2235935552
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)
      # Java VM: Java HotSpot(TM) Server VM (25.40-b25 mixed mode linux-x86 )
      # Problematic frame:
      # V [libjvm.so+0x653d37] PhaseIdealLoop::match_fill_loop(IdealLoopTree*, Node*&, Node*&, Node*&, Node*&)+0x257
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

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

      Current thread (0x85934400): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5265, stack(0x853da000,0x8545b000)]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000

      Registers:
      EAX=0x00000000, EBX=0xb718d230, ECX=0x000003ef, EDX=0x8479c078
      ESP=0x85458310, EBP=0x854583b8, ESI=0x09d53ec4, EDI=0x09ddc26c
      EIP=0xb6e1dd37, EFLAGS=0x00010286, CR2=0x00000000

      Top of Stack: (sp=0x85458310)
      0x85458310: 09de1c10 00000800 85458368 000003ef
      0x85458320: b710b089 b710b09b 85458368 b6eea9ae
      0x85458330: 85458cf0 00000549 85458368 09ddf528
      0x85458340: 09de1c10 00000024 85459510 00000001
      0x85458350: 85458ce0 85458cf0 85458378 b6a6f66d
      0x85458360: 09ddf4d4 09de1bec 854583c8 84797f88
      0x85458370: 84798f7c 00000002 85458398 b6e35059
      0x85458380: 09ddf528 0000056b 09ddf2ac 09d53ac4

      Instructions: (pc=0xb6e1dd37)
      0xb6e1dd17: ff ff 31 d2 8b 85 64 ff ff ff 39 85 5c ff ff ff
      0xb6e1dd27: 76 0b 89 c1 8b 45 b4 8b 14 88 83 e2 fe 8b 42 04
      0xb6e1dd37: 8b 00 89 45 c0 85 c0 74 d0 8b 42 20 83 e0 07 83
      0xb6e1dd47: f8 05 0f 85 31 ff ff ff 8b 55 c0 e9 29 ff ff ff

      Register to memory mapping:

      EAX=0x00000000 is an unknown value
      EBX=0xb718d230: <offset 0x9c3230> in /usr/lib/jvm/java-8-oracle/jre/lib/i386/server/libjvm.so at 0xb67ca000
      ECX=0x000003ef is an unknown value
      EDX=0x8479c078 is an unknown value
      ESP=0x85458310 is pointing into the stack for thread: 0x85934400
      EBP=0x854583b8 is pointing into the stack for thread: 0x85934400
      ESI=0x09d53ec4 is an unknown value
      EDI=0x09ddc26c is an unknown value


      Stack: [0x853da000,0x8545b000], sp=0x85458310, free space=504k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x653d37] PhaseIdealLoop::match_fill_loop(IdealLoopTree*, Node*&, Node*&, Node*&, Node*&)+0x257
      V [libjvm.so+0x654459] PhaseIdealLoop::intrinsify_fill(IdealLoopTree*)+0xb9
      V [libjvm.so+0x654a9c] PhaseIdealLoop::do_intrinsify_fill()+0x3c
      V [libjvm.so+0x66a789] PhaseIdealLoop::build_and_optimize(bool, bool)+0x909
      V [libjvm.so+0x33b8fd] PhaseIdealLoop::PhaseIdealLoop(PhaseIterGVN&, bool, bool)+0x15d
      V [libjvm.so+0x337f48] Compile::Optimize()+0x6e8
      V [libjvm.so+0x339390] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x1230
      V [libjvm.so+0x28fe84] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x1b4
      V [libjvm.so+0x343b61] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xda1
      V [libjvm.so+0x344977] CompileBroker::compiler_thread_loop()+0x567
      V [libjvm.so+0x86b658] compiler_thread_entry(JavaThread*, Thread*)+0x18
      V [libjvm.so+0x876339] JavaThread::thread_main_inner()+0x109
      V [libjvm.so+0x8764bb] JavaThread::run()+0x14b
      V [libjvm.so+0x749159] java_start(Thread*)+0x119
      C [libpthread.so.0+0x6f70] start_thread+0xd0
      C [libc.so.6+0xebbee] clone+0x5e


      Current CompileTask:
      C2: 14018 684 % 4 Player::draw @ 112 (383 bytes)


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x872f6800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=5277, stack(0x84b54000,0x84ba5000)]
        0x84fa7400 JavaThread "AWT-Shutdown" [_thread_blocked, id=5276, stack(0x84ba5000,0x84bf6000)]
        0x84f83800 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=5270, stack(0x84df6000,0x84e47000)]
        0x84f55800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5269, stack(0x84e47000,0x84e98000)]
        0x85939400 JavaThread "Service Thread" daemon [_thread_blocked, id=5267, stack(0x85308000,0x85359000)]
        0x85936400 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=5266, stack(0x85359000,0x853da000)]
      =>0x85934400 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5265, stack(0x853da000,0x8545b000)]
        0x85932c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5264, stack(0x8545b000,0x854ac000)]
        0x85915800 JavaThread "Finalizer" daemon [_thread_blocked, id=5263, stack(0x857dd000,0x8582e000)]
        0x85914000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5262, stack(0x8582e000,0x8587f000)]
        0xb6607000 JavaThread "main" [_thread_blocked, id=5258, stack(0xb6733000,0xb6784000)]

      Other Threads:
        0x85911000 VMThread [stack: 0x8587f000,0x85900000] [id=5261]
        0x8593b000 WatcherThread [stack: 0x85287000,0x85308000] [id=5268]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap:
       PSYoungGen total 9472K, used 4488K [0x9c780000, 0x9d200000, 0xa7000000)
        eden space 8192K, 54% used [0x9c780000,0x9cbe22b0,0x9cf80000)
        from space 1280K, 0% used [0x9cf80000,0x9cf80000,0x9d0c0000)
        to space 1280K, 0% used [0x9d0c0000,0x9d0c0000,0x9d200000)
       ParOldGen total 22016K, used 4056K [0x87600000, 0x88b80000, 0x9c780000)
        object space 22016K, 18% used [0x87600000,0x879f60c8,0x88b80000)
       Metaspace used 6110K, capacity 6296K, committed 6424K, reserved 6448K

      Card table byte_map: [0xa70dd000,0xa71db000] byte_map_base: 0xa6ca2000

      Marking Bits: (ParMarkBitMap*) 0xb71ba6e0
       Begin Bits: [0x86230000, 0x86a18000)
       End Bits: [0x86a18000, 0x87200000)

      Polling page: 0xb77c0000

      CodeCache: size=245760Kb used=2184Kb max_used=2184Kb free=243575Kb
       bounds [0xa759b000, 0xa77db000, 0xb659b000]
       total_blobs=939 nmethods=683 adapters=172
       compilation: enabled

      Compilation events (10 events):
      Event: 13.911 Thread 0x85936400 nmethod 678 0xa77bb0c8 code [0xa77bb420, 0xa77bcad4]
      Event: 13.911 Thread 0x85936400 679 3 sun.awt.X11.XDragSourceContextPeer::getProxyModeSourceWindow (5 bytes)
      Event: 13.911 Thread 0x85936400 nmethod 679 0xa7798788 code [0xa77988a0, 0xa7798980]
      Event: 13.912 Thread 0x85936400 681 3 java.util.ArrayList::add (29 bytes)
      Event: 13.912 Thread 0x85936400 nmethod 681 0xa7798048 code [0xa77981a0, 0xa779854c]
      Event: 13.989 Thread 0x85936400 682 1 sun.awt.X11.XWindow::prePostEvent (2 bytes)
      Event: 13.990 Thread 0x85936400 nmethod 682 0xa7797e48 code [0xa7797f40, 0xa7797fe0]
      Event: 13.990 Thread 0x85936400 683 3 java.awt.event.KeyEvent::getExtendedKeyCode (6 bytes)
      Event: 13.990 Thread 0x85936400 nmethod 683 0xa77bd808 code [0xa77bd920, 0xa77bda00]
      Event: 13.996 Thread 0x85934400 684 % 4 Player::draw @ 112 (383 bytes)

      GC Heap History (4 events):
      Event: 0.636 GC heap before
      {Heap before GC invocations=1 (full 0):
       PSYoungGen total 9472K, used 6610K [0x9c780000, 0x9d200000, 0xa7000000)
        eden space 8192K, 80% used [0x9c780000,0x9cdf4a28,0x9cf80000)
        from space 1280K, 0% used [0x9d0c0000,0x9d0c0000,0x9d200000)
        to space 1280K, 0% used [0x9cf80000,0x9cf80000,0x9d0c0000)
       ParOldGen total 22016K, used 0K [0x87600000, 0x88b80000, 0x9c780000)
        object space 22016K, 0% used [0x87600000,0x87600000,0x88b80000)
       Metaspace used 5753K, capacity 5912K, committed 6040K, reserved 6448K
      Event: 0.653 GC heap after
      Heap after GC invocations=1 (full 0):
       PSYoungGen total 9472K, used 1241K [0x9c780000, 0x9d200000, 0xa7000000)
        eden space 8192K, 0% used [0x9c780000,0x9c780000,0x9cf80000)
        from space 1280K, 96% used [0x9cf80000,0x9d0b6458,0x9d0c0000)
        to space 1280K, 0% used [0x9d0c0000,0x9d0c0000,0x9d200000)
       ParOldGen total 22016K, used 4243K [0x87600000, 0x88b80000, 0x9c780000)
        object space 22016K, 19% used [0x87600000,0x87a24fb0,0x88b80000)
       Metaspace used 5753K, capacity 5912K, committed 6040K, reserved 6448K
      }
      Event: 0.654 GC heap before
      {Heap before GC invocations=2 (full 1):
       PSYoungGen total 9472K, used 1241K [0x9c780000, 0x9d200000, 0xa7000000)
        eden space 8192K, 0% used [0x9c780000,0x9c780000,0x9cf80000)
        from space 1280K, 96% used [0x9cf80000,0x9d0b6458,0x9d0c0000)
        to space 1280K, 0% used [0x9d0c0000,0x9d0c0000,0x9d200000)
       ParOldGen total 22016K, used 4243K [0x87600000, 0x88b80000, 0x9c780000)
        object space 22016K, 19% used [0x87600000,0x87a24fb0,0x88b80000)
       Metaspace used 5753K, capacity 5912K, committed 6040K, reserved 6448K
      Event: 0.672 GC heap after
      Heap after GC invocations=2 (full 1):
       PSYoungGen total 9472K, used 0K [0x9c780000, 0x9d200000, 0xa7000000)
        eden space 8192K, 0% used [0x9c780000,0x9c780000,0x9cf80000)
        from space 1280K, 0% used [0x9cf80000,0x9cf80000,0x9d0c0000)
        to space 1280K, 0% used [0x9d0c0000,0x9d0c0000,0x9d200000)
       ParOldGen total 22016K, used 4056K [0x87600000, 0x88b80000, 0x9c780000)
        object space 22016K, 18% used [0x87600000,0x879f60c8,0x88b80000)
       Metaspace used 5753K, capacity 5912K, committed 6040K, reserved 6448K
      }

      Deoptimization events (1 events):
      Event: 13.990 Thread 0x872f6800 Uncommon trap: reason=unstable_if action=reinterpret pc=0xa77813f8 method=java.awt.EventQueue.postEvent(Ljava/awt/AWTEvent;I)V @ 51

      Internal exceptions (10 events):
      Event: 0.040 Thread 0xb6607000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x9c790678) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jni.cpp, line 3
      Event: 0.135 Thread 0xb6607000 Exception <a 'java/security/PrivilegedActionException'> (0x9c87b880) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
      Event: 0.135 Thread 0xb6607000 Exception <a 'java/security/PrivilegedActionException'> (0x9c87ba30) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
      Event: 0.135 Thread 0xb6607000 Exception <a 'java/security/PrivilegedActionException'> (0x9c87db70) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
      Event: 0.135 Thread 0xb6607000 Exception <a 'java/security/PrivilegedActionException'> (0x9c87dd20) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
      Event: 0.145 Thread 0xb6607000 Exception <a 'java/io/FileNotFoundException'> (0x9c888cb0) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jni.cpp, line 709]
      Event: 0.145 Thread 0xb6607000 Exception <a 'java/io/FileNotFoundException'> (0x9c889570) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jni.cpp, line 709]
      Event: 0.268 Thread 0xb6607000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x9c989ff8) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/methodHandles.cpp, line 1125]
      Event: 0.272 Thread 0xb6607000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x9c997508) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/methodHandles.cpp, line 1125]
      Event: 0.629 Thread 0x872f6800 Exception <a 'java/lang/UnsupportedOperationException': > (0x9cae8300) thrown at [/RE-WORK/workspace/8-2-build-linux-i586/jdk8u40/2855/hotspot/src/share/vm/prims/jni.cpp, line 735]

      Events (10 events):
      Event: 1.426 loading class javax/swing/JWindow
      Event: 1.426 loading class javax/swing/JWindow done
      Event: 1.426 loading class javax/swing/Popup$HeavyWeightWindow done
      Event: 4.096 Executing VM operation: EnableBiasedLocking
      Event: 4.096 Executing VM operation: EnableBiasedLocking done
      Event: 8.205 Thread 0xb6607000 DEOPT PACKING pc=0xa77225e6 sp=0xb6782e10
      Event: 8.205 Thread 0xb6607000 DEOPT UNPACKING pc=0xa75d7310 sp=0xb6782cc8 mode 0
      Event: 13.990 Thread 0x872f6800 Uncommon trap: trap_request=0xffffff65 fr.pc=0xa77813f8
      Event: 13.990 Thread 0x872f6800 DEOPT PACKING pc=0xa77813f8 sp=0x84ba3aa0
      Event: 13.990 Thread 0x872f6800 DEOPT UNPACKING pc=0xa75d5bd5 sp=0x84ba3a3c mode 2


      Dynamic libraries:
      08048000-08049000 r-xp 00000000 08:01 674828 /usr/lib/jvm/java-8-oracle/jre/bin/java
      08049000-0804a000 rw-p 00000000 08:01 674828 /usr/lib/jvm/java-8-oracle/jre/bin/java
      09ac0000-0a08f000 rw-p 00000000 00:00 0 [heap]
      84266000-84400000 rw-p 00000000 00:00 0
      84400000-84440000 rw-p 00000000 00:00 0
      84440000-84500000 ---p 00000000 00:00 0
      84600000-84800000 rw-p 00000000 00:00 0
      84800000-848fa000 rw-p 00000000 00:00 0
      848fa000-84900000 ---p 00000000 00:00 0
      849ef000-84b54000 rw-s 00000000 00:04 6553616 /SYSV00000000 (deleted)
      84b54000-84b57000 ---p 00000000 00:00 0
      84b57000-84ba5000 rw-p 00000000 00:00 0 [stack:5277]
      84ba5000-84ba8000 ---p 00000000 00:00 0
      84ba8000-84cf6000 rw-p 00000000 00:00 0 [stack:5276]
      84cf6000-84df6000 rw-p 00000000 00:00 0
      84df6000-84df9000 ---p 00000000 00:00 0
      84df9000-84e47000 rw-p 00000000 00:00 0 [stack:5270]
      84e47000-84e4a000 ---p 00000000 00:00 0
      84e4a000-84e98000 rw-p 00000000 00:00 0 [stack:5269]
      84e98000-84ef9000 r-xp 00000000 08:01 674666 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libfontmanager.so
      84ef9000-84efc000 rw-p 00060000 08:01 674666 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libfontmanager.so
      84efc000-84f00000 rw-p 00000000 00:00 0
      84f00000-84fc2000 rw-p 00000000 00:00 0
      84fc2000-85000000 ---p 00000000 00:00 0
      85036000-85052000 r-xp 00000000 08:01 132072 /lib/i386-linux-gnu/libgcc_s.so.1
      85052000-85053000 rw-p 0001b000 08:01 132072 /lib/i386-linux-gnu/libgcc_s.so.1
      85053000-85183000 r-xp 00000000 08:01 266706 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
      85183000-85184000 r--p 00130000 08:01 266706 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
      85184000-85186000 rw-p 00131000 08:01 266706 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
      85186000-85187000 rw-p 00000000 00:00 0
      85187000-851d3000 r-xp 00000000 08:01 674657 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libawt_xawt.so
      851d3000-851d5000 rw-p 0004c000 08:01 674657 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libawt_xawt.so
      851d5000-851d6000 rw-p 00000000 00:00 0
      851d6000-8525c000 r-xp 00000000 08:01 674674 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libawt.so
      8525c000-85263000 rw-p 00086000 08:01 674674 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libawt.so
      85263000-85287000 rw-p 00000000 00:00 0
      85287000-85288000 ---p 00000000 00:00 0
      85288000-85308000 rw-p 00000000 00:00 0 [stack:5268]
      85308000-8530b000 ---p 00000000 00:00 0
      8530b000-85359000 rw-p 00000000 00:00 0 [stack:5267]
      85359000-8535c000 ---p 00000000 00:00 0
      8535c000-853da000 rw-p 00000000 00:00 0 [stack:5266]
      853da000-853dd000 ---p 00000000 00:00 0
      853dd000-8545b000 rw-p 00000000 00:00 0 [stack:5265]
      8545b000-8545e000 ---p 00000000 00:00 0
      8545e000-854ac000 rw-p 00000000 00:00 0 [stack:5264]
      854ac000-855dd000 r--p 0052f000 08:01 267734 /usr/lib/locale/locale-archive
      855dd000-857dd000 r--p 00000000 08:01 267734 /usr/lib/locale/locale-archive
      857dd000-857e0000 ---p 00000000 00:00 0
      857e0000-8582e000 rw-p 00000000 00:00 0 [stack:5263]
      8582e000-85831000 ---p 00000000 00:00 0
      85831000-8587f000 rw-p 00000000 00:00 0 [stack:5262]
      8587f000-85880000 ---p 00000000 00:00 0
      85880000-85900000 rw-p 00000000 00:00 0 [stack:5261]
      85900000-85a00000 rw-p 00000000 00:00 0
      85a07000-85a10000 r-xp 00000000 08:01 266717 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
      85a10000-85a11000 r--p 00008000 08:01 266717 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
      85a11000-85a12000 rw-p 00009000 08:01 266717 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
      85a12000-85bea000 r--s 03d09000 08:01 674803 /usr/lib/jvm/java-8-oracle/jre/lib/rt.jar
      85bea000-86030000 rw-p 00000000 00:00 0
      86030000-86036000 ---p 00000000 00:00 0
      86036000-87200000 rw-p 00000000 00:00 0
      87200000-87300000 rw-p 00000000 00:00 0
      87301000-87305000 r-xp 00000000 08:01 266725 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
      87305000-87306000 r--p 00003000 08:01 266725 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
      87306000-87307000 rw-p 00004000 08:01 266725 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
      87307000-8730c000 r-xp 00000000 08:01 266721 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
      8730c000-8730d000 r--p 00004000 08:01 266721 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
      8730d000-8730e000 rw-p 00005000 08:01 266721 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
      8730e000-8732e000 r-xp 00000000 08:01 267629 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
      8732e000-8732f000 r--p 0001f000 08:01 267629 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
      8732f000-87330000 rw-p 00020000 08:01 267629 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
      87330000-8737f000 rw-p 00000000 00:00 0
      8737f000-87380000 ---p 00000000 00:00 0
      87380000-87400000 rw-p 00000000 00:00 0 [stack:5260]
      87400000-87421000 rw-p 00000000 00:00 0
      87421000-87500000 ---p 00000000 00:00 0
      87504000-87506000 r-xp 00000000 08:01 266710 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
      87506000-87507000 r--p 00001000 08:01 266710 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
      87507000-87508000 rw-p 00002000 08:01 266710 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
      87508000-87517000 r-xp 00000000 08:01 266731 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
      87517000-87518000 r--p 0000e000 08:01 266731 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
      87518000-87519000 rw-p 0000f000 08:01 266731 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
      87519000-87522000 r-xp 00000000 08:01 266745 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
      87522000-87523000 r--p 00008000 08:01 266745 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
      87523000-87524000 rw-p 00009000 08:01 266745 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
      87524000-8757f000 rw-p 00000000 00:00 0
      8757f000-87580000 ---p 00000000 00:00 0
      87580000-88b80000 rw-p 00000000 00:00 0 [stack:5259]
      88b80000-9c780000 ---p 00000000 00:00 0
      9c780000-9d200000 rw-p 00000000 00:00 0
      9d200000-a7000000 ---p 00000000 00:00 0
      a7001000-a7006000 r-xp 00000000 08:01 266751 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      a7006000-a7007000 r--p 00004000 08:01 266751 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      a7007000-a7008000 rw-p 00005000 08:01 266751 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0
      a7008000-a7019000 r-xp 00000000 08:01 266723 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
      a7019000-a701a000 r--p 00010000 08:01 266723 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
      a701a000-a701b000 rw-p 00011000 08:01 266723 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
      a7034000-a703f000 rw-p 00000000 00:00 0
      a703f000-a70dd000 ---p 00000000 00:00 0
      a70dd000-a70e8000 rw-p 00000000 00:00 0
      a70e8000-a7185000 ---p 00000000 00:00 0
      a7185000-a718b000 rw-p 00000000 00:00 0
      a718b000-a71da000 ---p 00000000 00:00 0
      a71da000-a71e4000 rw-p 00000000 00:00 0
      a71e4000-a759b000 ---p 00000000 00:00 0
      a759b000-a77db000 rwxp 00000000 00:00 0
      a77db000-b659b000 ---p 00000000 00:00 0
      b659b000-b65b4000 r-xp 00000000 08:01 674670 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libzip.so
      b65b4000-b65b5000 rw-p 00018000 08:01 674670 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libzip.so
      b65b5000-b65c0000 r-xp 00000000 08:01 135726 /lib/i386-linux-gnu/libnss_files-2.19.so
      b65c0000-b65c1000 r--p 0000a000 08:01 135726 /lib/i386-linux-gnu/libnss_files-2.19.so
      b65c1000-b65c2000 rw-p 0000b000 08:01 135726 /lib/i386-linux-gnu/libnss_files-2.19.so
      b65c2000-b65cc000 r-xp 00000000 08:01 132053 /lib/i386-linux-gnu/libnss_nis-2.19.so
      b65cc000-b65cd000 r--p 00009000 08:01 132053 /lib/i386-linux-gnu/libnss_nis-2.19.so
      b65cd000-b65ce000 rw-p 0000a000 08:01 132053 /lib/i386-linux-gnu/libnss_nis-2.19.so
      b65ce000-b65e3000 r-xp 00000000 08:01 132054 /lib/i386-linux-gnu/libnsl-2.19.so
      b65e3000-b65e4000 r--p 00015000 08:01 132054 /lib/i386-linux-gnu/libnsl-2.19.so
      b65e4000-b65e5000 rw-p 00016000 08:01 132054 /lib/i386-linux-gnu/libnsl-2.19.so
      b65e5000-b65e7000 rw-p 00000000 00:00 0
      b65e7000-b65ec000 r--s 002f8000 08:01 674815 /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar
      b65ec000-b65f8000 rw-p 00000000 00:00 0
      b65f8000-b6600000 rw-s 00000000 08:01 919341 /tmp/hsperfdata_legion/5257
      b6600000-b66f8000 rw-p 00000000 00:00 0
      b66f8000-b6700000 ---p 00000000 00:00 0
      b6702000-b6703000 rw-p 00000000 00:00 0
      b6703000-b6705000 r--s 00005000 08:04 1448671 /mnt/Commons/Home/Dropbox/CODE/JAVA/SCHOOL/Coin/assets/DLib.jar
      b6705000-b6729000 r-xp 00000000 08:01 674648 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libjava.so
      b6729000-b672a000 rw-p 00023000 08:01 674648 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libjava.so
      b672a000-b6731000 r-xp 00000000 08:01 135727 /lib/i386-linux-gnu/librt-2.19.so
      b6731000-b6732000 r--p 00006000 08:01 135727 /lib/i386-linux-gnu/librt-2.19.so
      b6732000-b6733000 rw-p 00007000 08:01 135727 /lib/i386-linux-gnu/librt-2.19.so
      b6733000-b6736000 ---p 00000000 00:00 0
      b6736000-b6784000 rw-p 00000000 00:00 0 [stack:5258]
      b6784000-b67c8000 r-xp 00000000 08:01 132069 /lib/i386-linux-gnu/libm-2.19.so
      b67c8000-b67c9000 r--p 00043000 08:01 132069 /lib/i386-linux-gnu/libm-2.19.so
      b67c9000-b67ca000 rw-p 00044000 08:01 132069 /lib/i386-linux-gnu/libm-2.19.so
      b67ca000-b713d000 r-xp 00000000 08:01 674637 /usr/lib/jvm/java-8-oracle/jre/lib/i386/server/libjvm.so
      b713d000-b71a9000 rw-p 00973000 08:01 674637 /usr/lib/jvm/java-8-oracle/jre/lib/i386/server/libjvm.so
      b71a9000-b75cf000 rw-p 00000000 00:00 0
      b75cf000-b7777000 r-xp 00000000 08:01 131132 /lib/i386-linux-gnu/libc-2.19.so
      b7777000-b7779000 r--p 001a8000 08:01 131132 /lib/i386-linux-gnu/libc-2.19.so
      b7779000-b777a000 rw-p 001aa000 08:01 131132 /lib/i386-linux-gnu/libc-2.19.so
      b777a000-b777d000 rw-p 00000000 00:00 0
      b777d000-b7780000 r-xp 00000000 08:01 131133 /lib/i386-linux-gnu/libdl-2.19.so
      b7780000-b7781000 r--p 00002000 08:01 131133 /lib/i386-linux-gnu/libdl-2.19.so
      b7781000-b7782000 rw-p 00003000 08:01 131133 /lib/i386-linux-gnu/libdl-2.19.so
      b7782000-b7783000 rw-p 00000000 00:00 0
      b7783000-b7797000 r-xp 00000000 08:01 674701 /usr/lib/jvm/java-8-oracle/jre/lib/i386/jli/libjli.so
      b7797000-b7798000 rw-p 00014000 08:01 674701 /usr/lib/jvm/java-8-oracle/jre/lib/i386/jli/libjli.so
      b7798000-b77b0000 r-xp 00000000 08:01 135722 /lib/i386-linux-gnu/libpthread-2.19.so
      b77b0000-b77b1000 r--p 00018000 08:01 135722 /lib/i386-linux-gnu/libpthread-2.19.so
      b77b1000-b77b2000 rw-p 00019000 08:01 135722 /lib/i386-linux-gnu/libpthread-2.19.so
      b77b2000-b77b5000 rw-p 00000000 00:00 0
      b77b5000-b77b6000 r--p 007dc000 08:01 267734 /usr/lib/locale/locale-archive
      b77b6000-b77bd000 r-xp 00000000 08:01 132173 /lib/i386-linux-gnu/libnss_compat-2.19.so
      b77bd000-b77be000 r--p 00006000 08:01 132173 /lib/i386-linux-gnu/libnss_compat-2.19.so
      b77be000-b77bf000 rw-p 00007000 08:01 132173 /lib/i386-linux-gnu/libnss_compat-2.19.so
      b77bf000-b77c0000 rw-p 00000000 00:00 0
      b77c0000-b77c1000 r--p 00000000 00:00 0
      b77c1000-b77cc000 r-xp 00000000 08:01 674656 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libverify.so
      b77cc000-b77cd000 rw-p 0000b000 08:01 674656 /usr/lib/jvm/java-8-oracle/jre/lib/i386/libverify.so
      b77cd000-b77cf000 rw-p 00000000 00:00 0
      b77cf000-b77d0000 r-xp 00000000 00:00 0 [vdso]
      b77d0000-b77d2000 r--p 00000000 00:00 0 [vvar]
      b77d2000-b77f2000 r-xp 00000000 08:01 131134 /lib/i386-linux-gnu/ld-2.19.so
      b77f2000-b77f3000 r--p 0001f000 08:01 131134 /lib/i386-linux-gnu/ld-2.19.so
      b77f3000-b77f4000 rw-p 00020000 08:01 131134 /lib/i386-linux-gnu/ld-2.19.so
      bfb80000-bfb81000 rwxp 00000000 00:00 0
      bfbb3000-bfbd4000 rw-p 00000000 00:00 0 [stack]

      VM Arguments:
      java_command: Game
      java_class_path (initial): .:assets/DLib.jar:bin
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=/usr/lib/jvm/java-8-oracle
      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
      SHELL=/usr/bin/fish
      DISPLAY=:0

      Signal Handlers:
      SIGSEGV: [libjvm.so+0x8c2ab0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGBUS: [libjvm.so+0x8c2ab0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGFPE: [libjvm.so+0x7433e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGPIPE: [libjvm.so+0x7433e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGXFSZ: [libjvm.so+0x7433e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGILL: [libjvm.so+0x7433e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGUSR2: [libjvm.so+0x744970], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
      SIGHUP: [libjvm.so+0x745e20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGINT: [libjvm.so+0x745e20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGTERM: [libjvm.so+0x745e20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
      SIGQUIT: [libjvm.so+0x745e20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO


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

      OS:DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=14.04
      DISTRIB_CODENAME=trusty
      DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"

      uname:Linux 3.16.0-31-generic #41~14.04.1-Ubuntu SMP Wed Feb 11 19:30:43 UTC 2015 i686
      libc:glibc 2.19 NPTL 2.19
      rlimit: STACK 8192k, CORE 0k, NPROC 15992, NOFILE 4096, AS infinity
      load average:0.66 0.58 0.51

      /proc/meminfo:
      MemTotal: 2066540 kB
      MemFree: 260616 kB
      MemAvailable: 1068456 kB
      Buffers: 88788 kB
      Cached: 884076 kB
      SwapCached: 0 kB
      Active: 1222484 kB
      Inactive: 486980 kB
      Active(anon): 664076 kB
      Inactive(anon): 111112 kB
      Active(file): 558408 kB
      Inactive(file): 375868 kB
      Unevictable: 32 kB
      Mlocked: 32 kB
      HighTotal: 1186316 kB
      HighFree: 152016 kB
      LowTotal: 880224 kB
      LowFree: 108600 kB
      SwapTotal: 2094076 kB
      SwapFree: 2093804 kB
      Dirty: 1588 kB
      Writeback: 0 kB
      AnonPages: 736620 kB
      Mapped: 227456 kB
      Shmem: 38600 kB
      Slab: 40948 kB
      SReclaimable: 27080 kB
      SUnreclaim: 13868 kB
      KernelStack: 2776 kB
      PageTables: 6936 kB
      NFS_Unstable: 0 kB
      Bounce: 0 kB
      WritebackTmp: 0 kB
      CommitLimit: 3127344 kB
      Committed_AS: 2720504 kB
      VmallocTotal: 122880 kB
      VmallocUsed: 42096 kB
      VmallocChunk: 49812 kB
      AnonHugePages: 159744 kB
      HugePages_Total: 0
      HugePages_Free: 0
      HugePages_Rsvd: 0
      HugePages_Surp: 0
      Hugepagesize: 2048 kB
      DirectMap4k: 51192 kB
      DirectMap2M: 858112 kB


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

      /proc/cpuinfo:
      processor : 0
      vendor_id : GenuineIntel
      cpu family : 6
      model : 15
      model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
      stepping : 6
      microcode : 0xc7
      cpu MHz : 2000.000
      cache size : 4096 KB
      physical id : 0
      siblings : 2
      core id : 0
      cpu cores : 2
      apicid : 0
      initial apicid : 0
      fdiv_bug : no
      f00f_bug : no
      coma_bug : no
      fpu : yes
      fpu_exception : yes
      cpuid level : 10
      wp : yes
      flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
      bogomips : 3990.13
      clflush size : 64
      cache_alignment : 64
      address sizes : 36 bits physical, 48 bits virtual
      power management:

      processor : 1
      vendor_id : GenuineIntel
      cpu family : 6
      model : 15
      model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
      stepping : 6
      microcode : 0xc7
      cpu MHz : 2000.000
      cache size : 4096 KB
      physical id : 0
      siblings : 2
      core id : 1
      cpu cores : 2
      apicid : 1
      initial apicid : 1
      fdiv_bug : no
      f00f_bug : no
      coma_bug : no
      fpu : yes
      fpu_exception : yes
      cpuid level : 10
      wp : yes
      flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
      bogomips : 3990.13
      clflush size : 64
      cache_alignment : 64
      address sizes : 36 bits physical, 48 bits virtual
      power management:



      Memory: 4k page, physical 2066540k(260616k free), swap 2094076k(2093804k free)

      vm_info: Java HotSpot(TM) Server VM (25.40-b25) for linux-x86 JRE (1.8.0_40-b25), built on Feb 10 2015 22:05:45 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

      time: Fri Mar 6 17:38:10 2015
      elapsed time: 14 seconds (0d 0h 0m 14s)



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      I cannot reproduce the error in any other program, and it uses a library I do not have the source code to.
      You can download an archive with the program, error outputs and core dump here (it's small):

      https://www.dropbox.com/s/wmv8xe82cwn15dg/JavaCrash.tar.gz?dl=1
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Removing the Arrays.fill, instead looping through the array.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: