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

Stack overflow followed by crash

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10 x64
      JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)

      A DESCRIPTION OF THE PROBLEM :
      Observing the log it appears that jackson serialization library is on a recursive infinite loop that causes the stack overflow. This should be handled by the JVM and proper runtime Exception thrown. As it is not, JVM crashes.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x000000006dd67417, pid=6216, tid=0x0000000000001250
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C [nio.dll+0x7417]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x0000000032582800): JavaThread "XNIO-17 task-41" [_thread_in_native, id=4688, stack(0x0000000051d00000,0x0000000051e00000)]

      siginfo: ExceptionCode=0xc00000fd, ExceptionInformation=0x0000000000000001 0x0000000051d00000

      Stack: [0x0000000051d00000,0x0000000051e00000], sp=0x0000000051d0bfe8, free space=47k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [nio.dll+0x7417]
      C [nio.dll+0x6db2]
      C 0x0000000005329c50

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J 20594 sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(JI[I[I[IJ)I (0 bytes) @ 0x0000000005329bd2 [0x0000000005329b40+0x92]
      J 20592 C1 sun.nio.ch.WindowsSelectorImpl$SubSelector.poll()I (47 bytes) @ 0x0000000005329fd4 [0x0000000005329f40+0x94]
      J 19563 C1 sun.nio.ch.WindowsSelectorImpl.doSelect(J)I (136 bytes) @ 0x00000000050d96fc [0x00000000050d94c0+0x23c]
      J 19562 C1 sun.nio.ch.SelectorImpl.lockAndDoSelect(J)I (72 bytes) @ 0x00000000050d8934 [0x00000000050d8640+0x2f4]
      J 20100 C1 sun.nio.ch.SelectorImpl.select()I (6 bytes) @ 0x000000000522dcec [0x000000000522dca0+0x4c]
      j org.xnio.nio.SelectorUtils.await(Lorg/xnio/nio/NioXnio;Ljava/nio/channels/SelectableChannel;I)V+23
      j org.xnio.nio.NioSocketConduit.awaitWritable()V+26
      j org.xnio.conduits.AbstractSinkConduit.awaitWritable()V+7


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Execute the web application and make a REST call to some controller with some data.

      ACTUAL -
      JVM crashes.

      ---------- BEGIN SOURCE ----------
      How I am supposed to provide the source code here?
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              fmatte Fairoz Matte
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: