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

Sol2.5 SEGV with Stars3D demo - NativeFontWrapper.getGlyphVectorOutline()?

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      1.2rc2
    • CPU:
      generic, sparc
    • OS:
      solaris_2.5.1, solaris_2.6
    • Verification:
      Verified

      Description

      Running the attached file with JDK1.2-"O" produces this segmentation violation on Solaris 2.5.1 :

      /home/lichtenw( 22 )% java -Djava.compiler= Stars3D
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_MAPERR [addr: 0x10]

              stackpointer=eabf08c8

      Full thread dump Classic VM (Java2DFCS:15-Oct-98@05:58, green threads):
          "AWT-Finalizer" (TID:0xebccb078, sys_thread_t:0x49fcb8, state:CW) prio=9
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at sun.awt.AWTFinalizer.run(AWTFinalizer.java:46)
          "Screen Updater" (TID:0xebc9fdb8, sys_thread_t:0x3c2320, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:79)
              at sun.awt.ScreenUpdater.run(ScreenUpdater.java:99)
          "TimerQueue" (TID:0xebca5508, sys_thread_t:0x36f548, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at javax.swing.TimerQueue.run(TimerQueue.java:205)
              at java.lang.Thread.run(Thread.java:479)
          "AWT-Motif" (TID:0xebcaff70, sys_thread_t:0x283f60, state:R) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:479)
          "SunToolkit.PostEventQueue-0" (TID:0xebcb0150, sys_thread_t:0x1738c8, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at sun.awt.PostEventQueue.run(SunToolkit.java:363)
          "AWT-EventQueue-0" (TID:0xebcb0120, sys_thread_t:0x25fb30, state:R) prio=6
              at sun.awt.font.NativeFontWrapper.getGlyphVectorOutline(Native Method)
              at sun.awt.font.StandardGlyphVector.getOutline(StandardGlyphVector.java:306)
              at sun.awt.font.StandardGlyphVector.getOutline(StandardGlyphVector.java:294)
              at Stars3D.drawDemo(Stars3D.java:51)
              at Stars3D.paint(Stars3D.java:31)
              at javax.swing.JComponent.paintWithBuffer(JComponent.java:3510)
              at javax.swing.JComponent._paintImmediately(JComponent.java:3472)
              at javax.swing.JComponent.paintImmediately(JComponent.java:3356)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:366)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:185)
              at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:354)
              at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:350)
              at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:391)
              at java.awt.Component.dispatchEventImpl(Component.java:2376)
              at java.awt.Component.dispatchEvent(Component.java:2289)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
          "Finalizer" (TID:0xebc98320, sys_thread_t:0x69d90, state:CW) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0xebc983b0, sys_thread_t:0x65458, state:CW) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0xebc983e0, sys_thread_t:0x5ec28, state:CW) prio=5
          "Thread-0" (TID:0xebca0480, sys_thread_t:0x268d0, state:CW) prio=5
      Monitor Cache Dump:
          java.lang.Class@EBCA53B8/EBD11598: owner "AWT-EventQueue-0" (0x25fb30) 2 entries
          javax.swing.TimerQueue@EBCA5500/EBD6B4E0: <unowned>
              Waiting to be notified:
                  "TimerQueue" (0x36f548)
          sun.awt.AWTFinalizer@EBCCB078/EBD630A8: <unowned>
              Waiting to be notified:
                  "AWT-Finalizer" (0x49fcb8)
          java.lang.ref.ReferenceQueue$Lock@EBC98338/EBCCDCC0: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x69d90)
          sun.awt.PostEventQueue@EBCB0150/EBD42CC8: <unowned>
              Waiting to be notified:
                  "SunToolkit.PostEventQueue-0" (0x1738c8)
          sun.awt.ScreenUpdater@EBC9FDB8/EBD7ABD8: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x3c2320)
          java.lang.ref.Reference$Lock@EBC983C0/EBCCD890: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x65458)
      Registered Monitor Dump:
          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-0" (0x25fb30) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
              Waiting to be notified:
                  "Signal dispatcher" (0x5ec28)
          Child death monitor: <unowned>
          I/O monitor: owner "AWT-Motif" (0x283f60) 1 entry
          Alarm monitor: <unowned>
              Waiting to be notified:
                  <unknown thread> (0x2bbc0)
          Thread queue lock: owner "AWT-EventQueue-0" (0x25fb30) 1 entry
              Waiting to be notified:
                  "Thread-0" (0x268d0)
          Monitor registry: owner "AWT-EventQueue-0" (0x25fb30) 1 entry

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwarzech Joe Warzecha (Inactive)
                Reporter:
                blichtensunw Brian Lichtenwalter (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: