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

javac crashes on Solaris x86 when compiling JavaOS

XMLWordPrintable

    • x86
    • solaris_2.5

      This only occurs running javac on solaris x86. This particular step requires a lot of
      Virtual memory, but the machine has it and does not appear to be running out.

      While trying to build JavaOS, the compiler crashes with the following message and
      thread dump (core dump follows)

      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_ACCERR [addr: 0x805cb72]

      stackbase=803C8CC, stackpointer=803C718

      Full thread dump:
          "Finalizer thread" (TID:0x8015b3b0, sys_thread_t:0x822e4d88) prio=1
          "Async Garbage Collector" (TID:0x8015b368, sys_thread_t:0x822c2d88) prio=1
          "Idle thread" (TID:0x8015b320, sys_thread_t:0x822a0d88) prio=0
          "clock handler" (TID:0x8015b1f8, sys_thread_t:0x8227ed88) prio=11
          "main" (TID:0x8015b0a0, sys_thread_t:0x80984e0) prio=5 *current thread*
      java.util.Hashtable.<init>(Hashtable.java)
      java.util.Hashtable.<init>(Hashtable.java)
      sun.tools.javac.SourceField.check(SourceField.java:208)
      sun.tools.javac.SourceClass.check(SourceClass.java:431)
      sun.tools.javac.SourceClass.compileClass(SourceClass.java:540)
      sun.tools.javac.SourceClass.compile(SourceClass.java:527)
      sun.tools.javac.Main.compile(Main.java:193)
      sun.tools.javac.Main.main(Main.java:289)
      Monitor Cache Dump:
          sun.tools.javac.Main@8015FE70/807DCE80 (key=0x8015fe70): monitor owner: "main"
      Registered Monitor Dump:
          Finalize me queue lock: monitor owner: "main"
          Thread queue lock: monitor owner: "main"
          Class lock: unowned
          Java stack lock: unowned
          Code rewrite lock: unowned
          Heap lock: monitor owner: "main"
          Has finalization queue lock: monitor owner: "main"
          Monitor IO lock: unowned
          Child death monitor: unowned
          Event monitor: unowned
          I/O monitor: unowned
          Alarm monitor: unowned
      Waiting to be notified:
      "clock handler"
          Sbrk lock: unowned
          Monitor cache lock: unowned
          Monitor registry: monitor owner: "main"
      Thread Alarm Q:
      Abort - core dumped
      make[2]: *** [.compile.classlist] Error 134
      make[2]: Leaving directory `/wrk/WS_kona.1.1/build/kona/java/java'
      make[1]: *** [all] Error 1
      make[1]: Leaving directory `/wrk/WS_kona.1.1/build/kona/java'


      The core dump is as follows:

      =>[1] 0x801229fc(0x8069e26, 0x608069e), at 0x801229fb
        [2] abort(), at 0x800f3871
        [3] sysAbort(0xb, 0x18000000), at 0x8069151
        [4] signalHandlerPanic(), at 0x8069e26
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [5] markChildren(), at 0x805cb72
        [6] markChildren(), at 0x805cc23
        [7] markChildren(), at 0x805cc23
        [8] markChildren(), at 0x805cc23
        [9] markChildren(), at 0x805cc23
        [10] markChildren(), at 0x805cc23
        [11] markChildren(), at 0x805cc23
        [12] markChildren(), at 0x805cc23
        [13] markChildren(), at 0x805cc23
        [14] markChildren(), at 0x805cd12
        [15] scanHandles(), at 0x805d566
        [16] gc0_locked(), at 0x805df8f
        [17] gc_locked(), at 0x8069162
        [18] gc0(), at 0x805e0da
        [19] manageAllocFailure(), at 0x805c8ed
        [20] realObjAlloc(), at 0x805bf5a
        [21] ArrayAlloc(), at 0x805c1fd
        [22] ExecuteJava(), at 0x8062067
        [23] do_execute_java_method_vararg(), at 0x805f118
        [24] do_execute_java_method(), at 0x805ed06
        [25] start_java(), at 0x8063bf4

            tlindholsunw Timothy Lindholm (Inactive)
            tonywyant Tony Wyant (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: