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

SIGBUS accessing Java2D demo font.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.3.0
    • 1.3.0
    • client-libs
    • None
    • 2d
    • sol-rc1
    • x86, sparc
    • linux, solaris_8


        When determining if the character 0xffff exists in the font A.ttf
        (which is supplied with the Java2D demo), Java crashes with a SIGBUS.
        (Also fails in Win32.)

        A simple test program is attached.

        The basic problem is shown by:

          File f = new File( .... A.ttf );
          Font font = Font.createFont(Font.TRUETYPE_FONT, new FileInputStream(f));
          Font.canDisplay('\uffff')


        heidi.chen@eng 2001-03-01
        Verified on sol/sparc8, Ladybird RC b18. The bug is fixed.

              foliversunw Fred Oliver (Inactive)
              foliversunw Fred Oliver (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: