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

Reoccuring JVM crashes in Java2D Disposer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6u26
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux_redhat_5.0

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_24"
      Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux apas4-jblu-l64-01 2.6.18-194.3.1.el5 #1 SMP Fri May 7 01:43:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      We are a software developer and our product, an appliance based server provides advanced features for a Cisco-based VOIP environment.
      One of our modules generates small pictures, that Cisco phones display.

      This module is the only one, where we use drawstrings-method and fonts.
      Now every now and then the JVM crashes with an error-log like I have copied in section "Error Messages".

      We suspect this problem is connected to some temp-files that are created upon generation of these pictures (output container is .png).
      Since we are not sure in which case those files are generated, we are currently investigating this and are writing small test programms to see,
      if these files are generated each time something in our configuration changes, which would influence the resulting picture and for example if there are multiple temp-files created depending on the size or content of the picture.

      Those temp-files can be found in folder /var/cache/tomcat5/temp/

      We had a problem where there was so many temp-files generated, that several gigabytes.
      There seem to be two filesizes for those files: 136K and 278K, we have verified that on several systems.
        To avoid that the disk becomes full, we implemented a threshold to delete those files, if they are older than 7 days.
      This was, when the java crashes began to occur and thus we expect a connection between those crashes and those files.

      This is basically all we know so far.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Not discovered yet


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00002adebd8c8ff0, pid=23543, tid=1241114944
      #
      # JRE version: 6.0_24-b07
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C [libc.so.6+0x2fff0] __sigsetjmp+0x0
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x00002aaab8255000): JavaThread "Java2D Disposer" daemon [_thread_in_native, id=23785, stack(0x0000000049e9e000,0x0000000049f9f000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000018

      Registers:
      RAX=0x0000000000000000, RBX=0x00002adebe598860, RCX=0x0000000000000011, RDX=0x00002aaabdfb3888
      RSP=0x0000000049f9d818, RBP=0x00002aaabdfaefa0, RSI=0x0000000000000000, RDI=0x0000000000000018
      R8 =0x00000006f2673028, R9 =0x000000070a65c958, R10=0x00002aaaab55d9f9, R11=0x00002adebe2aaa90
      R12=0x00002adebe021c00, R13=0x00002aaabdfaf420, R14=0x00002aaab82551c8, R15=0x00002aaab8255000
      RIP=0x00002adebd8c8ff0, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
        TRAPNO=0x000000000000000e

      Register to memory mapping:

      RAX=0x0000000000000000
      0x0000000000000000 is pointing to unknown location

      RBX=0x00002adebe598860
      0x00002adebe598860: <offset 0x9a7860> in /usr/java/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so at 0x00002adebdbf1000

      RCX=0x0000000000000011
      0x0000000000000011 is pointing to unknown location

      RDX=0x00002aaabdfb3888
      0x00002aaabdfb3888 is pointing to unknown location

      RSP=0x0000000049f9d818
      0x0000000049f9d818 is pointing into the stack for thread: 0x00002aaab8255000
      "Java2D Disposer" daemon prio=10 tid=0x00002aaab8255000 nid=0x5ce9 runnable [0x0000000049f9d000]
         java.lang.Thread.State: RUNNABLE

      RBP=0x00002aaabdfaefa0
      0x00002aaabdfaefa0 is pointing to unknown location

      RSI=0x0000000000000000
      0x0000000000000000 is pointing to unknown location

      RDI=0x0000000000000018
      0x0000000000000018 is pointing to unknown location

      R8 =0x00000006f2673028
      {instance class}
       - klass: {other class}

      R9 =0x000000070a65c958
      sun.font.FileFont$FileFontDisposer
       - klass: 'sun/font/FileFont$FileFontDisposer'

      R10=0x00002aaaab55d9f9
      method entry point (kind = native) [0x00002aaaab55d760, 0x00002aaaab55e060] 2304 bytes

      R11=0x00002adebe2aaa90
      0x00002adebe2aaa90: <offset 0x6b9a90> in /usr/java/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so at 0x00002adebdbf1000

      R12=0x00002adebe021c00
      0x00002adebe021c00: <offset 0x430c00> in /usr/java/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so at 0x00002adebdbf1000

      R13=0x00002aaabdfaf420
      0x00002aaabdfaf420 is pointing to unknown location

      R14=0x00002aaab82551c8
      0x00002aaab82551c8 is pointing to unknown location

      R15=0x00002aaab8255000
      "Java2D Disposer" daemon prio=10 tid=0x00002aaab8255000 nid=0x5ce9 runnable [0x0000000049f9d000]
         java.lang.Thread.State: RUNNABLE


        Top of Stack: (sp=0x0000000049f9d818)
      0x0000000049f9d818: 00002aaabd9c0443 0000000049f9d858
      0x0000000049f9d828: 0000000049f9d87c 00002aaabdfb3888
      0x0000000049f9d838: 00002adebe598860 00002aaabdfaefa0
      0x0000000049f9d848: 00002adebe021c00 00002aaabdfaf420
      0x0000000049f9d858: 00002aaab82551c8 00002aaab8255000
      0x0000000049f9d868: 00002aaabd9e2cd4 0000000049f9d8a8
      0x0000000049f9d878: 0000000043c10250 00000006f26f8c40
      0x0000000049f9d888: 0000000049f9d908 0000000000000000
      0x0000000049f9d898: 00000006f26f8c40 0000000049f9d930
      0x0000000049f9d8a8: 00002aaaab55da26 0000000049f9d8b0
      0x0000000049f9d8b8: 00000006f272bf2a 0000000049f9d930
      0x0000000049f9d8c8: 0000000049f9d8c8 0000000000000000
      0x0000000049f9d8d8: 0000000049f9d930 00000006f270ede0
      0x0000000049f9d8e8: 0000000000000000 00000006f26f8c40
      0x0000000049f9d8f8: 0000000000000000 0000000049f9d928
      0x0000000049f9d908: 0000000049f9d988 00002aaaab551a82
      0x0000000049f9d918: 00000006f26fe730 00002aaaab55a8d8
      0x0000000049f9d928: 00002aaabdfaefa0 0000000701ccb5a0
      0x0000000049f9d938: 00002aaaab68155c 000000070a65c958
      0x0000000049f9d948: 0000000049f9d938 00000006f2dabb8b
      0x0000000049f9d958: 0000000049f9d998 00000006f2dabf18
      0x0000000049f9d968: 0000000000000000 00000006f2dabba8
      0x0000000049f9d978: 0000000049f9d928 0000000049f9d9a0
      0x0000000049f9d988: 0000000701ccb610 00002aaaabd48cec
      0x0000000049f9d998: 000000070a65c958 e032cdd7e03996c2
      0x0000000049f9d9a8: 0000000701966eb8 0000000000000007
      0x0000000049f9d9b8: 00000006f0ec8050 0000000000000003
      0x0000000049f9d9c8: 00002aaaab551f5c 0000000049f9da28
      0x0000000049f9d9d8: 00002aaaab551f5c 0000000000000000
      0x0000000049f9d9e8: 0000000049f9d9e8 00000006f00446d3
      0x0000000049f9d9f8: 0000000049f9da38 00000006f00aabe8
      0x0000000049f9da08: 0000000000000000 00000006f00446e0

      Instructions: (pc=0x00002adebd8c8ff0)
      0x00002adebd8c8fe0: c0 f0 09 c7 66 89 7c 24 fe d9 6c 24 fe c3 90 90
      0x00002adebd8c8ff0: 48 89 1f 48 89 e8 64 48 33 04 25 30 00 00 00 48

      Stack: [0x0000000049e9e000,0x0000000049f9f000], sp=0x0000000049f9d818, free space=1022k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libc.so.6+0x2fff0] __sigsetjmp+0x0

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.font.FileFont.freeScaler(J)V+0
      j sun.font.FileFont$FileFontDisposer.dispose()V+11
      J sun.java2d.Disposer.run()V
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
        0x00002aaabe26d000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=582, stack(0x0000000051716000,0x0000000051817000)]
        0x00002aaab55ae000 JavaThread "http-8080-Processor9699" daemon [_thread_blocked, id=29319, stack(0x0000000041848000,0x0000000041949000)]
        0x00002aaab43bb800 JavaThread "http-8080-Processor9696" daemon [_thread_blocked, id=29316, stack(0x0000000056160000,0x0000000056261000)]
        0x00002aaab43bb000 JavaThread "http-8080-Processor9695" daemon [_thread_blocked, id=29315, stack(0x0000000051110000,0x0000000051211000)]
        0x00002aaab6c79800 JavaThread "http-8080-Processor9694" daemon [_thread_blocked, id=29314, stack(0x0000000040710000,0x0000000040811000)]
        0x00002aaab65b0000 JavaThread "http-8080-Processor9693" daemon [_thread_blocked, id=29313, stack(0x0000000050504000,0x0000000050605000)]
        0x00002aaab49fc000 JavaThread "http-8080-Processor9692" daemon [_thread_blocked, id=29312, stack(0x0000000057372000,0x0000000057473000)]
        0x00002aaab59f4800 JavaThread "http-8080-Processor9691" daemon [_thread_blocked, id=29311, stack(0x00000000426b3000,0x00000000427b4000)]
        0x00002aaab65ab000 JavaThread "http-8080-Processor9690" daemon [_thread_blocked, id=29310, stack(0x0000000059291000,0x0000000059392000)]
        0x00002aaab5df5800 JavaThread "http-8080-Processor9689" daemon [_thread_blocked, id=29309, stack(0x0000000053534000,0x0000000053635000)]
        0x00002aaab65d8800 JavaThread "http-8080-Processor9688" daemon [_thread_blocked, id=29308, stack(0x000000005706f000,0x0000000057170000)]
        0x00002aaab7704000 JavaThread "http-8080-Processor9687" daemon [_thread_blocked, id=29307, stack(0x000000004e5e5000,0x000000004e6e6000)]
        0x00002aaab687e000 JavaThread "http-8080-Processor9686" daemon [_thread_blocked, id=29306, stack(0x0000000044b4b000,0x0000000044c4c000)]
        0x00002aaab602e000 JavaThread "http-8080-Processor9685" daemon [_thread_blocked, id=29305, stack(0x0000000056e6d000,0x0000000056f6e000)]
        0x00002aaab47e9800 JavaThread "http-8080-Processor9684" daemon [_thread_blocked, id=29304, stack(0x0000000051d1c000,0x0000000051e1d000)]
        0x00002aaab65d5800 JavaThread "http-8080-Processor9683" daemon [_thread_blocked, id=29303, stack(0x0000000051b1a000,0x0000000051c1b000)]
        0x00002aaab70f2000 JavaThread "http-8080-Processor9682" daemon [_thread_blocked, id=29302, stack(0x0000000053938000,0x0000000053a39000)]
        0x00002aaab77d1000 JavaThread "http-8080-Processor9681" daemon [_thread_blocked, id=29301, stack(0x0000000053b3a000,0x0000000053c3b000)]
        0x00002aaab49f7000 JavaThread "http-8080-Processor9680" daemon [_thread_blocked, id=29300, stack(0x0000000053e3d000,0x0000000053f3e000)]
        0x00002aaab69d3000 JavaThread "http-8080-Processor9679" daemon [_thread_blocked, id=29299, stack(0x0000000050605000,0x0000000050706000)]
        0x00002aaab7715000 JavaThread "http-8080-Processor9678" daemon [_thread_blocked, id=29298, stack(0x0000000057776000,0x0000000057877000)]
        0x00002aaab5e07800 JavaThread "http-8080-Processor9677" daemon [_thread_blocked, id=29297, stack(0x0000000044747000,0x0000000044848000)]
        0x00002aaab6c47000 JavaThread "http-8080-Processor9676" daemon [_thread_blocked, id=29296, stack(0x0000000044c4c000,0x0000000044d4d000)]
        0x00002aaab57f3000 JavaThread "http-8080-Processor9675" daemon [_thread_blocked, id=29295, stack(0x0000000057877000,0x0000000057978000)]
        0x0000000043920000 JavaThread "http-8080-Processor9673" daemon [_thread_blocked, id=25355, stack(0x000000004ffff000,0x0000000050100000)]
        0x00002aaabee0c800 JavaThread "http-8080-Processor9672" daemon [_thread_blocked, id=25354, stack(0x0000000056b6a000,0x0000000056c6b000)]
        0x0000000043b8c000 JavaThread "http-8080-Processor9668" daemon [_thread_blocked, id=25350, stack(0x0000000052827000,0x0000000052928000)]
        0x00002aaabf435800 JavaThread "http-8080-Processor9666" daemon [_thread_blocked, id=25348, stack(0x000000005c4c3000,0x000000005c5c4000)]
        0x00002aaac9e24800 JavaThread "http-8080-Processor9663" daemon [_thread_blocked, id=25345, stack(0x0000000051615000,0x0000000051716000)]
        0x000000004334e800 JavaThread "http-8080-Processor9662" daemon [_thread_blocked, id=25344, stack(0x0000000053231000,0x0000000053332000)]
        0x00002aaabfa42000 JavaThread "http-8080-Processor9661" daemon [_thread_blocked, id=25343, stack(0x0000000053332000,0x0000000053433000)]
        0x00002aaabea2f000 JavaThread "http-8080-Processor9660" daemon [_thread_blocked, id=25342, stack(0x0000000055958000,0x0000000055a59000)]
        0x00002aaac88fb000 JavaThread "http-8080-Processor9657" daemon [_thread_blocked, id=25339, stack(0x0000000052d2c000,0x0000000052e2d000)]
        0x00002aaabdcae000 JavaThread "http-8080-Processor9655" daemon [_thread_blocked, id=25337, stack(0x0000000052a29000,0x0000000052b2a000)]
        0x00002aaabf64b000 JavaThread "http-8080-Processor9654" daemon [_thread_blocked, id=25336, stack(0x0000000056a69000,0x0000000056b6a000)]
        0x00002aaabf71c800 JavaThread "http-8080-Processor9651" daemon [_thread_blocked, id=25333, stack(0x000000005201f000,0x0000000052120000)]
        0x00002aaabfb91000 JavaThread "http-8080-Processor9650" daemon [_thread_blocked, id=25332, stack(0x0000000051817000,0x0000000051918000)]
        0x00002aaabe2a2800 JavaThread "http-8080-Processor9643" daemon [_thread_blocked, id=24785, stack(0x0000000052524000,0x0000000052625000)]
        0x00002aaabea03800 JavaThread "http-8080-Processor9642" daemon [_thread_blocked, id=24784, stack(0x0000000050302000,0x0000000050403000)]
        0x000000004354c000 JavaThread "http-8080-Processor9641" daemon [_thread_blocked, id=24783, stack(0x0000000041e15000,0x0000000041f16000)]
        0x00002aaac9df4000 JavaThread "http-8080-Processor9640" daemon [_thread_blocked, id=24782, stack(0x0000000053736000,0x0000000053837000)]
        0x00002aaabf557000 JavaThread "http-8080-Processor9639" daemon [_thread_blocked, id=24781, stack(0x0000000054a49000,0x0000000054b4a000)]
        0x00002aaabfa65800 JavaThread "http-8080-Processor9637" daemon [_thread_blocked, id=24779, stack(0x0000000054645000,0x0000000054746000)]
        0x00002aaabe0ca000 JavaThread "http-8080-Processor9636" daemon [_thread_blocked, id=24778, stack(0x0000000056968000,0x0000000056a69000)]
        0x00002aaabe8d0800 JavaThread "http-8080-Processor9634" daemon [_thread_blocked, id=24776, stack(0x0000000053a39000,0x0000000053b3a000)]
        0x00002aaabe0ed000 JavaThread "http-8080-Processor9633" daemon [_thread_blocked, id=24775, stack(0x0000000058180000,0x0000000058281000)]
        0x0000000042f2c800 JavaThread "http-8080-Processor9631" daemon [_thread_blocked, id=24773, stack(0x0000000050403000,0x0000000050504000)]
        0x00002aaabf1fb000 JavaThread "http-8080-Processor9630" daemon [_thread_blocked, id=24772, stack(0x000000005bdbc000,0x000000005bebd000)]
        0x0000000043b95000 JavaThread "http-8080-Processor9629" daemon [_thread_blocked, id=24771, stack(0x0000000044545000,0x0000000044646000)]
        0x00002aaabaa56800 JavaThread "http-8080-Processor9618" daemon [_thread_blocked, id=24372, stack(0x0000000044949000,0x0000000044a4a000)]
        0x00002aaab92af000 JavaThread "http-8080-Processor9616" daemon [_thread_blocked, id=24370, stack(0x0000000052b2a000,0x0000000052c2b000)]
        0x00002aaab9c8e800 JavaThread "http-8080-Processor9615" daemon [_thread_blocked, id=24369, stack(0x0000000055251000,0x0000000055352000)]
        0x00002aaaba5ed000 JavaThread "http-8080-Processor9614" daemon [_thread_blocked, id=24368, stack(0x0000000053c3b000,0x0000000053d3c000)]
        0x00002aaab9c26000 JavaThread "http-8080-Processor9611" daemon [_thread_blocked, id=24365, stack(0x0000000051413000,0x0000000051514000)]
        0x00002aaaba8df000 JavaThread "http-8080-Processor9608" daemon [_thread_blocked, id=24362, stack(0x0000000044848000,0x0000000044949000)]
        0x00002aaabdef7000 JavaThread "http-8080-Processor9603" daemon [_thread_blocked, id=24357, stack(0x0000000057271000,0x0000000057372000)]
        0x00002aaabe80d800 JavaThread "http-8080-Processor9602" daemon [_thread_blocked, id=24356, stack(0x0000000053f3e000,0x000000005403f000)]
        0x00002aaabe77c800 JavaThread "http-8080-Processor9601" daemon [_thread_blocked, id=24355, stack(0x000000004fcfc000,0x000000004fdfd000)]
        0x00002aaac88d5800 JavaThread "http-8080-Processor9600" daemon [_thread_blocked, id=24354, stack(0x0000000045151000,0x0000000045252000)]
        0x00002aaaba4d1800 JavaThread "http-8080-Processor9599" daemon [_thread_blocked, id=23345, stack(0x0000000055655000,0x0000000055756000)]
        0x00002aaababb7800 JavaThread "http-8080-Processor9597" daemon [_thread_blocked, id=23343, stack(0x0000000052726000,0x0000000052827000)]
        0x0000


      ( This report has more than 16,000 characters and has been truncated. )

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: