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

Netbeans crash in Java_sun_font_FileFont_getGlyphImage on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 5.0u5
    • client-libs
    • 2d
    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.5.0_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      Just clicking the mouse on the empty plane in the Design-mode results in a crash.

      The FontTest from http://support.jetbrains.com/kb/entry.jspa?externalID=172&categoryID=4 sugested as a workaround for the http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6289811 bug does'nt crash.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xa15dcbd3, pid=19971, tid=2621193136
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode)
      # Problematic frame:
      # C [libfontmanager.so+0x2ebd3]
      #

      --------------- T H R E A D ---------------

      Current thread (0x08309790): JavaThread "AWT-EventQueue-1" [_thread_in_native, id=19996]

      siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x098522b4

      Registers:
      EAX=0x9b820214, EBX=0xa162a5a8, ECX=0x6e0320a0, EDX=0x000000b3
      ESP=0x9c3c1da8, EBP=0x9c3c1dd0, ESI=0x9b820214, EDI=0x9b80c828
      EIP=0xa15dcbd3, CR2=0x098522b4, EFLAGS=0x00210216

        Top of Stack: (sp=0x9c3c1da8)
      0x9c3c1da8: 9c3c1e18 9c3c1e18 9c3c1dd0 a15dce3c
      0x9c3c1db8: 6e0320a0 00000000 9c3c1dd0 a162a5a8
      0x9c3c1dc8: 9b80c748 9b80c77c 9c3c1df0 a15e2ec6
      0x9c3c1dd8: 9c3c1e18 00000000 0000000a b26a2690
      0x9c3c1de8: a162eac0 b79bc7a8 9c3c1f50 a15e324e
      0x9c3c1df8: 9c3c1e18 9b8602b8 9b860315 08477ba4
      0x9c3c1e08: 08309790 08484948 aade0150 9c3c1e18
      0x9c3c1e18: 9b81edb4 9b81edb4 9b81edb4 40000000

      Instructions: (pc=0xa15dcbd3)
      0xa15dcbc3: 8d 14 85 00 00 00 00 8b 41 04 8b 14 10 8b 4d e8
      0xa15dcbd3: 8b 04 0e 29 d0 89 44 24 04 8b 45 08 8b 50 04 89

      Stack: [0x9c344000,0x9c3c4000), sp=0x9c3c1da8, free space=503k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libfontmanager.so+0x2ebd3]
      C [libfontmanager.so+0x34ec6]
      C [libfontmanager.so+0x3524e]
      C [libfontmanager.so+0x3768a]
      C [libfontmanager.so+0x35a92]
      C [libfontmanager.so+0x35faa]
      C [libfontmanager.so+0x225c6]
      C [libfontmanager.so+0x24326]
      C [libfontmanager.so+0x463c6] Java_sun_font_FileFont_getGlyphImage+0x120
      j sun.font.FileFont.getGlyphImage(JI)J+0
      j sun.font.FileFontStrike.getGlyphImagePtrs([I[JI)V+92
      j sun.font.GlyphList.mapChars(Lsun/java2d/loops/FontInfo;I)Z+37
      j sun.font.GlyphList.setFromString(Lsun/java2d/loops/FontInfo;Ljava/lang/String;FF)Z+47
      j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+148
      j sun.java2d.SunGraphics2D.drawString(Ljava/lang/String;II)V+25
      j org.netbeans.beaninfo.editors.FontEditor.paintValue(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V+137
      j org.netbeans.modules.form.FormPropertyEditor.paintValue(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V+15
      j org.openide.explorer.propertysheet.RendererFactory$StringRenderer.delegatedPaint(Ljava/awt/Graphics;)V+150
      j org.openide.explorer.propertysheet.RendererFactory$StringRenderer.paint(Ljava/awt/Graphics;)V+61
      j org.openide.explorer.propertysheet.ButtonPanel.paint(Ljava/awt/Graphics;)V+64
      j javax.swing.CellRendererPane.paintComponent(Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Container;IIIIZ)V+124
      j javax.swing.plaf.basic.BasicTableUI.paintCell(Ljava/awt/Graphics;Ljava/awt/Rectangle;II)V+110
      j javax.swing.plaf.basic.BasicTableUI.paintCells(Ljava/awt/Graphics;IIII)V+133
      j javax.swing.plaf.basic.BasicTableUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+244
      j javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32
      j javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
      j org.openide.explorer.propertysheet.BaseTable.paintComponent(Ljava/awt/Graphics;)V+2
      j org.openide.explorer.propertysheet.SheetTable.paintComponent(Ljava/awt/Graphics;)V+18
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260
      j org.openide.explorer.propertysheet.BaseTable.paint(Ljava/awt/Graphics;)V+15
      j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
      j javax.swing.JViewport.paint(Ljava/awt/Graphics;)V+192
      j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
      j javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174
      j javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131
      j javax.swing.JComponent._paintImmediately(IIII)V+739
      j javax.swing.JComponent.paintImmediately(IIII)V+83
      j javax.swing.RepaintManager.paintDirtyRegions()V+314
      j javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32
      j java.awt.event.InvocationEvent.dispatch()V+47
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
      j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub
      V [libjvm.so+0x16cb6c]
      V [libjvm.so+0x25f688]
      V [libjvm.so+0x16c3c5]
      V [libjvm.so+0x16c45e]
      V [libjvm.so+0x1d1ac5]
      V [libjvm.so+0x2bdf03]
      V [libjvm.so+0x260198]
      C [libpthread.so.0+0x51ee]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.font.FileFont.getGlyphImage(JI)J+0
      j sun.font.FileFontStrike.getGlyphImagePtrs([I[JI)V+92
      j sun.font.GlyphList.mapChars(Lsun/java2d/loops/FontInfo;I)Z+37
      j sun.font.GlyphList.setFromString(Lsun/java2d/loops/FontInfo;Ljava/lang/String;FF)Z+47
      j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+148
      j sun.java2d.SunGraphics2D.drawString(Ljava/lang/String;II)V+25
      j org.netbeans.beaninfo.editors.FontEditor.paintValue(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V+137
      j org.netbeans.modules.form.FormPropertyEditor.paintValue(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V+15
      j org.openide.explorer.propertysheet.RendererFactory$StringRenderer.delegatedPaint(Ljava/awt/Graphics;)V+150
      j org.openide.explorer.propertysheet.RendererFactory$StringRenderer.paint(Ljava/awt/Graphics;)V+61
      j org.openide.explorer.propertysheet.ButtonPanel.paint(Ljava/awt/Graphics;)V+64
      j javax.swing.CellRendererPane.paintComponent(Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Container;IIIIZ)V+124
      j javax.swing.plaf.basic.BasicTableUI.paintCell(Ljava/awt/Graphics;Ljava/awt/Rectangle;II)V+110
      j javax.swing.plaf.basic.BasicTableUI.paintCells(Ljava/awt/Graphics;IIII)V+133
      j javax.swing.plaf.basic.BasicTableUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+244
      j javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32
      j javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
      j org.openide.explorer.propertysheet.BaseTable.paintComponent(Ljava/awt/Graphics;)V+2
      j org.openide.explorer.propertysheet.SheetTable.paintComponent(Ljava/awt/Graphics;)V+18
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260
      j org.openide.explorer.propertysheet.BaseTable.paint(Ljava/awt/Graphics;)V+15
      j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
      j javax.swing.JViewport.paint(Ljava/awt/Graphics;)V+192
      j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
      j javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174
      j javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131
      j javax.swing.JComponent._paintImmediately(IIII)V+739
      j javax.swing.JComponent.paintImmediately(IIII)V+83
      j javax.swing.RepaintManager.paintDirtyRegions()V+314
      j javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32
      j java.awt.event.InvocationEvent.dispatch()V+47
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
      j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x086dec68 JavaThread "Inactive RequestProcessor thread [Was:Java-Folds/org.netbeans.modules.editor.java.NbJavaFoldManager]" daemon [_thread_blocked, id=20000]
        0x086a44f8 JavaThread "Inactive RequestProcessor thread [Was:Navigator RelatedItemProviderSupport gatherer/org.netbeans.modules.java.navigation.spi.RelatedItemProviderSupport$Updater]" daemon [_thread_blocked, id=19999]
        0x081f01b0 JavaThread "MDR event dispatcher" daemon [_thread_blocked, id=19998]
        0x08327128 JavaThread "DestroyJavaVM" [_thread_blocked, id=19971]
        0x085ac458 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=19997]
      =>0x08309790 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=19996]
        0x08477738 JavaThread "TimerQueue" daemon [_thread_blocked, id=19995]
        0x080fe2f0 JavaThread "Inactive RequestProcessor thread [Was:JarFs - modification watcher/org.openide.filesystems.JarFileSystem$2]" daemon [_thread_blocked, id=19994]
        0x085bd798 JavaThread "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon [_thread_blocked, id=19993]
        0x084760c0 JavaThread "AWT-Shutdown" [_thread_blocked, id=19991]
        0x08437750 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=19988]
        0x0842e0e0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=19987]
        0x083fd968 JavaThread "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.openide.explorer.propertysheet.PropertySheet$4]" daemon [_thread_blocked, id=19986]
        0x083d4628 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=19985]
        0x083de350 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=19984]
        0x083bd738 JavaThread "Timer-0" daemon [_thread_blocked, id=19983]
        0x083269e0 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=19981]
        0x080c6be0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=19977]
        0x080c5690 JavaThread "CompilerThread0" daemon [_thread_blocked, id=19976]
        0x080c47c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19975]
        0x080b9d18 JavaThread "Finalizer" daemon [_thread_blocked, id=19974]
        0x080b9050 JavaThread "Reference Handler" daemon [_thread_blocked, id=19973]

      Other Threads:
        0x080b6430 VMThread [id=19972]
        0x080e1968 WatcherThread [id=19978]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 3136K, used 646K [0xa2a10000, 0xa2d70000, 0xa33e0000)
        eden space 2816K, 13% used [0xa2a10000, 0xa2a721d8, 0xa2cd0000)
        from space 320K, 79% used [0xa2cd0000, 0xa2d0f6f0, 0xa2d20000)
        to space 320K, 0% used [0xa2d20000, 0xa2d20000, 0xa2d70000)
       tenured generation total 40884K, used 27338K [0xa33e0000, 0xa5bcd000, 0xaaa10000)
         the space 40884K, 66% used [0xa33e0000, 0xa4e92810, 0xa4e92a00, 0xa5bcd000)
       compacting perm gen total 36608K, used 36407K [0xaaa10000, 0xacdd0000, 0xb0a10000)
         the space 36608K, 99% used [0xaaa10000, 0xacd9dff8, 0xacd9e000, 0xacdd0000)
      No shared spaces configured.

      Dynamic libraries:
      onts/Type1/cursor.pfa
      9ff1b000-9ff25000 r-xs 00000000 03:01 25322 /usr/share/X11/fonts/Type1/c0611bt_.pfb
      9ff25000-9ff2f000 r-xs 00000000 03:01 25320 /usr/share/X11/fonts/Type1/c0583bt_.pfb
      9ff2f000-9ff38000 r-xs 00000000 03:01 25328 /usr/share/X11/fonts/Type1/c0648bt_.pfb
      /usr/share/X11/fonts/Type1/c0419bt_.pfb
      b261b000-b262c000 rwxp b261b000 00:00 0
      ...

      VM Arguments:
      jvm_args: -Djdk.home=/usr/lib/sun-j2se5.0-jdk -Dnetbeans.osenv=/tmp/nbenv.19939 -Dnetbeans.osenv.nullsep=true -Dnetbeans.dirs=:/opt/netbeans-5.0beta/bin/../nb5.0:/opt/netbeans-5.0beta/bin/../ide6:/opt/netbeans-5.0beta/bin/../enterprise2:/opt/netbeans-5.0beta/bin/../harness -Dnetbeans.home=/opt/netbeans-5.0beta/platform6 -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xms32m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=96m -ea -Dapple.laf.useScreenMenuBar=true
      java_command: org.netbeans.Main --userdir /home/robson/.netbeans/5.0beta --branding nb

      Environment Variables:
      PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
      USERNAME=robson
      LD_LIBRARY_PATH=/usr/lib/sun-j2se5.0-jdk/jre/lib/i386/client:/usr/lib/sun-j2se5.0-jdk/jre/lib/i386:/usr/lib/sun-j2se5.0-jdk/jre/../lib/i386
      SHELL=/bin/bash
      DISPLAY=:0.0

      Signal Handlers:
      SIGSEGV: [libjvm.so+0x2ebc30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGBUS: [libjvm.so+0x2ebc30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGFPE: [libjvm.so+0x25e6c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGPIPE: [libjvm.so+0x25e6c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGILL: [libjvm.so+0x25e6c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGUSR2: [libjvm.so+0x260a10], sa_mask[0]=0x00000000, sa_flags=0x10000004
      SIGHUP: [libjvm.so+0x260440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGINT: [libjvm.so+0x260440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGQUIT: [libjvm.so+0x260440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGTERM: [libjvm.so+0x260440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


      --------------- S Y S T E M ---------------

      OS:testing/unstable

      uname:Linux 2.6.12-9-686 #1 Mon Oct 10 13:25:32 BST 2005 i686
      libc:glibc 2.3.5 NPTL 2.3.5
      rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
      load average:1.72 1.06 0.84

      CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 1036472k(15472k free), swap 1975976k(1975752k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0_05-b05) for linux-x86, built on Aug 26 2005 16:24:31 by java_re with gcc 3.2.1-7a (J2SE release)



      APPLET URL OR APPLICATION NAME:
      Netbeans 5 beta

            igor Igor Nekrestyanov (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: