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

Cricket/Chelsea Regression: Reloading CardTest applet crashes on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.3.0
    • client-libs
    • None
    • sparc
    • solaris_2.6

      To reproduce this crash, load the CardTest applet with the latest build (L).
      Click on a few of the buttons, then resize the Frame. Then, repeatedly select
      "Reload" from the "Applet" menu of AppletViewer. Java will segfault after only
      a few reloads. Reproducable using green threads, with the JIT, on Solaris 2.6
      and 7. Not reproducible with the JIT turned off.

      Also reproducible, although less easily, in the latest chelsea build.

      Here is a sample stack track. The crash occurs in MFramePeer.endValidate.

      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_MAPERR [addr: 0x14]

              stackpointer=fa8416e8

      Full thread dump Classic VM (JDK-1.2.1-L, green threads):
          "thread applet-CardTest.class" (TID:0xfb8bb6a0, sys_thread_t:0x553778, state:R) prio=4
              at java.awt.Component.reshape(Component.java, Compiled Code)
              at java.awt.Component.setBounds(Component.java, Compiled Code)
              at java.awt.Component.resize(Component.java, Compiled Code)
              at java.awt.Component.setSize(Component.java, Compiled Code)
              at java.awt.Component.resize(Component.java, Compiled Code)
              at sun.applet.AppletViewer$1$AppletEventListener.appletStateChanged(AppletViewer.java, Compiled Code)
              at sun.applet.AppletPanel.dispatchAppletEvent(AppletPanel.java, Compiled Code)
              at sun.applet.AppletPanel.appletResize(AppletPanel.java, Compiled Code)
              at java.applet.Applet.resize(Applet.java, Compiled Code)
              at java.applet.Applet.resize(Applet.java, Compiled Code)
              at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code)
              at java.lang.Thread.run(Thread.java, Compiled Code)
          "SunToolkit.PostEventQueue-2" (TID:0xfb8bb568, sys_thread_t:0x266f00, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at sun.awt.PostEventQueue.run(SunToolkit.java, Compiled Code)
          "AWT-EventQueue-2" (TID:0xfb8bb530, sys_thread_t:0x263cf0, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at java.awt.EventQueue.getNextEvent(EventQueue.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)
          "Screen Updater" (TID:0xfb8b8958, sys_thread_t:0x4ca7f0, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java, Compiled Code)
              at sun.awt.ScreenUpdater.run(ScreenUpdater.java, Compiled Code)
          "AWT-Motif" (TID:0xfb8b8608, sys_thread_t:0x45e3a8, state:R) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java, Compiled Code)
          "SunToolkit.PostEventQueue-1" (TID:0xfb8b8ad0, sys_thread_t:0x43f450, state:R) prio=5
              at java.awt.EventQueue.postEventPrivate(EventQueue.java, Compiled Code)
              at java.awt.EventQueue.postEvent(EventQueue.java, Compiled Code)
              at sun.awt.PostEventQueue.run(SunToolkit.java, Compiled Code)
          "AWT-EventQueue-1" (TID:0xfb8b8a68, sys_thread_t:0x439040, state:R) prio=6
              at sun.awt.motif.MFramePeer.endValidate(Native Method)
              at java.awt.Container.validate(Container.java, Compiled Code)
              at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
              at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)
          "SunToolkit.PostEventQueue-0" (TID:0xfb8b1240, sys_thread_t:0x263bb8, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at sun.awt.PostEventQueue.run(SunToolkit.java, Compiled Code)
          "AWT-EventQueue-0" (TID:0xfb8b0fe0, sys_thread_t:0x263a80, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at java.awt.EventQueue.getNextEvent(EventQueue.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)
          "Finalizer" (TID:0xfb898320, sys_thread_t:0x69af0, state:CW) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Cod
      e)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0xfb8983b0, sys_thread_t:0x656d8, state:CW) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java, Compiled Code)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0xfb8983e0, sys_thread_t:0x5e7f0, state:CW) prio=5
          "Thread-0" (TID:0xfb8a3e30, sys_thread_t:0x26ba8, state:CW) prio=5
      Monitor Cache Dump:
          java.awt.EventQueue@FB8BB4D8/FB9ACA38: <unowned>
              Waiting to be notified:
                  "AWT-EventQueue-2" (0x263cf0)
          java.awt.EventQueue@FB8B1078/FB936BA0: <unowned>
              Waiting to be notified:
                  "AWT-EventQueue-0" (0x263a80)
          sun.awt.PostEventQueue@FB8B1240/FB977440: <unowned>
              Waiting to be notified:
                  "SunToolkit.PostEventQueue-0" (0x263bb8)
          java.lang.Class@FB8B1450/FB9494C8: owner "AWT-EventQueue-1" (0x439040) 1 entry
          java.awt.Component$AWTTreeLock@FB89D6F8/FB8F0A18: owner "AWT-EventQueue-1" (0x439040) 1 entry
          sun.awt.PostEventQueue@FB8BB568/FB9ACC30: <unowned>
              Waiting to be notified:
                  "SunToolkit.PostEventQueue-2" (0x266f00)
          sun.awt.ScreenUpdater@FB8B8958/FB9ED440: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x4ca7f0)
          java.lang.ref.ReferenceQueue$Lock@FB898338/FB8CDD68: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x69af0)
          java.lang.ref.Reference$Lock@FB8983C0/FB8CD8A8: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x656d8)
      Registered Monitor Dump:
          PCMap lock: <unowned>
          utf8 hash table: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Monitor cache lock: owner "AWT-EventQueue-1" (0x439040) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
              Waiting to be notified:
                  "Signal dispatcher" (0x5e7f0)
          Child death monitor: <unowned>
          I/O monitor: owner "AWT-Motif" (0x45e3a8) 1 entry
          Alarm monitor: <unowned>
              Waiting to be notified:
                  <unknown thread> (0x2be98)
          Thread queue lock: owner "AWT-EventQueue-1" (0x439040) 1 entry
              Waiting to be notified:
                  "Thread-0" (0x26ba8)
          Monitor registry: owner "AWT-EventQueue-1" (0x439040) 1 entry

            dassunw Das Das (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: