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

Make hs_err_pid*file say CRASHED IN NATIVE CODE OUTSIDE THE JDK if crash outside VM.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs10
    • 6
    • hotspot
    • None
    • b12
    • generic
    • generic

        When native code crashes in third party libraries, give a big message that the crash isn't in the hotspot VM/JDK in the hs_err_pid*.log file. Eg, from bug 6444811 which is a libGL bug:


        # An unexpected error has been detected by Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0xe79f5ea8, pid=4393, tid=3
        #
        # Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b87 mixed mode)
        # Problematic frame:
        # C [libGL.so.1+0x2bea8]
        #
        # THE ERROR IS CAUSED BY NATIVE CODE OUTSIDE THE JAVA RUNTIME ENVIRONMENT.
        #

        Except when the library is libc.so because that could be caused by the VM. Not sure if there are other libraries to exclude for this message.

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: