SunSoft JIT can crash if malloc fails

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.1.2
    • Affects Version/s: 1.1
    • Component/s: vm-legacy
    • None
    • jit
    • b01
    • generic
    • solaris_2.5.1
    • Not verified

      In JITDynamicallyCompileMethod, the setjmp() to initialize jit.abort_env is
      done fairly late. There are calls before this that can call JITFail(),
      which results in a longjmp() to a bad address. A particular example that
      crashes JavaOS is when jitMheapInit() calls jitImalloc(), which calls
      JITFail() if j_sysMalloc() fails.

      dean.long@Eng 1997-06-06

            Assignee:
            David Cox (Inactive)
            Reporter:
            Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: