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

Access violation when using java2d

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • 2d
    • x86
    • windows_xp

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

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Intel P4 with HyperThreading technology

      A DESCRIPTION OF THE PROBLEM :
      We are still using symantec's symbeans.jar for some of our components (We are currently switching to Swing, but that will take some time).

      The problem started to occur after we got new PC's with Intel P4 HyperThreading technology.

      When we open windows (awt frames) with so called Multilist's using symantec symbeans, and the multilist contains an image of some sort the whole application crashes abruptly. I noticed by turning off the HyperThreading in BIOS this problem went away (It has actually crashed a few times after turning of the HT feature), but that does not sound like a good solution to our problem. It is hard to explain that to our customers.

      It actually crashes inside jvm.dll, and this software has been working in other releases of Java.

      I am unable to reproduce them problem with a small test program. This is probably due to how the jvm allocated memory etc.

      We are also running some of our client software on Citrix servers and we have noticed the problem there too.

      I have looked in the symantec code and found nothing unusal there. All it does is drawString.

      We have tried Java 1.5, same problem.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I tried to write a seperate app, since the whole application is way to big to send and requires oracle databse etc., but could not reproduce the problem with the small app.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80778C2
      Function=[Unknown.]
      Library=C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:
      at sun.java2d.loops.DrawGlyphList.DrawGlyphList(Native Method)
      at sun.java2d.pipe.SolidTextRenderer.drawGlyphList(SolidTextRenderer.java:38)
      - locked <0x1c5fe418> (a java.lang.Class)
      at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:47)
      at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2534)
      at symantec.itools.awt.multiList.TextAndImageCell.drawCell(TextAndImageCell.java:108)
      at symantec.itools.awt.MultiList.drawRows(MultiList.java:3004)
      at se.btj.humlan.components.BTJMultiList.redraw(BTJMultiList.java:657)
      at symantec.itools.awt.MultiList.paint(MultiList.java:1825)
      at sun.awt.RepaintArea.paint(RepaintArea.java:177)
      at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
      at java.awt.Component.dispatchEventImpl(Component.java:3678)
      at java.awt.Container.dispatchEventImpl(Container.java:1627)
      at java.awt.Component.dispatchEvent(Component.java:3477)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

      Dynamic libraries:
      0x00400000 - 0x00406000 C:\j2sdk1.4.2_04\bin\java.exe
      0x7C900000 - 0x7C9B2000 C:\WINDOWS\system32\ntdll.dll
      0x7C800000 - 0x7C8F8000 C:\WINDOWS\system32\kernel32.dll
      0x77DC0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
      0x77C00000 - 0x77C58000 C:\WINDOWS\system32\MSVCRT.dll
      0x08000000 - 0x08136000 C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
      0x77D30000 - 0x77DC0000 C:\WINDOWS\system32\USER32.dll
      0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
      0x76B30000 - 0x76B5E000 C:\WINDOWS\system32\WINMM.dll
      0x10000000 - 0x10007000 C:\j2sdk1.4.2_04\jre\bin\hpi.dll
      0x003E0000 - 0x003EE000 C:\j2sdk1.4.2_04\jre\bin\verify.dll
      0x008A0000 - 0x008B8000 C:\j2sdk1.4.2_04\jre\bin\java.dll
      0x008C0000 - 0x008CD000 C:\j2sdk1.4.2_04\jre\bin\zip.dll
      0x00980000 - 0x00987000 C:\Program\IntelliJ-IDEA-4.0\bin\breakgen.dll
      0x03090000 - 0x0309F000 C:\j2sdk1.4.2_04\jre\bin\net.dll
      0x71AA0000 - 0x71AB7000 C:\WINDOWS\system32\WS2_32.dll
      0x71A90000 - 0x71A98000 C:\WINDOWS\system32\WS2HELP.dll
      0x71A40000 - 0x71A80000 C:\WINDOWS\system32\mswsock.dll
      0x698B0000 - 0x69908000 C:\WINDOWS\system32\hnetcfg.dll
      0x71A80000 - 0x71A88000 C:\WINDOWS\System32\wshtcpip.dll
      0x03120000 - 0x0322A000 C:\j2sdk1.4.2_04\jre\bin\awt.dll
      0x72FD0000 - 0x72FF6000 C:\WINDOWS\system32\WINSPOOL.DRV
      0x76370000 - 0x7638D000 C:\WINDOWS\system32\IMM32.dll
      0x774D0000 - 0x7760C000 C:\WINDOWS\system32\ole32.dll
      0x5B270000 - 0x5B2A8000 C:\WINDOWS\system32\uxtheme.dll
      0x03290000 - 0x032E0000 C:\j2sdk1.4.2_04\jre\bin\fontmanager.dll
      0x73730000 - 0x73779000 C:\WINDOWS\system32\ddraw.dll
      0x73B90000 - 0x73B96000 C:\WINDOWS\system32\DCIMAN32.dll
      0x73910000 - 0x739E0000 C:\WINDOWS\system32\D3DIM700.DLL
      0x746F0000 - 0x7473B000 C:\WINDOWS\system32\MSCTF.dll
      0x76F10000 - 0x76F37000 C:\WINDOWS\system32\DNSAPI.dll
      0x76FA0000 - 0x76FA8000 C:\WINDOWS\System32\winrnr.dll
      0x76F50000 - 0x76F7D000 C:\WINDOWS\system32\WLDAP32.dll
      0x76FB0000 - 0x76FB6000 C:\WINDOWS\system32\rasadhlp.dll
      0x76C80000 - 0x76CA8000 C:\WINDOWS\system32\imagehlp.dll
      0x59F50000 - 0x59FF1000 C:\WINDOWS\system32\DBGHELP.dll
      0x77BF0000 - 0x77BF8000 C:\WINDOWS\system32\VERSION.dll
      0x76BE0000 - 0x76BEB000 C:\WINDOWS\system32\PSAPI.DLL

      Heap at VM Abort:
      Heap
       def new generation total 576K, used 32K [0x10010000, 0x100b0000, 0x10f20000)
        eden space 512K, 6% used [0x10010000, 0x100181c0, 0x10090000)
        from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
        to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
       tenured generation total 3128K, used 2922K [0x10f20000, 0x1122e000, 0x1c410000)
         the space 3128K, 93% used [0x10f20000, 0x111fa9d0, 0x111faa00, 0x1122e000)
       compacting perm gen total 7168K, used 7073K [0x1c410000, 0x1cb10000, 0x20410000)
         the space 7168K, 98% used [0x1c410000, 0x1caf8698, 0x1caf8800, 0x1cb10000)

      Local Time = Wed Oct 27 09:26:36 2004
      Elapsed Time = 11
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002EF
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
      #


      ------------------------------------------------------------------------------------------

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00b4329c, pid=3928, tid=3004
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
      # Problematic frame:
      # v ~BufferBlob::jni_fast_GetIntField
      #


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Turn off the HyperThreading technology in BIOS, then it only crashes sometimes.
      ###@###.### 2004-11-12 22:31:13 GMT

            prr Philip Race
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: