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

Fonts.Tree under 5.5.1 with alpha causes SEGV

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs
    • 2d
    • sparc
    • solaris_2.5.1

      Build : 'O'
      OS : 5.5.1 (8bit) (ok in 5.6 [8/24bit] & Win95 & WinNT)
      app : demos.Fonts.Tree

      Enabling Alpha causes fonts to appear illegable. Sometimes like inversion video. Beyond that...it SEGV's.

      Steps to repo:
        1. Launch Java2Demo /usr/local/java/jdk1.2/solaris/demo/jfc/Java2D
        2. goto Fonts tab
        3. Dblclick on Tree
        4. enable Alpha (may have to enable/disable few times to SEGV)

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

              stackpointer=eeb02a9c

      Full thread dump Classic VM (Java2DFCS:23-Oct-98@05:53, native threads):
          "TreeDemo" (TID:0xeb089918, sys_thread_t:0xbcff30, state:CW, native ID:0x2f) prio=1
              at java.lang.Thread.sleep(Native Method)
              at DemoSurface.run(Compiled Code)
              at java.lang.Thread.run(Compiled Code)
          "PerformanceMonitor" (TID:0xeb04cf30, sys_thread_t:0x6f0b50, state:CW, native ID:0x2a) prio=1
              at java.lang.Thread.sleep(Native Method)
              at PerformanceMonitor$MonitorComponent.run(Compiled Code)
              at java.lang.Thread.run(Compiled Code)
          "MemoryMonitor" (TID:0xeb04ebd0, sys_thread_t:0xa87400, state:CW, native ID:0x29) prio=1
              at java.lang.Thread.sleep(Native Method)
              at MemoryMonitor$MonitorComponent.run(Compiled Code)
              at java.lang.Thread.run(Compiled Code)
          "Thread-5" (TID:0xeb0670b8, sys_thread_t:0x2ebc0, state:CW, native ID:0x1) prio=5
          "TimerQueue" (TID:0xeb09f0a0, sys_thread_t:0x63eb48, state:CW, native ID:0x10) prio=5
              at java.lang.Object.wait(Native Method)
              at javax.swing.TimerQueue.run(Compiled Code)
              at java.lang.Thread.run(Compiled Code)
          "AWT-Finalizer" (TID:0xeb0b6100, sys_thread_t:0x5650c0, state:CW, native ID:0xb) prio=9
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.AWTFinalizer.run(Compiled Code)
          "Screen Updater" (TID:0xeb09a318, sys_thread_t:0x4fdc70, state:CW, native ID:0xa) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.ScreenUpdater.nextEntry(Compiled Code)
              at sun.awt.ScreenUpdater.run(Compiled Code)
          "AWT-Motif" (TID:0xeb0b1f38, sys_thread_t:0x360528, state:MW, native ID:0x9) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Compiled Code)
          "SunToolkit.PostEventQueue-0" (TID:0xeb0b23b0, sys_thread_t:0x32beb0, state:CW, native ID:0x8) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at sun.awt.PostEventQueue.run(Compiled Code)
          "AWT-EventQueue-0" (TID:0xeb0b2360, sys_thread_t:0x32bd98, state:R, native ID:0x7) prio=6
              at sun.awt.font.NativeFontWrapper.drawGlyphVectorIndexed(Native Method)
              at sun.java2d.loops.drawGlyphVectorIndexed.DrawGlyphVector(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.drawGlyphVector(Compiled Code)
              at sun.awt.image.BufferedImageGraphics2D.drawGlyphVector(Compiled Code)
              at sun.java2d.pipe.ValidatePipe.drawGlyphVector(Compiled Code)
              at sun.java2d.SunGraphics2D.drawGlyphVector(Compiled Code)
              at sun.awt.font.ExtendedTextSourceLabel.draw(Compiled Code)
              at sun.awt.font.ExtendedTextLabelComponent.handleDraw(Compiled Code)
              at sun.awt.font.TextLineComponent.drawTextAndEmbellishments(Compiled Code)
              at sun.awt.font.TextLineComponent.draw(Compiled Code)
              at java.awt.font.TextLine.draw(Compiled Code)
              at java.awt.font.TextLayout.draw(Compiled Code)
              at demos.Fonts.Tree.tree(Compiled Code)
              at demos.Fonts.Tree.drawDemo(Compiled Code)
              at DemoSurface.paint(Compiled Code)
              at javax.swing.JComponent.paintWithBuffer(Compiled Code)
              at javax.swing.JComponent._paintImmediately(Compiled Code)
              at javax.swing.JComponent.paintImmediately(Compiled Code)
              at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code)
              ... (more frames not shown)
          "Finalizer" (TID:0xeb098320, sys_thread_t:0x6dae0, state:CW, native ID:0x6) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(Compiled Code)
              at java.lang.ref.ReferenceQueue.remove(Compiled Code)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0xeb0983b0, sys_thread_t:0x6bfc8, state:CW, native ID:0x5) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Compiled Code)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0xeb0983e0, sys_thread_t:0x63a48, state:CW, native ID:0x4) prio=5
      Monitor Cache Dump:
          javax.swing.TimerQueue@EB09F8F0/EB4337F0: <unowned>
              Waiting to be notified:
                  "TimerQueue" (0x63eb48)
          java.lang.ref.ReferenceQueue$Lock@EB098338/EB0CDD50: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x6dae0)
          sun.awt.ScreenUpdater@EB09A318/EB171CC0: <unowned>
              Waiting to be notified:
                  "Screen Updater" (0x4fdc70)
          sun.awt.PostEventQueue@EB0B23B0/EB0F3210: <unowned>
              Waiting to be notified:
                  "SunToolkit.PostEventQueue-0" (0x32beb0)
          sun.awt.AWTFinalizer@EB0B6100/EB1446A0: <unowned>
              Waiting to be notified:
                  "AWT-Finalizer" (0x5650c0)
          java.lang.Class@EB0A6E20/EB1184B8: owner "AWT-EventQueue-0" (0x32bd98) 2 entries
              Waiting to enter:
                  "AWT-Motif" (0x360528)
          java.lang.ref.Reference$Lock@EB0983C0/EB0CD890: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x6bfc8)
      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-0" (0x32bd98) 1 entry
          Thread queue lock: owner "AWT-EventQueue-0" (0x32bd98) 1 entry
              Waiting to be notified:
                  "Thread-5" (0x2ebc0)
          Monitor registry: owner "AWT-EventQueue-0" (0x32bd98) 1 entry


            jwarzech Joe Warzecha (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: