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

Fatal Error in JVM after switching scenes in a stage in a JavaFX Application

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)


      FULL OS VERSION :
      OSX 10.11.1

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Intel 6-series i5, Intel HD Graphics 3000, Eclipse 4.5.1

      A DESCRIPTION OF THE PROBLEM :
      When a KeyEvent Listener is fired on the enter key, my program switches scenes on a Stage from JavaFX. I can switch to the alternate stage, and then back, but the next time KeyEvent is fired, (for a non-enter key) the program crashes and Eclipse reports a Fatal Error detected by the JRE (SIGSEGV (0xb) at pc=0x0000000122ae6536)
      According to this, the "crash happened outside the Java Virtual Machine in native code."

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      OS:Bsduname:Darwin 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
      rlimit: STACK 8192k, CORE 0k, NPROC 709, NOFILE 10240, AS infinity
      load average:3.96 2.25 1.79

      CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, ht, tsc, tscinvbit

      Memory: 4k page, physical 4194304k(38208k free)

      /proc/meminfo:


      vm_info: Java HotSpot(TM) 64-Bit Server VM (25.5-b02) for bsd-amd64 JRE (1.8.0_05-b13), built on Mar 18 2014 00:36:13 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

      time: Sat Oct 24 22:49:16 2015
      elapsed time: 5 seconds


      REPRODUCIBILITY :
      This bug can be reproduced always.

            morris Morris Meyer (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: