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

better error messaging is needed from JVM

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      Customer has a Java application that he built that works fine on Sun machines.
      When this application is being displayed through Xterm on Windows NT and Linux,
      the application gets segmentation fault and generates a core dump.

      Customer has all the necessary patches for Java and XWindows, and his applicaiton is built with JDK 1.2.2.05a Solaris Production version.

      Customer would like to see a better error messaging created by JVM instead of a core dump. Something to the extent where in the inistialization of environment for the application is the error/issue.

      Customer is working with the Xceed to get the issue resolved, nevertherless, better error messaging from JVM is needed.

      Below is the stack trace from the core file:
      SIGSEGV 11 segmentation violation
          si_signo [11]: SEGV
          si_errno [0]:
          si_code [1]: SEGV_MAPERR [addr: 0x666f6e7c]

              stackpointer=FFBECC40
      "Finalizer" (TID:0x154a00, sys_thread_t:0x154940, state:CW, thread_t:
      t@6, threadID:0xfecd1dc8, stack_bottom:0xfecd2000, stack_size:0x20000)
      prio=8

      [1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
      [2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
      [3]
      java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)

      -------------------
      "Reference Handler" (TID:0x150e98, sys_thread_t:0x150dd8, state:CW,
      thread_t: t@5, threadID:0xfed01dc8, stack_bottom:0xfed02000,
      stack_size:0x20000) prio=10

      [1] java.lang.Object.wait(Object.java:424)
      [2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
      -------------------
      "Signal dispatcher" (TID:0x13b648, sys_thread_t:0x13b588, state:MW,
      thread_t: t@4, threadID:0xfed51dc8, stack_bottom:0xfed52000,
      stack_size:0x20000) prio=10

      -------------------
      "main" (TID:0x38928, sys_thread_t:0x38868, state:R, thread_t: t@1,
      threadID:0x25118, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
      *current thread*

      [1]
      sun.java2d.SunGraphicsEnvironment.initializeProps(SunGraphicsEnvironment.java:599)

      [2]
      sun.java2d.SunGraphicsEnvironment.access$1(SunGraphicsEnvironment.java:579)

      [3]
      sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:84)
      [4] java.security.AccessController.doPrivileged(Native Method)
      [5]
      sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:73)

      [6]
      sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:68)
      [7] java.lang.Class.newInstance0(Native Method)
      [8] java.lang.Class.newInstance(Class.java:238)
      [9]
      java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)

      [10] java.awt.Font.initializeFont(Font.java:262)
      [11] java.awt.Font.<init>(Font.java:292)
      [12]
      javax.swing.plaf.metal.DefaultMetalTheme.<init>(DefaultMetalTheme.java:59)

      [13]
      javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:709)

      [14]
      javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:713)

      [15] javax.swing.UIManager.setLookAndFeel(UIManager.java:363)
      [16] javax.swing.UIManager.setLookAndFeel(UIManager.java:390)
      [17] javax.swing.UIManager.initializeDefaultLAF(UIManager.java:850)
      [18] javax.swing.UIManager.initialize(UIManager.java:926)
      [19] javax.swing.UIManager.maybeInitialize(UIManager.java:948)
      [20] javax.swing.UIManager.getUI(UIManager.java:559)
      [21] javax.swing.JPanel.updateUI(JPanel.java:110)
      [22] javax.swing.JPanel.<init>(JPanel.java:70)
      [23] javax.swing.JPanel.<init>(JPanel.java:100)
      [24] javax.swing.JRootPane.createGlassPane(JRootPane.java:224)
      [25] javax.swing.JRootPane.<init>(JRootPane.java:181)
      [26] javax.swing.JWindow.createRootPane(JWindow.java:130)
      [27] javax.swing.JWindow.windowInit(JWindow.java:124)
      [28] javax.swing.JWindow.<init>(JWindow.java:107)
      [29] javax.swing.JWindow.<init>(JWindow.java:97)
      [30]
      com.asi.plc.tool.plcflow.GUI_Module$Splash_Screen.<init>(GUI_Module.java:56)

      [31] com.asi.plc.tool.plcflow.GUI_Module.<init>(GUI_Module.java:42)
      .... remainder of stack truncated ...
      -------------------
      Abort - core dumped


        Attachments

          Activity

            People

            • Assignee:
              pcashman Pat Cashman
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: