VMError::report should handle out-of-stackbounds errors gracefully

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot
    • None

      We print the stack bounds, the stack pointer, and the free space left on stack. The latter we calculate using `pointer_delta`. That function asserts for negative deltas.

      If the stack pointer is out of bounds in the wrong direction, we get an assert, which causes "Error occurred during error reporting", an additional activation frame that eats stack space, and miss out on information.

            Assignee:
            Thomas Stuefe
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: