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

java runtime core dumps when running swing demo from xterm (when font not avail)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description



      Name: rk38400 Date: 04/16/98


      We have a Solaris 2.5.1 machine that we are
      accessing by an xterm. We have JDK 1.1.5 installed.
      When trying to run any of the swing demos from
      the xterm (Envizex A Series) the java runtime
      will coredump. Other AWT applications seems to
      work fine.

      Any swing example source priovided in swing101
      will produce this problem.

      We suspect this is can be attributed to the xterm
      we are using, although we shouldn't see the java
      runtime coredump because of an xterm. This will
      sometimes work if run from an HP system or if
      run on the Solaris system from a different xterm.


      --- 4/21/98 ---
      More info from the bug submitter:

      Yes, it is running on Solaris, but the display is an X-Term
      Envizex A series. I swapped it out with an Envizex P series and the
      problem went away. It's odd though that the JVM would core
      dump because of a difference on the X-Term. I've also noticed
      that if you connect to the Solaries box remotely and do not
      set your DISPLAY environment variable before running the JVM
      with AWT code that the JVM will core dump.

      I've found out also that this problem ocurrs with other X apps,
      although not all. A "cannot open display" message from the
      JVM instead of a core dump would be better. I'm really not
      familiar enough with X to track this problem down myself.




      Warning: Cannot convert string "-bitstream-prestige-medium-r-normal--16-120-72-72-m-80-hp-roman8" to type FontStruct
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_MAPERR [addr: 0x14]

              stackbase=EFFFF788, stackpointer=EFFFDEA0

      Full thread dump:
          "AWT-Motif" (TID:0xee705240, sys_thread_t:0xedf91db8, state:MW) prio=5
              java.lang.Thread.run(Thread.java)
          "AWT-Input" (TID:0xee705260, sys_thread_t:0xedfc1db8, state:MW) prio=5
          "AWT-EventQueue-0" (TID:0xee705018, sys_thread_t:0xedff1db8, state:CW) prio=5
              java.lang.Object.wait(Object.java)
              java.awt.EventQueue.getNextEvent(EventQueue.java:119)
              java.awt.EventDispatchThread.run(EventDispatchThread.java:55)
          "Finalizer thread" (TID:0xee700220, sys_thread_t:0xee2c1db8, state:CW) prio=1
          "Async Garbage Collector" (TID:0xee700268, sys_thread_t:0xee2f1db8, state:CW) prio=1
          "Idle thread" (TID:0xee7002b0, sys_thread_t:0xee3c1db8, state:R) prio=0
          "Clock" (TID:0xee700088, sys_thread_t:0xee3f1db8, state:CW) prio=12
          "main" (TID:0xee7000b0, sys_thread_t:0x72938, state:R) prio=5 *current thread*
              sun.awt.motif.MFramePeer.<init>(MFramePeer.java:76)
              sun.awt.motif.MToolkit.createFrame(MToolkit.java:123)
              java.awt.Frame.addNotify(Frame.java:202)
              com.sun.java.swing.plaf.metal.BumpBuffer.<init>(MetalBumps.java:143)
              com.sun.java.swing.plaf.metal.MetalBumps.createBuffer(MetalBumps.java:70)
              com.sun.java.swing.plaf.metal.MetalBumps.setBumpColors(MetalBumps.java:105)
              com.sun.java.swing.plaf.metal.MetalBumps.<init>(MetalBumps.java:62)
              com.sun.java.swing.plaf.metal.MetalToolBarBorder.<clinit>(MetalToolBarBorder.java:46)
              com.sun.java.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:211)
              com.sun.java.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:64)
              com.sun.java.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:449)
              com.sun.java.swing.UIManager.setLookAndFeel(UIManager.java:310)
              com.sun.java.swing.UIManager.initializeDefaultLAF(UIManager.java:570)
              com.sun.java.swing.UIManager.initialize(UIManager.java:648)
              com.sun.java.swing.UIManager.maybeInitialize(UIManager.java:656)
              com.sun.java.swing.UIManager.getDefaults(UIManager.java:375)
              com.sun.java.swing.UIManager.getColor(UIManager.java:384)
              com.sun.java.swing.JPanel.<init>(JPanel.java:59)
              com.sun.java.swing.JPanel.<init>(JPanel.java:92)
              SimpleExample.<init>(SimpleExample.java:45)
      Monitor Cache Dump:
          java.lang.Class@EE70B7E0/EE7724E0: owner "main" (0x72938, 1 entry)
          java.lang.Class@EE703F08/EE74ED58: owner "main" (0x72938, 1 entry)
          sun.awt.motif.MToolkit@EE705098/EE753B28: owner "main" (0x72938, 1 entry)
              Waiting to enter:
                  "AWT-Motif" (0xedf91db8)
                  "AWT-Input" (0xedfc1db8)
          <unknown key> (0xee2f1db8): <unowned>
              Waiting to be notified:
                  "Async Garbage Collector" (0xee2f1db8)
          java.awt.EventQueue@EE705068/EE753C18: <unowned>
              Waiting to be notified:
                  "AWT-EventQueue-0" (0xedff1db8)
          java.lang.Class@EE704E78/EE7531F0: owner "main" (0x72938, 1 entry)
      Registered Monitor Dump:
          Thread queue lock: <unowned>
          Name and type hash table lock: <unowned>
          String intern lock: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class loading lock: <unowned>
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Has finalization queue lock: <unowned>
          Finalize me queue lock: <unowned>
              Waiting to be notified:
                  "Finalizer thread" (0xee2c1db8)
          Monitor IO lock: <unowned>
          Child death monitor: <unowned>
          Event monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
              Waiting to be notified:
                  "Clock" (0xee3f1db8)
          Sbrk lock: <unowned>
          Monitor registry: owner "main" (0x72938, 1 entry)
      Thread Alarm Q:
          sys_thread_t 0xee2f1db8 [Timeout in 368 ms]
      ./runit.ksh[16]: 2609 Abort(coredump)
      (Review ID: 28195)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              mbronsonsunw Mike Bronson (Inactive)
              Reporter:
              rkarsunw Ralph Kar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: