Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: bug-process-dummy
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: All

    • Issuezilla Id:
      8

      Description

      Phone ME advanced VM is getting signal 11. It may take a while to reproduce but
      both MR1 and MR2 (phoneme_advanced-mr2-dev-b05) would eventually get signal 11
      running Volano benchmark.

      Test details: Volano loop benchmark (v. 2.5.0.9 www.volano.com/benchmarks.html).
      Client and server parts of the test are run on the same machine in different
      VMs, heap size was 24 MB for both VMs, JIT was enabled. When client side
      displays benchmark results and terminates it is automatically restarted by the
      script. Server side of the benchmark is running continuously and it is not
      restarted. Eventually either client or server side will get suspended with
      signal 11, sometimes it was running for about a day and a half before getting
      signal 11. Once CVM got suspended with signal 10 (SIGBUS on my platform).

      Using debug builds I traced the problem to garbage collection code, see
      back-trace snippets for MR1 and MR2 below. There is more on that in Phone ME
      forum thread: http://forums.java.net/jive/thread.jspa?messageID=199611.

      OS and hardware: Monta Vista Linux 3.1 running on AMD 1550 (MIPS 32), 128 MB
      RAM. I'm not sure how much that matters if the problem is related to garbage
      collection. Let me know if sending this box to your lab or giving remote access
      to it will be of any help: borisd_at_xanboo_dot_com

      Thank you.

      ----- MR1 -----
      #7 <signal handler called>
      No symbol table info available.
      #8 0x0044f8e4 in CVMgenSemispaceForwardOrPromoteObject (thisGen=0x10138de0,
      ref=0x2af70380, classWord=0)
      at ../../src/share/javavm/runtime/gc/generational/gen_semispace.c:541
      objCb = (CVMClassBlock *) 0x0
      objSize = 1438642656
      copyTop = (CVMUint32 *) 0x1011f740
      ret = (CVMObject *) 0x2af70380
      copyIntoToSpace = 269208768
      #9 0x0044ffcc in CVMgenSemispaceGrayObject (thisGen=0x10138de0,
      refPtr=0x2c1ae378, ref=0x2af70380)
      at ../../src/share/javavm/runtime/gc/generational/gen_semispace.c:648
      classWord = 0
      #10 0x004501e4 in CVMgenSemispaceFilteredGrayObject (thisGen=0x10138de0,
      refPtr=0x2c1ae378, ref=0x2af70380)
      at ../../src/share/javavm/runtime/gc/generational/gen_semispace.c:670
      — snip —

      — MR2 b05 —
      #7 <signal handler called>
      No symbol table info available.
      #8 0x0048f0c8 in scanAndSummarizeObjectsOnCard (ee=0x2ccd47f0,
      gcOpts=0x563ff4a0, objStart=0x2c25db8c, summEntry=0x2c7b1db8,
      regionStart=0x2c25dc00, regionEnd=0x2c25de00, oldGenLower=0x2b070000,
      callback=0x4517e8 <CVMgenSemispaceScanDepthFirstTransitively>,
      callbackData=0x563ff458) at
      ../../src/share/javavm/runtime/gc/generational/gc_impl.c:325
      currObj = (CVMObject *) 0x2c25dc9c
      currCb = (CVMClassBlock *) 0x0
      objSize = 32
      scanStatus = 0
      numRefs = 0
      curr = (CVMJavaVal32 *) 0x2c25dc9c
      top = (CVMJavaVal32 *) 0x2c25de00
      cardBoundary = (CVMJavaVal32 *) 0x2c25dc00
      youngGen = (CVMGeneration *) 0x10122ce8
      youngGenStart = (CVMJavaVal32 *) 0x2ae70000
      youngGenEnd = (CVMJavaVal32 *) 0x2b070000
      #9 0x0049047c in callbackIfNeeded (ee=0x2ccd47f0, gcOpts=0x563ff4a0,
      card=0x2c779f6e "\001", lowerLimit=0x2c25dc00, higherLimit=0x2c25de00,
      genLower=0x2b070000, genHigher=0x2c268834, callback=0x4517e8
      <CVMgenSemispaceScanDepthFirstTransitively>, callbackData=0x563ff458)
      at ../../src/share/javavm/runtime/gc/generational/gc_impl.c:562
      objStart = (CVMJavaVal32 *) 0x2c25db8c
      summEntry = (CVMGenSummaryTableEntry *) 0x2c7b1db8
      — snip —

        Activity

        Hide
        dainson added a comment -

        Created an attachment (id=1)
        java.sql package pathced to run under CVM for Volano benchmark

        Show
        dainson added a comment - Created an attachment (id=1) java.sql package pathced to run under CVM for Volano benchmark
        Hide
        dainson added a comment -

        Created an attachment (id=2)
        java.beans package for Volano benchmark

        Show
        dainson added a comment - Created an attachment (id=2) java.beans package for Volano benchmark
        Hide
        dainson added a comment -

        Volano is using several classes from java.beans and java.sql packages. Since CVM
        will not execute deprecated methods used in these packages, you may have to fix
        them. Attached java_sql_for_volano.jar and java_beans.jar will allow to run
        benchmarks properly when they are added to the lib directory of Volano.

        Show
        dainson added a comment - Volano is using several classes from java.beans and java.sql packages. Since CVM will not execute deprecated methods used in these packages, you may have to fix them. Attached java_sql_for_volano.jar and java_beans.jar will allow to run benchmarks properly when they are added to the lib directory of Volano.
        Hide
        dainson added a comment -

        I meant attached jars are added to bootclasspath, it will look like like
        options="-Xmx24m
        -Xbootclasspath/a:.../lib/java_beans.jar:.../lib/java_sql_for_volano.jar"

        Show
        dainson added a comment - I meant attached jars are added to bootclasspath, it will look like like options="-Xmx24m -Xbootclasspath/a:.../lib/java_beans.jar:.../lib/java_sql_for_volano.jar"
        Hide
        dainson added a comment -

        I meant attached jars are added to bootclasspath, it will look like like
        options="-Xmx24m
        -Xbootclasspath/a:.../lib/java_beans.jar:.../lib/java_sql_for_volano.jar"

        Show
        dainson added a comment - I meant attached jars are added to bootclasspath, it will look like like options="-Xmx24m -Xbootclasspath/a:.../lib/java_beans.jar:.../lib/java_sql_for_volano.jar"

          People

          • Assignee:
            fsuliman
            Reporter:
            dainson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: