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

text.html.FormView tests get SEGV on x86 Solaris 2.7 under JDK1.2.2T

    • jit
    • x86
    • solaris_7

      InputComponent(FormView.java, Compiled Code)
      at javax.swing.text.html.FormView.createComponent(FormView.java, Compiled Code)
      at javasoft.sqe.tests.api.javax.swing.text.html.FormView.StubFormView.createComponent(mainTests.java, Compiled Code)
      at javasoft.sqe.tests.api.javax.swing.text.html.FormView.mainTests.FormView2008(mainTests.java, Compiled Code)
      at java.lang.reflect.Method.invoke(Native Method)
      at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java, Compiled Code)
      at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java, Compiled Code)
      at javasoft.sqe.tests.api.javax.swing.text.html.FormView.mainTests.main(mainTests.java, Compiled Code)
      Monitor Cache Dump:
          java.lang.Class@DC88A160/DC903AB0: owner "Finalizer" (0x8093488) 1 entry
          java.lang.Object@DC8C57E0/DC9AD4E8: owner "main" (0x804dce0) 1 entry
          sun.awt.PostEventQueue@DC8A12E8/DC9DC1B8: <unowned>
      Waiting to be notified:
      "SunToolkit.PostEventQueue-0" (0x84a4210)
          java.awt.EventQueue@DC8A12F0/DC9DBDB0: <unowned>
      Waiting to be notified:
      "AWT-EventQueue-0" (0x84a2940)
          java.lang.ref.Reference$Lock@DC8993C0/DC8CE8C0: <unowned>
      Waiting to be notified:
      "Reference Handler" (0x808f880)
          java.lang.Class@DC88ECF0/DC99F1E0: owner "Finalizer" (0x8093488) 1 entry
      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 "Signal dispatcher" (0x8088818) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
          Child death monitor: <unowned>
          I/O monitor: <unowned>
      Waiting to be notified:
      "Finalizer" (0x8093488)
      "main" (0x804dce0)
          Alarm monitor: <unowned>
      Waiting to be notified:
      <unknown thread> (0x8052fc0)
          Thread queue lock: owner "Signal dispatcher" (0x8088818) 1 entry
          Monitor registry: owner "Signal dispatcher" (0x8088818) 1 entry




      ======================================================================


      Name: akC57697 Date: 05/21/99



       The JCK1.2.2 tests gets SEGV on MP x86 Solaris 2.7 under JDK1.2.2T:
       api/javax_swing/text/html/FormView/index.html#main
       api/javax_swing/text/html/ObjectView/index.html#main

       They fail with core with -native option and may hangs with -green option.
       (See the output below)

      The original report:
      -------------------------------------------------------------------
      Date: Thu, 20 May 1999 23:17:11 -0700 (PDT)
      From: Hung Nguyen <###@###.###>
      Reply-To: Hung Nguyen <###@###.###>
      Subject: JCK-122 javax_swing failure with JDK 122t
      To: ###@###.###, ###@###.###
      Cc: ###@###.###, ###@###.###,
              ###@###.###, ###@###.###
      MIME-Version: 1.0
      Content-Type: MULTIPART/mixed; BOUNDARY="Drove_of_Donkeys_469_000"
      X-Mailer: dtmail 1.3.0 CDE Version 1.3 SunOS 5.7 sun4u sparc
      Content-Length: 7245

      Hi Misha,

      We are seeing two javax_swing failures with Sol27/Multiprocessor machine when
      running JCK122a with JDK122t:

      api/javax_swing/text/html/FormView/index.html#main
      api/javax_swing/text/html/ObjectView/index.html#main

      I re-ran these tests and the reproducable rate is 1 out of 6 times. Whenever it
      fails, it failes after 10 minutes. Attached below are .jtr files. One of them
      failed with segmentation violation.

      Could you please investigate them ASAP. We are anxious to hear the result.

      As usual, thanks for your help!

      Hung

      ---------------------------------------------------------------------------------
      Output :
      SunOS aldebaran 5.7 Beta i86pc i386 i86pc
      No patches are installed

      1)
      java -native -Djava.compiler=sunwjit -Xfuture javasoft.sqe.tests.api.javax.swing.text.html.ObjectView.mainTests
      ====== ObjectView2001 ====== ObjectView() : javax.swing.JLabel
      ObjectView2001: Passed. OKAY
      ====== ObjectView2002 ====== ObjectView() : javax.swing.JButton
      ObjectView2002: Passed. OKAY
      ====== ObjectView2003 ====== ObjectView() : javax.swing.JCheckBox
      ObjectView2003: Passed. OKAY
      ====== ObjectView2004 ====== ObjectView() : javax.swing.JRadioButton
      ObjectView2004: Passed. OKAY
      ====== ObjectView2005 ====== ObjectView() : javax.swing.JTextField
      ObjectView2005: Passed. OKAY
      ====== ObjectView2006 ====== ObjectView() : javax.swing.JPasswordField
      ObjectView2006: Passed. OKAY
      ====== ObjectView2007 ====== ObjectView() : javax.swing.JList
      ObjectView2007: Passed. OKAY
      ====== ObjectView2008 ====== ObjectView() : javax.swing.JComboBox
      ObjectView2008: Passed. OKAY
      ====== ObjectView2009 ====== ObjectView() : javax.swing.JTextArea
      ObjectView2009: Passed. OKAY
      ====== ObjectView2010 ====== createComponent() : javax.swing.JLabel
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
      Segmentation Fault (core dumped)
      /opt/SUNWspro/bin/dbx /set/java/jdk1.2.2/x86/bin/i386/native_threads/java core.save
      ...
      Reading java
      core file header read successfully
      Reading ld.so.1
      Reading libthread.so.1
      Reading libhpi.so
      Reading libjvm.so
      Reading libdl.so.1
      Reading libc.so.1
      Reading libX11.so.4
      Reading libsocket.so.1
      Reading libnsl.so.1
      Reading libm.so.1
      Reading libXext.so.0
      Reading libmp.so.2
      Reading libjava.so
      Reading libzip.so
      Reading libsunwjit.so
      Reading libawt.so
      Reading libmlib_image.so
      Reading libXm.so.3
      Reading libXt.so.4
      Reading libXtst.so.1
      Reading libSM.so.6
      Reading libICE.so.6
      Reading libfontmanager.so
      dbx: missing ';': /set/java/JDK1.2.2T/x86/jre/lib/i386/libfontmanager.so:(unknown) stab #57 usr\/openwin\/include\/X11 -DOPENWINHOME='\\\"\/usr\/openwin\\\"' -c ../../../../src/share/native/sun/awt/font/FontWrapper.cpp
      Reading libC.so.5
      Reading libdps.so.5
      Reading libw.so.1
      detected a multithreaded program
      t@0 (l@1) terminated by signal SEGV (no mapping at the fault address)
      (/opt/SUNWspro/bin/dbx) where
      =>[1] _real_setlocale(), at 0xdff1df8b
        [2] _setlocale(), at 0xdff1dbdd
        [3] dcgettext_u(), at 0xdff325ee
        [4] _dgettext(), at 0xdff3256a
        [5] _strerror(), at 0xdfeffe49
        [6] panicHandler(), at 0xdff9cdb5
        [7] userSignalHandler(), at 0xdffbad2b
        [8] intrDispatch(), at 0xdffbad15
        [9] intrDispatchMD(), at 0xdffb9826
        [10] sigacthandler(), at 0xdffd486a
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [11] XSetFontPath(), at 0xdfe837c7
        [12] 0xdb0e86dd(), at 0xdb0e86dc
        [13] 0xdb0e8b6c(), at 0xdb0e8b6b
        [14] 0xdb0e8baf(), at 0xdb0e8bae
        [15] sysInvokeNative(), at 0xdff9debf
        [16] invokeJNISynchronizedNativeMethod(), at 0xdff6e08b
        [17] j86JittedCallsNativeJNIShim(), at 0xdfc5ffc5
        [18] JITInvokeCompiledMethod(), at 0xdfc5feb1
        [19] JITInvokeCompiler(), at 0xdfc4ec69
        [20] NO_invokenonvirtual_quick6(), at 0xdffa452e
        [21] 0x80a93d8(), at 0x80a93d7

      2)
      java -native -Djava.compiler=sunwjit -Xfuture javasoft.sqe.tests.api.javax.swing.text.html.FormView.mainTests
      ====== FormView2001 ====== FormView() : type=checkbox
      FormView2001: Passed. OKAY
      ====== FormView2002 ====== FormView() : type=image
      FormView2002: Passed. OKAY
      ====== FormView2003 ====== FormView() : type=password
      FormView2003: Passed. OKAY
      ====== FormView2004 ====== FormView() : type=radio
      FormView2004: Passed. OKAY
      ====== FormView2005 ====== FormView() : type=reset
      FormView2005: Passed. OKAY
      ====== FormView2006 ====== FormView() : type=submit
      FormView2006: Passed. OKAY
      ====== FormView2007 ====== FormView() : type=text
      FormView2007: Passed. OKAY
      ====== FormView2008 ====== createComponent() : type=checkbox
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Segmentation Fault (core dumped)
      /opt/SUNWspro/bin/dbx /set/java/jdk1.2.2/x86/bin/i386/native_threads/java
      ..
      Reading java
      core file header read successfully
      Reading ld.so.1
      Reading libthread.so.1
      Reading libhpi.so
      Reading libjvm.so
      Reading libdl.so.1
      Reading libc.so.1
      Reading libX11.so.4
      Reading libsocket.so.1
      Reading libnsl.so.1
      Reading libm.so.1
      Reading libXext.so.0
      Reading libmp.so.2
      Reading libjava.so
      Reading libzip.so
      Reading libsunwjit.so
      Reading libawt.so
      Reading libmlib_image.so
      Reading libXm.so.3
      Reading libXt.so.4
      Reading libXtst.so.1
      Reading libSM.so.6
      Reading libICE.so.6
      Reading libfontmanager.so
      dbx: missing ';': /set/java/JDK1.2.2T/x86/jre/lib/i386/libfontmanager.so:(unknown) stab #57 usr\/openwin\/include\/X11 -DOPENWINHOME='\\\"\/usr\/openwin\\\"' -c ../../../../src/share/native/sun/awt/font/FontWrapper.cpp
      Reading libC.so.5
      Reading libdps.so.5
      Reading libw.so.1
      detected a multithreaded program
      t@0 (l@4) terminated by signal SEGV (no mapping at the fault address)
      (/opt/SUNWspro/bin/dbx) where
      =>[1] JITGetMethodBlockForPC(0xdfc5e329), at 0xdfc4e516
        [2] JITSignalHandler(0xb), at 0xdfc5ed87
        [3] CompiledCodeSignalHandler(0xb), at 0xdff98363
        [4] panicHandler(0xb), at 0xdff9cd44
        [5] userSignalHandler(0xb), at 0xdffbad2b
        [6] intrDispatch(0xb), at 0xdffbad15
        [7] intrDispatchMD(0xb), at 0xdffb9826
        [8] sigacthandler(0xb), at 0xdffd486a
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [9] j86NearlyFinishPatch(0x840bb53), at 0xdfc5e329
        [10] j86DoPatch(0x809736c), at 0xdfc5fddf
        [11] 0x840ba2d(0xdc0c64c0), at 0x840ba2c
        [12] 0x840b90f(0xdc0c8be8), at 0x840b90e
        [13] 0x840b787(0xdc095588), at 0x840b786
        [14] JITInvokeCompiledMethod(0xdc095588), at 0xdfc5feb1
        [15] JITInvokeCompiler(0xdc095588), at 0xdfc4ec69


      3) When java run with -green option the test hangs at:
      java -green javasoft.sqe.tests.api.javax.swing.text.html.FormView.mainTests
      ====== FormView2001 ====== FormView() : type=checkbox
      FormView2001: Passed. OKAY
      ====== FormView2002 ====== FormView() : type=image
      FormView2002: Passed. OKAY
      ====== FormView2003 ====== FormView() : type=password
      FormView2003: Passed. OKAY
      ====== FormView2004 ====== FormView() : type=radio
      FormView2004: Passed. OKAY
      ====== FormView2005 ====== FormView() : type=reset
      FormView2005: Passed. OKAY
      ====== FormView2006 ====== FormView() : type=submit
      FormView2006: Passed. OKAY
      ====== FormView2007 ====== FormView() : type=text
      FormView2007: Passed. OKAY
      ====== FormView2008 ====== createComponent() : type=checkbox
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      ^\SIGQUIT

      Full thread dump Classic VM (JDK-1.2.2-T, green threads):
          "SunToolkit.PostEventQueue-0" (TID:0xdc8a12e8, sys_thread_t:0x84a4210, state:CW) prio=8
      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:0xdc8a18e0, sys_thread_t:0x84a2940, state:CW) prio=6
      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:0xdc899320, sys_thread_t:0x8093488, state:CW) prio=8
      at sun.awt.motif.MToolkit.init(Native Method)
      at sun.awt.motif.MToolkit.<init>(MToolkit.java, Compiled Code)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Class.java, Compiled Code)
      at java.awt.Toolkit$2.run(Toolkit.java, Compiled Code)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Toolkit.getDefaultToolkit(Toolkit.java, Compiled Code)
      at java.awt.Toolkit.getEventQueue(Toolkit.java, Compiled Code)
      at java.awt.EventQueue.isDispatchThread(EventQueue.java, Compiled Code)
      at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java, Compiled Code)
      at javax.swing.text.StyleContext.reclaim(StyleContext.java, Compiled Code)
      at javax.swing.text.AbstractDocument$AbstractElement.finalize(AbstractDocument.java, Compiled Code)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(Finalizer.java, Compiled Code)
      at java.lang.ref.Finalizer.access$1(Finalizer.java, Compiled Code)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:175)
          "Reference Handler" (TID:0xdc8993b0, sys_thread_t:0x808f880, 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:0xdc8993e0, sys_thread_t:0x8088818, state:R) prio=5
          "main" (TID:0xdc8991e0, sys_thread_t:0x804dce0, state:CW) prio=5
      at sun.awt.X11GraphicsEnvironment.getNativeFonts(Native Method)
      at sun.awt.X11GraphicsEnvironment.initNativeFonts(X11GraphicsEnvironment.java, Compiled Code)
      at sun.awt.X11GraphicsEnvironment.initFontNameMap(X11GraphicsEnvironment.java, Compiled Code)
      at sun.awt.X11GraphicsEnvironment.getFileNameFromPlatformName(X11GraphicsEnvironment.java, Compiled Code)
      at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java, Compiled Code)
      at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java, Compiled Code)
      at sun.awt.X11GraphicsEnvironment.initCompositeFonts(X11GraphicsEnvironment.java, Compiled Code)
      at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java, Compiled Code)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java, Compiled Code)
      at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java, Compiled Code)
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Class.java, Compiled Code)
      at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java, Compiled Code)
      at java.awt.Font.initializeFont(Font.java, Compiled Code)
      at java.awt.Font.<init>(Font.java, Compiled Code)
      at javax.swing.plaf.metal.DefaultMetalTheme.<init>(DefaultMetalTheme.java, Compiled Code)
      at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java, Compiled Code)
      at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java, Compiled Code)
      at javax.swing.UIManager.setLookAndFeel(UIManager.java, Compiled Code)
      at javax.swing.UIManager.setLookAndFeel(UIManager.java, Compiled Code)
      at javax.swing.UIManager.initializeDefaultLAF(UIManager.java, Compiled Code)
      at javax.swing.UIManager.initialize(UIManager.java, Compiled Code)
      at javax.swing.UIManager.maybeInitialize(UIManager.java, Compiled Code)
      at javax.swing.UIManager.getUI(UIManager.java, Compiled Code)
      at javax.swing.JCheckBox.updateUI(JCheckBox.java, Compiled Code)
      at javax.swing.AbstractButton.init(AbstractButton.java, Compiled Code)
      at javax.swing.JToggleButton.<init>(JToggleButton.java, Compiled Code)
      at javax.swing.JCheckBox.<init>(JCheckBox.java, Compiled Code)
      at javax.swing.JCheckBox.<init>(JCheckBox.java, Compiled Code)
      at javax.swing.text.html.FormView.create

            Unassigned Unassigned
            akuzminorcl Alexander Kuzmin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: